Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* out of swap -> killing inetd
@ 1996-07-08  4:00 Steffen Ullrich
  1996-07-09  4:00 ` Bob Vickers
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Steffen Ullrich @ 1996-07-08  4:00 UTC (permalink / raw)



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).




^ permalink raw reply	[flat|nested] 15+ messages in thread
* out of swap -> killing inetd
@ 1996-07-13  4:00 Steffen Ullrich
  0 siblings, 0 replies; 15+ messages in thread
From: Steffen Ullrich @ 1996-07-13  4:00 UTC (permalink / raw)




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).

--
                                        Steffen Ullrich
                                     ccrlphr@xensei.com
                    http://www.xensei.com/users/ccrlphr/



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~1996-07-23  4:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-08  4:00 out of swap -> killing inetd 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   ` Jim Reid
1996-07-10  4:00   ` Andrew Gierth
1996-07-09  4:00 ` Randy Kaelber
1996-07-10  4:00   ` 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-23  4:00 ` Brian James O'Connor
  -- strict thread matches above, loose matches on Subject: below --
1996-07-13  4:00 Steffen Ullrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox