Skip to contentSkip to conversation

Andrea VM changes

DISCUSSION Ihar 'Philips' Filipau 1 participant 1 message Sep 1, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 14 lines · Rik van Riel
Quoted 10 lines · Dan Kegel
Quoted 2 lines · Jamie Lokier

I'd love to be able to select which app _doesn't_ deserve the axe. I.e. not sshd, and then not httpd.

I tried adding a hinting system that let the user tweak the badness calculated by the OOM killer.
Didn't help. No matter how I tried to protect
important processes, there was always a case where the OOM killer ended up killing them anyway.

Quoted 5 lines

Indeed. You can't have completely fool-proof heuristics.

Then again, a heuristic is often better than killing syslogd at the first hint of trouble.

Best heuristics:

   # echo '/usr/sbin/sshd' >/proc/sys/vm/oom_exclude_list
   # echo '/usr/sbin/httpd' >/proc/sys/vm/oom_exclude_list

Works 100% ;-)))