[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] split_logs apache log rotate Broken Pipe on RaQ3
- Subject: [cobalt-users] split_logs apache log rotate Broken Pipe on RaQ3
- From: "Matthews, Graham" <gmatthews@xxxxxxxxxxxxxxx>
- Date: Thu May 4 19:06:04 2000
Hi All,
About a week ago, the web server log stopped getting
rotated each night. It may be related to the adding
of a site the day before, but I doubt it.
Further investigation led me to the apache access log
prerotate failing.
I edited /usr/local/sbin/split_logs and added in $Debug=1;,
and ran it (as root) like so:
/usr/local/sbin/split_logs web < /var/log/httpd/access
It gets through a couple of hundred lines of the log,
and then exits with the following error:
Broken pipe
I've edited the access log, and removed the lines that were
before and after the error message, thinking that maybe one
of them was corrupt, but this hasn't fixed the problem.
None of the log file entries around the point where it is
stopping is for the new site. That why I'm thinking it's
coincidental
Thinking that maybe it was running out of file handles I tried:
echo 8192 > /proc/sys/fs/file-max
But this didn't help.
Is it worth upping the number of inodes?
Any other suggestions?
Thanks in advance,
- Graham