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

  • Squid crashes Prasad J Pandit
    • Re: Squid crashes Henrik Nordstrom

Reply via email to