N
news
It started with my noticing our fileserver closing all open connections
and restarting HTTPD and other processes each night.
According to the /var/log/messages, I'd been getting a slew of these
messages the same time each night:
Aug 15 05:03:21 fileserve kernel: Out of Memory: Killed process 30974
(httpd).
Aug 15 05:03:27 fileserve kernel: Out of Memory: Killed process 30975
(httpd).
Aug 15 05:03:32 fileserve kernel: Out of Memory: Killed process 7835
(sshd).
But there's nothing set to run at 5am each day.
With the help from the newsgroup, I set up a cron to dump "top" for a
file every 20 minutes, and discovered the F-prot anti-virus program
which starts it's check at 4am each morning, starting out taking up
very low memory and then more and more over time. Less and less free
swap and buffers, until finally an hour later, "Out of Memory" errors
and things start shutting down.
The fileserver has 512MB of RAM and 256MB of swap. (That's what Fedora
Core2's autoDisk Druid suggested to make it.) I know I can renice a
process to give it more processor priority...is there some way I can
tell F-prot to try to run using less memory? I really don't want to go
without a daily virus check, but this crashing of the server every
night is not a good thing either.
Thanks for any suggestions!
Liam
and restarting HTTPD and other processes each night.
According to the /var/log/messages, I'd been getting a slew of these
messages the same time each night:
Aug 15 05:03:21 fileserve kernel: Out of Memory: Killed process 30974
(httpd).
Aug 15 05:03:27 fileserve kernel: Out of Memory: Killed process 30975
(httpd).
Aug 15 05:03:32 fileserve kernel: Out of Memory: Killed process 7835
(sshd).
But there's nothing set to run at 5am each day.
With the help from the newsgroup, I set up a cron to dump "top" for a
file every 20 minutes, and discovered the F-prot anti-virus program
which starts it's check at 4am each morning, starting out taking up
very low memory and then more and more over time. Less and less free
swap and buffers, until finally an hour later, "Out of Memory" errors
and things start shutting down.
The fileserver has 512MB of RAM and 256MB of swap. (That's what Fedora
Core2's autoDisk Druid suggested to make it.) I know I can renice a
process to give it more processor priority...is there some way I can
tell F-prot to try to run using less memory? I really don't want to go
without a daily virus check, but this crashing of the server every
night is not a good thing either.
Thanks for any suggestions!
Liam