Avoiding memory full -> swap full -> crash

Posted by Noam on Server Fault See other posts from Server Fault or by Noam
Published on 2013-01-10T09:53:29Z Indexed on 2013/06/26 22:23 UTC
Read the original article Hit count: 155

Filed under:
|
|
|
|

I'm experiencing an issue when sometimes the memory gets 100% full, and the swap file also, and the server becomes non-responsive and has to be restarted (causing also problems in database). This is what Cacti shows:

Physical Memory Swap File

The server is running a web-app (database + apache) and during that specific moment didn't experience any ir-regular traffic or usage. This scenario happened twice in the last week. What can cause this? How can I resolve the issue?

© Server Fault or respective owner

Related posts about linux

Related posts about php