From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,beff174e0d328d5f X-Google-Attributes: gid1164f8,public From: crow@coos.dartmouth.edu (Preston F. Crow) Subject: Re: Low swap space on DEC 3000 Alpha Date: 1995/04/01 Message-ID: <3lknf7$299@dartvax.dartmouth.edu>#1/1 X-Deja-AN: 100637639 references: <3l97pi$4ms@news.belwue.de> organization: Dartmouth College, Hanover, NH, USA newsgroups: comp.sys.dec 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.