Reuben Farrelly wrote:
>
> Hi,
>
> Under what circumstances will squid not rotate any log files?
>
> We have:
> logfile_rotate 2
>
> in the squid config file, but despite sending squid both a kill -USR1 `cat
> /var/run/squid.pid` and /opt/squid/bin/squid -k rotate as a cron job or
> shell script (the rest of the script runs fine), it still refuses to carry
> out any rotation of access and cache logs. It's as if squid never received
> the signal at all :( There is plenty of disk space in the log directory...
>
> Reuben
USR1 won't necessarily work if you have async-io enabled, as your
thread-library may use that signal. If '-k rotate' didn't work then
check to see if /var/run/squid.pid contains the right process id at all.
Check to see if squid is running under a user-id that has write access
to the _directory_ in which the log-files are, as well as write-access
to the files.
D
Received on Mon Aug 02 1999 - 16:15:31 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:50 MST