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