Henrik Nordstrom wrote:
mån 2009-09-21 klockan 23:10 +0700 skrev เทพประทีปคร้าบบบ:
Hi, all
i installed squid 2.7 on ubuntu server 9.04, with aptitude command. after
configuring the configuration file
and trying to start it. squid could use to be cache for half an hour after
that it pause about 10 minutes, so no one could browse
the internet after 10 minutes squid can work again but after half an hour
period it happened again
i checked all logs (syslog, squid's log and dmesg) no error about that
situation
i also checked the process there are squid's processes
Next time it pauses please do the following:
1. Run "/usr/sbin/squid -k debug" to enable full debugging, and monitor
cache.log for any info on what it's doing.
2. If the above does not produce any info then you need to peek into the
process using gdb. Not sure how to properly do that with Ubuntu packages
however as you need the debug info installed (won't work on stripped
binaries).
Which means you need the squid3-dbg package installed to trace with gdb.
This is only available in the latest Karmic Ubuntu release.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
Current Beta Squid 3.1.0.13