Eating all memory then dies...

For about 15 hrs ago I found out that the I couldnt FTP to my server, I could ping it though. Later I asked for a reboot and then the server worked for about 10 minutes then it was the same. Now I asked for another reboot, SSH'd to the server and ran TOP. This is what I saw:

--- after 1 minute ----

5:05am up 1 min, 1 user, load average: 3.14, 0.97, 0.34
202 processes: 196 sleeping, 6 running, 0 zombie, 0 stopped
CPU states: 94.8% user, 5.1% system, 0.0% nice, 0.0% idle
Mem: 1028456K av, 211416K used, 817040K free, 1288K shrd, 19844K buff
Swap: 1024088K av, 2068K used, 1022020K free 52932K cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
981 apache 14 0 41356 40M 6972 R 80.3 4.0 0:29 httpd
1044 apache 9 0 7372 7372 6968 S 1.1 0.7 0:00 httpd
990 apache 9 0 7360 7360 6972 S 0.9 0.7 0:00 httpd
1026 mellow 14 0 1176 1176 840 R 0.9 0.1 0:00 top

--------------------------------------------

--- after15 minutes ----

5:18am up 15 min, 1 user, load average: 74.32, 53.54, 27.72
460 processes: 384 sleeping, 76 running, 0 zombie, 0 stopped
CPU states: 95.2% user, 4.7% system, 0.0% nice, 0.0% idle
Mem: 1028456K av, 1023632K used, 4824K free, 420K shrd, 4472K buff
Swap: 1024088K av, 781348K used, 242740K free 64964K cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
1047 apache 20 0 8728 6860 3476 R 1.5 0.6 0:01 httpd
1048 apache 20 0 16452 9496 3500 R 1.5 0.9 0:05 httpd
1098 apache 20 0 33088 7480 3492 R 1.5 0.7 0:21 httpd
1110 apache 20 0 16412 9540 3488 R 1.5 0.9 0:05 httpd
1115 apache 20 0 33100 7524 3480 R 1.5 0.7 0:21 httpd
1128 apache 20 0 16412 9668 3496 R 1.5 0.9 0:05 httpd

---------------------------

It seems like it just eats up all memory (1 GB!!!) and never relases it to new httpds and such? It has been running for several months before in a row without any glitch (with much more traffic than it got now). We havent changed anything to the server. What could be wrong?

Could it be that a harddrive is full or what can make this unpleasant stuff happening?

Thank you,

Michael
Webmaster

 

 

 

 

Top