Re: Squid crashes

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 01 Apr 2008 10:36:47 +0200

tis 2008-04-01 klockan 10:49 +0530 skrev Prasad J Pandit:

> I'm using Squid Cache: Version 3.0.STABLE1 for quite some time now, and am
> happy to inform you that it's been doing really well.
>
> The only recurring problem is that, it crashes leaving behind a
> `var/cache/state.new' file of size 1.9G and `var/logs/store.log' file of
> size 2.0G. And once that happens, Squid wouldn't work until I remove/rm
> those files.
>
> Is it known behaviour or...?

You need to periodically call "squid -k rotate" to have Squid rotate
it's logs before the OS limitation of 2GB is reached.

You can also build Squid with --enable-large-files to switch the OS api
to 64-bit file interface, allowing pretty much unlimited file sizes, but
you still need to periodically call "squid -k rotate" or these files
will grow and eventually fill all your disk space...

Regards
Henrik
Received on Tue Apr 01 2008 - 02:37:05 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT