From: boc@ironbark.bendigo.latrobe.edu.au (Brian James O'Connor)
Subject: Re: out of swap -> killing inetd
Date: 1996/07/23 [thread overview]
Message-ID: <4t21so$th2@lugb.latrobe.edu.au> (raw)
In-Reply-To: 4rr9md$gsc@xensei3.xensei.com
Steffen Ullrich (steffen@latrade.com) wrote:
: A while ago I run a really big process (user process - no root!) on an
: DEC UNIX 3.2C machine with 64MByte so that the machine run out of swap
: space. Instead of killing the process which caused this problem it
: randomly killed other processes - among them the inetd. This made it
: unable to rlogin/telnet to the machine in order to maintain it (or at
: least to reboot it). luckely enough the machine was located in the next
: room so I could maintain it locally, otherwise I had a big problem.
: The questions I got:
: - 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).
: - can a process have a higher priority in the way that if the process
: requests more memory it should get it, even if other processes
: with less "memory priority" needs to be killed?
: - What solutions to these problems (killing the wrong, memory priorities)
: offer other systems (process quota are of no help in this situation).
: Does anybody know how these problems are handled on non UNIX's like
: VMS and WindowsNT?
: Note: I don't think that this questions is primary related to the
: different swap modes on DEC UNIX (although this machine run in
: deferred mode). I believe this situation might also happen in the
: immediate swap mode (e.g. if for each memory the process needs the
: same amount will be reserved in the swap space) in case that inetd should
: (temporary) need more memory to startup a process but there is no more
: swap available on the system. In this situation another (user) process
: should be killed, but inetd should get all the memory it needs (otherwise
: I get the same situation = no more remote control possible).
I have had the same experiences with 3.2b.
I may just be lucky, but after I installed the following patch
===============================================================================
/usr/sys/BINARY/syscall_subr.o
CHECKSUM: 37762 18 RCS: 4.3.27.2
-----------------------
Patch ID: OSF325-320127
Installation Instructions - A kernel build is required.
Problem 1: (Patch ID: OSF325-320127) (HPAQ5459E)
**********
A bug in swtch() allows a lower priority job to preempt a
job with a higher priority.
===============================================================================
I have not had any more problems.
The patch doesn't specifically address the memory problems,
but as I said, it seemed to work!
boc
--
------------------------------------------------------------
Brian O'Connor, Unix Systems Consultant
Latrobe University,Bendigo
boc@ironbark.bendigo.latrobe.edu.au
------------------------------------------------------------
next prev parent reply other threads:[~1996-07-23 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-08 4:00 out of swap -> killing inetd Steffen Ullrich
1996-07-09 4:00 ` Boyd Roberts
1996-07-09 4:00 ` John Hascall
1996-07-12 4:00 ` Steffen Ullrich
1996-07-09 4:00 ` Randy Kaelber
1996-07-10 4:00 ` Steffen Ullrich
1996-07-09 4:00 ` Bob Vickers
1996-07-09 4:00 ` Peter da Silva
[not found] ` <ufivbxlzpc.fsf@microl6.microlise.uucp>
1996-07-10 4:00 ` Peter da Silva
1996-07-11 4:00 ` Patrick O'Rourke USG
1996-07-10 4:00 ` Patrick O'Rourke USG
1996-07-10 4:00 ` Andrew Gierth
1996-07-10 4:00 ` Jim Reid
1996-07-23 4:00 ` Brian James O'Connor [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-07-13 4:00 Steffen Ullrich
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox