From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,13007e6f500d17dd X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,13007e6f500d17dd X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,13007e6f500d17dd X-Google-Attributes: gidfee84,public X-Google-Thread: 10650a,13007e6f500d17dd X-Google-Attributes: gid10650a,public From: kaelbers@avian.dars.muohio.edu (Randy Kaelber) Subject: Re: out of swap -> killing inetd Date: 1996/07/09 Message-ID: <4rtlcg$vua@rose.muohio.edu>#1/1 X-Deja-AN: 167381657 references: <4rr9md$gsc@xensei3.xensei.com> followup-to: comp.unix.internals,comp.unix.osf.osf1,comp.unix.questions,comp.unix.programmer organization: Miami University newsgroups: comp.unix.internals,comp.unix.osf.osf1,comp.unix.questions,comp.unix.programmer Steffen Ullrich (steffen@latrade.com) wrote: > - can I prevent processes from beeing killed on this kind of > problems (or at least killed as the last ones) ? Maybe I > could tell the system to first kill the user processes and only > if nothing helps to kill the root processes. Better yet, > specify the "essential" processes which should never be killed > (and if the system cannot solve the problem this way it should > better reboot itself). I don't know if this will help, but check out the plock subroutine. Basically what it can do is mark a process unswappable, which I would like to think would notify your OS not to kill it if you're out of swap space. -- Randy Kaelber: kaelbers@muohio.edu DARS Programmer/Analyst, Miami University, Oxford, OH 45056 USA http://avian.dars.muohio.edu/~kaelbers/ "...As the most participatory form of mass speech yet developed, the Internet deserves the highest protection from governmental intrusion." -District Judge Stewart Dalzell, in ACLU et al. v. Reno, USAG; ALA Inc., et al. v. US DOJ et al. June 12, 1996 US District Court, Eastern PA