Search squid archive

Re: logrotate only instead (all) squid rotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux