Hi: We have a machine running 6.2-R-p10 and squid 2.6.17, and upgrade it to 6.3R yesterday, but squid will hang and eat 100% cpu time after restart about 1 hour later, machine still alive, and no response from squid. downgrade to 6.2-R-p10, everything ok again.. here is some infomations: machine type: FreeBSD 6.3-RELEASE #0: Wed Jan 23 01:58:39 CST 2008 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU) real memory = 3221159936 (3071 MB) top: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 8674 squid 1 121 0 105M 100M CPU3 1 0:26 98.54% squid truss: (no response) _xx@xxxx_[root]:~#truss -p 8674 gdb: (gdb) bt #0 0x881679eb in pthread_sigmask () from /lib/libpthread.so.2 #1 0x8816799c in sigprocmask () from /lib/libpthread.so.2 #2 0x88172544 in pthread_mutexattr_init () from /lib/libpthread.so.2 #3 0x88164680 in fork () from /lib/libpthread.so.2 #4 0x08091091 in ?? () #5 0x00000012 in ?? () #6 0x00000004 in ?? () #7 0x080e6edb in ?? () #8 0xbfbfe4a4 in ?? () #9 0x00000004 in ?? () #10 0x00000000 in ?? () netstat -h 8: 118K 0 37M 204K 0 262M 0 121K 0 37M 204K 0 255M 0 124K 0 30M 204K 0 248M 0 116K 0 36M 201K 0 257M 0 117K 0 40M 202K 0 260M 0 120K 0 45M 205K 0 261M 0 120K 0 49M 201K 0 253M 0 106K 0 41M 178K 0 224M 0 6.8K 0 3.1M 7.4K 0 5.7M 0 5.5K 0 3.2M 5.9K 0 3.5M 0 3.4K 0 1.6M 3.5K 0 1.6M 0 4.3K 0 2.5M 4.8K 0 2.5M 0 3.8K 0 2.2M 4.3K 0 2.2M 0 3.5K 0 1.7M 3.8K 0 1.9M 0 2.4K 0 857K 2.5K 0 948K 0 2.2K 0 593K 2.2K 0 586K 0 we try to use libmap.conf to make squid use libthr, but still hang... -- thanks.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vanilla Hsu wrote:> Hi: > > We have a machine running 6.2-R-p10 and squid 2.6.17, > and upgrade it to 6.3R yesterday, > > but squid will hang and eat 100% cpu time after restart about 1 hour later, > > machine still alive, and no response from squid. > > downgrade to 6.2-R-p10, everything ok again..Just wanted to narrow down the problem, is it possible for you to try if it's within the kernel (say, use 6.2 userland and squid binary under 6.3 kernel)? Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHl5a9i+vbBBjt66ARArAZAKCiM35r8fGFCXFa2mbbUDHOCUpvywCgst+X pBdyNQ5ir4LhtYdyUPc80uk=7kgd -----END PGP SIGNATURE-----