Re: [squid-users] Squid stops responding-LTSP and WinXP clients

From: Avinash Rao <avinash.aol_at_gmail.com>
Date: Wed, 16 Sep 2009 18:02:37 +0530

On Wed, Sep 16, 2009 at 5:27 PM, Henrik Nordstrom
<henrik_at_henriknordstrom.net> wrote:
> ons 2009-09-16 klockan 13:49 +0530 skrev Avinash Rao:
>
>> The cache.log is not populated:
>
> Odd.. but seems your Squid is getting lost somewhere in the log
> rotation.
>
>
> Some things to try to collect more details.
>
> 1. try if "squid -k debug" gives you some debug output, but probably not
> if cache.log is not being populated..
>
> 2. truss the Squid process when hung.
>
> 3. attach to the process using gdb
>
>    gdb /path/to/sbin/squid pidofsquid
>
>    backtrace
>
> Regards
> Henrik
>
>

Henrik,

1) The cache.log stopped working after i configured cache_dir null
/tmp and disabled cache_mem

2) squid -k debug doesn't return anything. I did this when squid
stopped responding.

3) how do i use truss, not found on my machine

4) root_at_sunbox:~# gdb /usr/sbin/squid 21557
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
Attaching to program: /usr/sbin/squid, process 21557
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7ff17dd026e0 (LWP 21557)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libnsl.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2

(no debugging symbols found)
0x00007ff17d4ad315 in waitpid () from /lib/libpthread.so.0

(dgb) backtrace

(gdb) backtrace
#0 0x00007ff17d4ad315 in waitpid () from /lib/libpthread.so.0
#1 0x0000000000451a79 in ?? ()
#2 0x0000000000452ee6 in ?? ()
#3 0x00007ff17ccc11c4 in __libc_start_main () from /lib/libc.so.6
#4 0x0000000000403f59 in ?? ()
#5 0x00007fff85d1a518 in ?? ()
#6 0x0000000000000000 in ?? ()

Thanks
Received on Wed Sep 16 2009 - 12:32:45 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 12:00:03 MDT