[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: Raq4 - Error rotating logs with 1gb of ram!
- Subject: [cobalt-users] Re: Raq4 - Error rotating logs with 1gb of ram!
- From: "Yahoo" <jjma100@xxxxxxxxxxx>
- Date: Wed Dec 24 00:17:10 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Jon
> > that al looks good... try...
> > /usr/local/sbin/split_logs web < /var/log/httpd/access
> > and see if you get an error...
>
> Tried this manually and it crashed the server with problems in the kernel
> logs. Rebooted the server, reran the split_logs script and it worked
without
> a problem.
> > we might want to purge your access file
> > how to purge... :)
> > cat /dev/null > /var/log/httpd/access
> > /usr/bin/killall -HUP httpd
>
> Ok carried this out and will monitor the logrotate tomorrow night to see
if
> it fails.
The problem seems worse than ever now, at 12.10 last night the server seezed
up again and needed a forced reboot as I couldn;t login via shell. Looking
around there are 20+ files starting the file******* e.g file9Ql4AK.
There is a web.log file that is 260mb on one of the sites but the others
sites (about 20) range from 1mb to 8mb.
Season greetings
Jonathan