Re: [squid-users] Squid crashing when access.log hits 2GB.

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Thu, 27 May 2004 11:47:47 +0200

On 26.05 18:43, jimtorelli@comcast.net wrote:
> Quick questions.. Two times in a row now, whie running load tests,
> Squid dies as soon as the access.log file gets to 2 gigs with the
> following error message:
>
> FATAL: logfileWRite: /usr/loca/squid/var/logs/access.log:(0) Success.

files opened with classic open/fopen handlers can be up to 2GB big.
for bigger files there's need to use 64bit handlers.
Only squid-3.0 supports this (when compiled --enable-largefile option
which is currently being tested).

you should set up rotating of logs somehow.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Received on Thu May 27 2004 - 03:47:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:02 MDT