#1872: Prevent sshd from being OOM-killed
--------------------------------------------+-------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  [email protected]
     Type:  defect                          |      Status:  new                 
          
 Priority:  high                            |   Milestone:  6.2                 
          
Component:  Bootscripts                     |     Version:  a-SVN               
          
 Severity:  major                           |    Keywords:                      
          
--------------------------------------------+-------------------------------
 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
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1872>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to