Quantcast
Channel: Prevent Linux's OOM from killing apache on our webserver - Server Fault
Browsing latest articles
Browse All 6 View Live

Answer by Craig Constantine for Prevent Linux's OOM from killing apache on...

You can also change the Virtual Memory over commit behaviour. For example, you can change the value of /proc/sys/vm/overcommit_memory to '2' -- meaning do NOT overcommit memory. (Do not just change...

View Article



Answer by Rolf for Prevent Linux's OOM from killing apache on our webserver

It says here that you can set a OOM_DISABLE "flag" on a process: http://linux-mm.org/OOM_Killer

View Article

Answer by Kamil Kisiel for Prevent Linux's OOM from killing apache on our...

The OOMKiller is configurable to an extent. After you have launched a process you can set the value of /proc/<pid>/oom_adj to a negative integer. This will affect the affinity of OOMKiller...

View Article

Answer by jlintz for Prevent Linux's OOM from killing apache on our webserver

It doesn't sound like you are addressing the root cause of the issue by actually debugging why this cron job is using up so much memory. You can try setting this option echo 1 >...

View Article

Answer by Douglas Leeder for Prevent Linux's OOM from killing apache on our...

Short answer: No, the OOM-killer is not configurable, and there is/has been resistance to changing that. Just a few ideas off the top of my head: Increase swap space - if the scripts are 32-bit, then...

View Article


Prevent Linux's OOM from killing apache on our webserver

We have a debian linux webserver. It's just running apache2. Our mysql server is on another host. However we sometimes run cron tasks on the webserver to do regular tasks. However recently one of the...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images