----- Original Message -----
From: "Ako Ito" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 02, 2003 10:27 AM
Subject: [plug] squid problem


> ] comm_accept: FD 7: (130) Software caused connection abort
> ] httpAccept: FD 7: accept failure: (130) Software caused connection abort

the above lines mean that a web client aborted a connection during a
three-way tcp handshake... usually the client's tcp/ip stack sends RST
packet to abort the connection...

> ] Killing RunCache, pid 24712
> ] Preparing for shutdown after 331771 requests
> ] Waiting 30 seconds for active connections to finish
> ] FD 7 Closing HTTP connection

as i read the code of squid version 2.5, there are three ways to do a
*graceful* shutdown for squid as what the lines above tell us and these are:

1. receiving a SIGINT (kill -2) signal
2. receviing a SIGTERM (kill -15) signal
3. cachemgr.cgi shutdown command

regarding to your problem... i cant link between the connection abort to a
graceful shutdown... normally, aborting or sending RST packets to a squid
proxy server will not trigger SIGINT nor SIGTERM nor cachemgr.cgi shutdown
command...

im suspecting a remote buffer overflow which insert a code to trigger number
1 or 2... but this is just only a suspect...

sorry i cant give you an exact solution because this is a weird problem...
what you should do is to observe your proxy server.. run a packet analyzer
like tcpdump and observe the packets during the trigger of "Software caused
connection abort" if you understand how tcp/ip works...

temporarily try not to configure --enable--kill-parent-hack and let RunCache
launch the squid daemon and let us know the result afterwards...

fooler.



--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to