Re: [squid-users] Squid auto restart?

2008-06-12 Thread howard chen
Hi,

On Thu, Jun 12, 2008 at 12:26 PM, howard chen [EMAIL PROTECTED] wrote:

 On Thu, Jun 12, 2008 at 11:05 AM, Amos Jeffries [EMAIL PROTECTED] wrote:
 Are you able to do two things:
  - repeat this bug with a current daily snapshot?


Just tried 6.12 and still suffer the same problem.

Howard


Re: [squid-users] Squid auto restart?

2008-06-12 Thread Henrik Nordstrom
On tor, 2008-06-12 at 10:36 +0800, howard chen wrote:
 2008/06/12 08:40:52| TCP connection to 192.168.11.31/80 failed
 2008/06/12 08:40:52.006| WARNING: Closing client 201.114.23.131:3459
 connection due to lifetime timeout
 2008/06/12 08:40:52.006| assertion failed: comm.cc:339:
 !fd_table[fd].flags.closing

Please file a bug report on that.

It also helps a lot if you can get a strack trace of the error.

Regards
Henrik


signature.asc
Description: This is a digitally signed message part


[squid-users] Squid auto restart?

2008-06-11 Thread howard chen
Hi

Just play around squid for a few days, and seems the server
occasionally restarted automatically

E.g.

Squid Object Cache: Version 3.HEAD-20080530
Start Time: Wed, 11 Jun 2008 14:20:56 GMT
Current Time:   Wed, 11 Jun 2008 14:59:18 GMT


Definitively no body no body restart the server at 14:20:56 GMT

Or it is normal?

Thanks.


Re: [squid-users] Squid auto restart?

2008-06-11 Thread Henrik Nordstrom
On ons, 2008-06-11 at 23:02 +0800, howard chen wrote:
 Hi
 
 Just play around squid for a few days, and seems the server
 occasionally restarted automatically

Probably it hits some bug. What is said in cache.log?

 Squid Object Cache: Version 3.HEAD-20080530

That's a development version. Fine for testing, but for production
please use 3.0.STABLE..

Regards
Henrik


signature.asc
Description: This is a digitally signed message part


Re: [squid-users] Squid auto restart?

2008-06-11 Thread howard chen
Hi

On Thu, Jun 12, 2008 at 2:39 AM, Henrik Nordstrom
[EMAIL PROTECTED] wrote:
 On ons, 2008-06-11 at 23:02 +0800, howard chen wrote:
 Hi

 Just play around squid for a few days, and seems the server
 occasionally restarted automatically

 Probably it hits some bug. What is said in cache.log?


It said:

..
..
2008/06/12 08:40:25| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:39:38| Detected REVIVED Parent: 192.168.11.31
2008/06/12 08:40:25| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:25| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:31| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:31| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:33| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:33| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:35| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:35| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:35| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:36| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:48| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:48| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:48| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:49| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:49| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:49| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:52| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:52| TCP connection to 192.168.11.31/80 failed
2008/06/12 08:40:52.006| WARNING: Closing client 201.114.23.131:3459
connection due to lifetime timeout
2008/06/12 08:40:52.006| assertion failed: comm.cc:339:
!fd_table[fd].flags.closing
2008/06/12 08:40:55| Starting Squid Cache version 3.HEAD-20080530 for
x86_64-unknown-linux-gnu...
2008/06/12 08:40:55| Process ID 3007




Howard.


Re: [squid-users] Squid auto restart?

2008-06-11 Thread Amos Jeffries
 Hi

 On Thu, Jun 12, 2008 at 2:39 AM, Henrik Nordstrom
 [EMAIL PROTECTED] wrote:
 On ons, 2008-06-11 at 23:02 +0800, howard chen wrote:
 Hi

 Just play around squid for a few days, and seems the server
 occasionally restarted automatically

 Probably it hits some bug. What is said in cache.log?


 It said:

 ..
 ..
snip
 2008/06/12 08:40:52| TCP connection to 192.168.11.31/80 failed
 2008/06/12 08:40:52.006| WARNING: Closing client 201.114.23.131:3459
 connection due to lifetime timeout
 2008/06/12 08:40:52.006| assertion failed: comm.cc:339:
 !fd_table[fd].flags.closing
 2008/06/12 08:40:55| Starting Squid Cache version 3.HEAD-20080530 for
 x86_64-unknown-linux-gnu...
 2008/06/12 08:40:55| Process ID 3007


Looks a little bit like http://www.squid-cache.org/bugs/show_bug.cgi?id=2253
but is happening in a different piece of code.

Are you able to do two things:
 - repeat this bug with a current daily snapshot?
 - debug and produce a stack trace when those asserts happen?

Amos




Re: [squid-users] Squid auto restart?

2008-06-11 Thread howard chen
Hi

On Thu, Jun 12, 2008 at 11:05 AM, Amos Jeffries [EMAIL PROTECTED] wrote:
 Are you able to do two things:
  - repeat this bug with a current daily snapshot?
  - debug and produce a stack trace when those asserts happen?

 Amos



Is this bug (2253) patched? As I am already using Head (5.30).

Since I can't see the it in the change logs, i.e.
http://www.squid-cache.org/Versions/v3/HEAD/changesets/

So far this version is quite stable and running in a quite high
traffic env, but just sometimes
restart itself a few times per day (Hopefully restart but not dead...)


Anyway, I will try to upgrade and see.

Thanks.

Howard