home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gossip.pyramid.com!olivea!spool.mu.edu!caen!malgudi.oar.net!news.ans.net!newsgate.watson.ibm.com!yktnews!admin!watson!obelix.ncs.mainz.ibm.com!fuzzy
- From: fuzzy@obelix.ncs.mainz.ibm.com (Thomas Braunbeck)
- Newsgroups: comp.unix.aix
- Subject: Re: Virtual Memory curiosity
- Keywords: VM overflow response
- Message-ID: <1992Nov12.200207.5693@watson.ibm.com>
- Date: 12 Nov 92 20:02:07 GMT
- References: <bmarlowe.721422470@ka> <1992Nov12.131230.130467@jrh.uucp>
- Sender: @watson.ibm.com
- Reply-To: braunbec@Mainz.IBM.de
- Distribution: usa
- Organization: IBM Germany, AIX Support Germany
- Lines: 39
-
- In article <1992Nov12.131230.130467@jrh.uucp>, jrh@jrh.uucp (James R. Hamilton) writes:
- |> In article <bmarlowe.721422470@ka> bmarlowe@ka.reg.uci.edu (Brett Marlowe) writes:
- |> >
- |> >I've heard rumor that AIX will pick processes to kill off to avoid
- |> >running out of virtual memory? Can anyone verify this and if this is
- |> >true a) is there a way to disable this "feature" and b) what idiot
- |> >decided that randomly killing processes was a good idea??!!
- |> >
- |> It is true that AIX will start killing process when it runs out of
- |> page space. You can disable this feature (i.e. protect a process)
- |> by it calling "signal(SIGDANGER, SIG_IGN)". WRT to the idiot that
- |> decided to randomly kill processes, the decision is not random --
- |> processes are killed youngest first (in AIX 3.2) and if they ignore
- |> SIGDANGER then they are not killed at all.
-
- Ignoring SIGDANGER will NOT protect a process! You must catch SIGDANGER.
- See info:
- The system monitors the number of free paging space blocks and detects
- when a paging space shortage condition exists. When the number of free
- paging space blocks falls below a threshold known as the paging space
- warning level, the system informs all processes (except kprocs) of this
- condition by sending the SIGDANGER signal. If the shortage continues
- and falls below a second threshold known as the paging space kill level,
- the system sends the SIGKILL signal to processes that are the major
- users of paging space and that do not have a signal handler for the
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- SIGDANGER signal (the default action for the SIGDANGER signal is to
- ignore the signal). The system continues sending SIGKILL signals until
- the number of free paging space blocks is above the paging space kill
- level.
-
- Regards, Thomas Braunbeck
- AS Software Service AIX, Germany
-
- All the opinions expressed are my own and
- do not necessarily reflect those of IBM
-
- | Mail braunbec@mazvm02.vnet.ibm.com
- | braunbec@aixserv.mainz.ibm.de
-