thanks to all,
wennie
----- Original Message ----- From: "Wennie V. Lagmay" <wlagmay@xxxxxxxxxxxxx>
To: "Henrik Nordstrom" <hno@xxxxxxxxxxxxxxx>
Cc: "squidrunner team" <squidrunner_dev@xxxxxxxxx>; <squid-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 17, 2005 7:25 AM
Subject: Re: [squid-users] Cache size full !!
I issue a command squid -k rotate, but its only cache.log which is trim down. the access.log remains the same. how can I do the trimming of both access.log and cache.log
thanks,
wennie
----- Original Message ----- From: "Henrik Nordstrom" <hno@xxxxxxxxxxxxxxx>
To: "Wennie V. Lagmay" <wlagmay@xxxxxxxxxxxxx>
Cc: "squidrunner team" <squidrunner_dev@xxxxxxxxx>; <squid-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 17, 2005 1:20 AM
Subject: Re: [squid-users] Cache size full !!
On Mon, 16 May 2005, Wennie V. Lagmay wrote:
Deleting the cache directory will delete all the objects, Am I right, It means that I will start from scartch, If I not mistaken there is a configuration in squid that depending on the threshold you define, It will automatically delete files. Am I right? Is that that low water high water mark?
Yes. See the cache_dir line in your squid.conf. The size specified is the upper size Squid is allowed to use for cache.
Please note that this size is only the cache size, and does not include logs etc. You also need to set up log rotation to periodically trim down the logs.
Regards Henrik