Apache 1.3.3 log file rotation leaves open file descriptors

Apache 1.3.3 log file rotation leaves open file descriptors

Post by Hume, Mark [FITZ2:8M83-I:EXCH » Thu, 21 Oct 1999 04:00:00



In Apache 1.3.3 (Solaris) we are using the USR1 signal (or HUP) to rotate the
log files daily.

Our rotation strategy is:
1) rename log file
2) issue USR1

What appears to be happening though, is that Apache is not closing the file
descriptors for the old log files. (We eventually run out of file descriptors -
in just over a month)  and lsof shows that Apache still has all the old log
files open.

Anyone else noticed this behaviour?

Thanks,
Mark Hume