[squid-users] Rotate log fails...

From: Wei Keong <[email protected]>
Date: Tue, 5 Nov 2002 15:34:14 +0800 (Singapore Standard Time)

Had encountered a strange problem today. Squid fails to rotate it's logs.

2002/11/05 10:53:50| storeDirWriteCleanLogs: Starting...
2002/11/05 10:53:50| storeDirWriteCleanLogs:
/usr/local/squid/swap/swap.state.00.clean: write: (9) Bad file des
criptor
2002/11/05 10:53:50| storeDirWriteCleanLogs: Current swap logfile not
replaced.
FATAL: Received Segment Violation...dying.
2002/11/05 10:53:50| storeDirWriteCleanLogs: Starting...
2002/11/05 10:53:50| storeDirWriteCleanLogs:
/usr/local/squid/swap/swap.state.00.clean: write: (9) Bad file des
criptor
2002/11/05 10:53:50| storeDirWriteCleanLogs: Current swap logfile not
replaced.
2002/11/05 10:53:50| assertion failed: disk.c:89: "F->flags.open"
2002/11/05 10:54:01| Starting Squid Cache version 2.4.STABLE6 for
i686-pc-linux-gnu...
2002/11/05 10:54:01| Process ID 13236
2002/11/05 10:54:01| With 8192 file descriptors available

We use cronjob 'squid -k rotate' to rotate the loge daily and this has
been running all this while. Stopping & starting squid does not help and I
suspect is file corruption.

Is there any way to solve this without rebooting & running fsck?

Thanks,
Wei Keong
Received on Tue Nov 05 2002 - 00:35:30 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:09 MST