Opened 18 years ago

Closed 18 years ago

#1872 closed defect (fixed)

Prevent sshd from being OOM-killed

Reported by: alexander@… Owned by: blfs-book@…
Priority: high Milestone: 6.2.0
Component: Bootscripts Version: SVN
Severity: major Keywords:
Cc:

Description

Sshd can be one of the processes killed due to some other process eating all available memory. Thus, no remote access after OOM. To prevent such issues, the kernel must be instructed to avoid killing sshd in the case of OOM:

loadproc /usr/sbin/sshd && echo "-16" >/proc/`cat /var/run/sshd.pid`/oom_adj

Change History (1)

comment:1 by bdubbs@…, 18 years ago

Resolution: fixed
Status: newclosed

Updated in bootscripts version 20060411

Note: See TracTickets for help on using tickets.