Re: Fwd: [squid-users] After shutdown squid, navigation still works

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 31 Aug 2009 21:26:10 +1200

Anderson dos Santos Donda wrote:
> In my test, even after 10 minutes the squid still works...
>
> This directive is in seconds or miliseconds? I don't have this on my squid.conf
>

Seconds. The default is 30 seconds.

If it's an urgent shutdown, call "squid k shutdown" twice a second or
two apart. That will force an immediate close.

If that still fails you probably have a PID problem, see the FAQ on how
to diagnose and solve them:
 
http://wiki.squid-cache.org/SquidFaq/TroubleShooting?highlight=(PID)#head-fa2a8d93db2ab1c414c4d0e71106ce871d2087e1

As for the "WARNING: transparent proxying not supported" this means you
are attempting to perform NAT interception (AKA 'transparent' proxying)
with a Squid where NAT support is not built-in.

See the package supplier if you use a packages version. Or the
./configure --help options for the _one_! which enables transparent
interception with your OS and firewall combination and rebuild Squid.

Amos

>
> On Fri, Aug 28, 2009 at 9:09 AM, Jeff Pang<pangj_at_arcor.de> wrote:
>> 2009/8/28 Anderson dos Santos Donda <andersondonda_at_gmail.com>:
>>> My squid works fine, all acls works too..
>>>
>>> but when I shutdown the squid ( sbin/squid -k shutdown )
>>>
>>> The navigation still working on clients,
>> how long time does it continue to work for?
>> If you shutdown squid and in the short time the connected session
>> still works, then it is most probably correct.
>> b/c squid needs time to wait for the current connections to be
>> finished before it exits finally.
>>
>> see "shutdown_lifetime" directive in squid.conf.
>>
>> HTH.
>>

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Mon Aug 31 2009 - 09:26:18 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 31 2009 - 12:00:03 MDT