Re: [squid-users] trying to debug 3.2.0.16 behavier with workers.

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 20 Mar 2012 05:09:40 +0200

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.
weird cause the site is working but i had some problems with bind for
the last week.

i will try to get a core dump using:
./squid -NCd1

the server is a forward with no interception in a way so i should get
the info from the core dump.
i increased the workers to 4 as the number of cpus in the system.

Thanks,
Eliezer

>
> Amos
>

-- 
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
elilezer <at> ngtech.co.il
Received on Tue Mar 20 2012 - 03:09:46 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 20 2012 - 12:00:04 MDT