[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] split_logs apache log rotate Broken Pipe on RaQ3
- Subject: Re: [cobalt-users] split_logs apache log rotate Broken Pipe on RaQ3
- From: Jeff Lovell <jlovell@xxxxxxxxxx>
- Date: Fri May 5 09:12:57 2000
- Organization: Cobalt Networks, Inc.
"Matthews, Graham" wrote:
>
> 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?
This is a known issue and a patch should be posted to the website
soon.
Jeff