On Fri, Sep 18, 2009 at 7:52 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote: > Avinash Rao wrote: >> >> >> On Wed, Sep 16, 2009 at 7:04 PM, Henrik Nordstrom >> <henrik@xxxxxxxxxxxxxxxxxxx <mailto:henrik@xxxxxxxxxxxxxxxxxxx>> wrote: >> >> ons 2009-09-16 klockan 18:02 +0530 skrev Avinash Rao: >> > 3) how do i use truss, not found on my machine >> >> What OS are you running on the server? If Linux then use strace >> instead. >> >> > 4) root@sunbox:~# gdb /usr/sbin/squid 21557 >> > This GDB was configured as "x86_64-linux-gnu"... >> > (no debugging symbols found) >> >> Sorry, to use GDB your squid binary needs to be built with debug >> information and not stripped. >> >> > (no debugging symbols found) >> > 0x00007ff17d4ad315 in waitpid () from /lib/libpthread.so.0 >> >> Hmm.. which of the Squid processes did you attach to? >> >> Regards >> Henrik >> >> >> Hi, >> >> 1) I am using Ubuntu 8.04 Server 64-bit OS on a sun fire x4150 server with >> 8GB RAM + RAID 5 >> 2) I attached /usr/sbin/squid -D -sYC process in gdb >> 3) I will use strace when squid stops responding today. >> >> Thanks >> Avinash >> > > I think you want to trace the one labeled (squid) instead. Its the actual > request handling process. > > Amos > -- > Please be using > Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19 > Current Beta Squid 3.1.0.13 > My sincere apologies for the late reply. Squid stops responding everyday. I had enabled debug_options ALL,9 and the cache.log file is huge.. which part of it do you want? strace gives the following output.. it just waits and theres no response. #strace -vp 4918 Process 4918 attached - interrupt to quit wait4(-1, Thanks Avinash