Re: [squid-users] reading swap.state file

From: Hussam Al-Tayeb <hussam_at_visp.net.lb>
Date: Mon, 05 Aug 2013 16:47:25 +0300

On Tuesday 06 August 2013 01:27:02 Amos Jeffries wrote:
> My earlier description is what happens on shutdown. If you have not set
> shutdown_timeout yourself then the default of 30 seconds will be when
> the timeout stages happen that is all. The process *will* happen
> regardless of when the timeout occurs. Before the timeout Squid is
> simply waiting for existing clients to finish and clearing up as much
> disk I/O as possible.
> It is good to hear that the cache garbage is a rare event, that means
> your Squid is getting enough cycles on shutdown to finish the disk I/O
> erase events at least.
>
> I expect that the swap.state claiming more files than exist is something
> to do with your OS caching disk I/O.
>
> Amos

Would manually setting the shutdown_timeout value to over 30 seconds (let's
say 180 seconds) and typing 'sync' before shutting down squid to restart the
server help with the OS caching disk i/o issue?
I am expecting the 3.10.5 kernel update anytime now so it would be a good time
to test things.
Received on Mon Aug 05 2013 - 13:47:28 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 06 2013 - 12:00:15 MDT