Search squid archive

Re: trying to debug 3.2.0.16 behavier with workers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/03/2012 04:50, Amos Jeffries wrote:
On 20.03.2012 15:34, Eliezer Croitoru wrote:
i have a small Gentoo X86_64 with kernel 3.2.1 with squid 3.2.0.16
that is crashing after a while when using workers.

i'm trying to debug it but have no clue on what debug flags to use in
order to get some data on it.
i have the cache logs stored so i can extract some basic data but i
dont know what to look for.

If you can get it to produce core dumps that is easiest. The usual gdb
analysis of the core gives trace and state details.

Otherwise you have to attach gdb to the running worker by PID number.
Workers log their PID to cache.log during the startup sequence, or you
can pick one from the system process listing (ps).

For that matter what is the cache.log entries produced by the worker/kid
as it died?


i am getting every couple minutes something like that:
2012/03/18 15:29:59 kid2| Failed to select source for
'http://www.crunchyroll.com/favicon.ico'

what the meaning of the statement? (not with this particular address).

It means Squid is not able to identify any cache_peer entries or DNS
A/AAAA records which can be used to fetch that URL.

Amos

this is the day 3 that i'm running squid with 4 workers and nothing is wrong until now.
i suppose it's a dns issue that was causing the problem.
if i will find more info i will update.

Thanks,
Eliezer

--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
elilezer <at> ngtech.co.il


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux