From: crow@coos.dartmouth.edu (Preston F. Crow)
Subject: Re: Low swap space on DEC 3000 Alpha
Date: 1995/04/01 [thread overview]
Message-ID: <3lknf7$299@dartvax.dartmouth.edu> (raw)
In-Reply-To: saunders-0104951630320001@caspar.che.wisc.edu
saunders@castor.che.wisc.edu (Brian Saunders) writes:
>cherkus@fastball.unimaster.com wrote:
>> Another scenario involves the Xserver. It's been running fine then a
>> user decides to read a document that needs a different font. The OS
>> decides the Xserver is an 'offending process' and kills it, which kills
>> all opened windows on the system, and all kinds of work is lost.
>OK, but what if we designate a few jobs as "unkillable"?
>You answered my question, more or less, but you haven't explained to me
>how OSF/1 chooses which jobs to kill when there is a swap error. It would
>seem a random scheme (which is what is hinted) would be as dangerous, if
>not more, than killing the offending process. So, there must be some
>procedure, so why isn't it discussed in at least one of the manuals, like
>Performance Tuning?
If the offending process happens to be something providing an
operating service (e.g., one of many deamons), then it probably
shouldn't be killed. In this case, randomly selecting user processes
is probably a better idea. It might also be a good idea to always
kill child processes before the parent process. It might be a good
idea to avoid killing any process that is running as root. It might
be a good idea to avoid killing the X server. It might be a good idea
to kill the X server first (after all, X is infamous for eating up memory,
and killing the server and other interactive jobs will free up memory
for those multi-day jobs).
But the question remains, what did DEC/OSF think was a good idea?
--PC
--
Windows: I'm not a real operating system, but I play one on a PC.
next prev parent reply other threads:[~1995-04-01 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-28 14:51 Low swap space on DEC 3000 Alpha Peter Schmatz
1995-03-29 5:00 ` Brian Saunders
1995-03-30 5:00 ` Dan Pop
1995-04-01 5:00 ` cherkus
1995-04-01 5:00 ` Brian Saunders
1995-04-01 5:00 ` Preston F. Crow [this message]
1995-04-02 5:00 ` Daniel S. Riley
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