[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Swap Memory Problem - Raq4



  
I have a Raq4 that's been giving me problems for months. 
 
The server starts using swap memory and soon after slows down to a crawl and
then ends up locking up. 
 
I am forced to reboot each of these times in order to get it back up. 
Sometimes it will stay out of swap for 12 hours, 
sometimes just 30 minutes later. But the pattern of whenever it starts to
use even a byte of swap it crashes, is consistent. 
It doesn't crash right away if it uses a little swap, but as soon as it gets
up to a high number it dies. 
 
I suppose this could be due to high server usage, and I've been trying to
monitor MySQL queries that I think might be contributing to the problem, but
no pattern has shown up. Below is an output of a monitoring script I put in
cron, these are the last outputs before crashes. 
 
_________________________________ 
Wed Jun 25 11:20:00 PDT 2003 
total used free shared buffers cached 
Mem: 517104 507484 9620 157248 10560 37332 
Swap: 131532 36472 95060 
22 sleeping MySQL connections, 1 active queries: 
| 249 | root | localhost | | Query | 0 | 
| show processlist | 
-----------------------------------------------------------------------------

------------ 
Wed Jun 25 09:30:01 PDT 2003 
total used free shared buffers cached 
Mem: 517104 510044 7060 224604 11220 202840 
Swap: 131532 14680 116852 
20 sleeping MySQL connections, 1 active queries: 
| 1831 | root | localhost | | Query | 0 | 
| show processlist | 
-----------------------------------------------------------------------------

------------ 
 
If anyone has any ideas how I can keep this from going into swap memory all
together, it might just solve this problem. 
 
This is a Raq4 with maxed out memory, a mere 512MB. 
 
Any ideas or help would be appreciated. I'm having to reboot this machine 3x
a day to keep it operating. 
 
Thanks 
 
Tom Hanberg 
Skyhound Internet 
Long Beach CA 90803 
http://www.skyhoundinternet.com