Re: [squid-users] endless growing swap.state after reboot

From: Michel Santos <michel@dont-contact.us>
Date: Sun, 12 Aug 2007 12:49:43 -0300 (BRT)

Henrik Nordstrom disse na ultima mensagem:
> On sön, 2007-08-12 at 11:59 -0300, Michel Santos wrote:
>
>> That brought me to check my startup scripts which I haven't touch since
>> long time and I am not using the -F option. Since my production caches
>> do
>> have considerable size and the rebuild is up to 2 minutes and some big
>> caches need 4-5 minutes I start thinking that the swap.state mess has
>> something to do with that I am not starting with the -F option.
>>
>> What do you think? is it possible that the problem is hidden here?
>
> Quite possible. -F is not actively tested and do change the rebuild
> procedure a bit.
>

Couldn't wait, I just did it on a server now. I am pretty sure that
normally the shit had begun but with -F it built the swap.state and
started working normally and no problem

Aug 12 12:39:49 wco-mir squid[991]: Done reading /c/c2 swaplog (2659207
entries)
Aug 12 12:39:49 wco-mir squid[991]: Finished rebuilding storage from disk.
Aug 12 12:39:49 wco-mir squid[991]: 2289447 Entries scanned
Aug 12 12:39:49 wco-mir squid[991]: 0 Invalid entries.
Aug 12 12:39:49 wco-mir squid[991]: 0 With invalid flags.
Aug 12 12:39:49 wco-mir squid[991]: 2289447 Objects loaded.
Aug 12 12:39:49 wco-mir squid[991]: 0 Objects expired.
Aug 12 12:39:49 wco-mir squid[991]: 362061 Objects cancelled.
Aug 12 12:39:49 wco-mir squid[991]: 0 Duplicate URLs purged.
Aug 12 12:39:49 wco-mir squid[991]: 0 Swapfile clashes avoided.
Aug 12 12:39:49 wco-mir squid[991]: Took 5.8 seconds (396434.2
objects/sec).

that's from one cache dir and "took 5.8 seconds" seems to be really wrong,
look at the time stamps:

Aug 12 12:28:21 wco-mir squid[991]: Starting Squid Cache version
2.6.STABLE14-20070731 for amd64-unknown-freebsd6.2...

that's ten minutes, has probably to do with the wrong percentage
caclulation when things go wrong also ?

michel
...

****************************************************
Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.
****************************************************
Received on Sun Aug 12 2007 - 09:49:51 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT