Re: [squid-users] logrotate only instead (all) squid rotate

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 29 Apr 2014 08:02:05 +1200

On 29/04/2014 6:45 a.m., Alfredo Rezinovsky wrote:
> El 15/03/14 22:21, Amos Jeffries escribió:
>> On 15/03/2014 12:26 a.m., Alfredo Rezinovsky wrote:
>>> Using: "squid -k rotate" squid rotates logs but also closes and reopen
>>> caches_dirs and url_rewrite_programs
>>>
>>> There's a way to signal only the (logfile-daemon) processes to rotate
>>> the logs and only the logs ?
>> Not with any current Squid. The helpers error reporting (stderr)
>> channels are plugged directly into cache.log. So they need to be
>> detached and re-attached by restarting when that log is moved. The cache
>> journal(s) need cleaning up occasionally and are done as well on
>> rotation.
>>
>> If you are using a daemon there should be no need to rotate much. The
>> daemon is fully responsible for the access.logs and can rotate them even
>> without an explicit command from Squid.
>> For example; the log_file_daemon bundled with the latest Squid will
>> rotate access.log on 32-bit systems whenever the current file exceeds
>> 32-bit file sizes and starts getting errors.
>
> In 64-bit systems the log can grow indefinitely and fill the disc?

If you let them go that long without rotating, or they fill up that
fast. Yes.

Amos
Received on Mon Apr 28 2014 - 20:02:13 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 29 2014 - 12:00:07 MDT