Opened 19 years ago
Closed 19 years ago
#1872 closed defect (fixed)
Prevent sshd from being OOM-killed
Reported by: | Owned by: | ||
---|---|---|---|
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
Note:
See TracTickets
for help on using tickets.
Updated in bootscripts version 20060411