home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11541 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.6 KB

  1. 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
  2. From: fuzzy@obelix.ncs.mainz.ibm.com (Thomas Braunbeck)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Virtual Memory curiosity
  5. Keywords: VM overflow response
  6. Message-ID: <1992Nov12.200207.5693@watson.ibm.com>
  7. Date: 12 Nov 92 20:02:07 GMT
  8. References: <bmarlowe.721422470@ka> <1992Nov12.131230.130467@jrh.uucp>
  9. Sender: @watson.ibm.com
  10. Reply-To: braunbec@Mainz.IBM.de
  11. Distribution: usa
  12. Organization: IBM Germany, AIX Support Germany
  13. Lines: 39
  14.  
  15. In article <1992Nov12.131230.130467@jrh.uucp>, jrh@jrh.uucp (James R. Hamilton) writes:
  16. |> In article <bmarlowe.721422470@ka> bmarlowe@ka.reg.uci.edu (Brett Marlowe) writes:
  17. |> >
  18. |> >I've heard rumor that AIX will pick processes to kill off to avoid
  19. |> >running out of virtual memory?  Can anyone verify this and if this is
  20. |> >true a) is there a way to disable this "feature" and b) what idiot
  21. |> >decided that randomly killing processes was a good idea??!!
  22. |> >
  23. |>     It is true that AIX will start killing process when it runs out of
  24. |>     page space.  You can disable this feature (i.e. protect a process)
  25. |>     by it calling "signal(SIGDANGER, SIG_IGN)".  WRT to the idiot that
  26. |>     decided to randomly kill processes, the decision is not random --
  27. |>     processes are killed youngest first (in AIX 3.2) and if they ignore
  28. |>     SIGDANGER then they are not killed at all.
  29.  
  30. Ignoring SIGDANGER will NOT protect a process! You must catch SIGDANGER.
  31. See info:
  32.     The system monitors the number of free paging space blocks and detects
  33.     when a paging space shortage condition exists.  When the number of free
  34.     paging space blocks falls below a threshold known as the paging space
  35.     warning level, the system informs all processes (except kprocs) of this
  36.     condition by sending the SIGDANGER signal.  If the shortage continues
  37.     and falls below a second threshold known as the paging space kill level,
  38.     the system sends the SIGKILL signal to processes that are the major
  39.     users of paging space and that do not have a signal handler for the
  40.                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  41.     SIGDANGER signal (the default action for the SIGDANGER signal is to
  42.     ignore the signal).  The system continues sending SIGKILL signals until
  43.     the number of free paging space blocks is above the paging space kill
  44.     level.
  45.  
  46. Regards, Thomas Braunbeck
  47. AS Software Service AIX, Germany
  48.  
  49.         All the opinions expressed are my own and
  50.         do not necessarily reflect those of IBM
  51.  
  52. | Mail  braunbec@mazvm02.vnet.ibm.com
  53. |       braunbec@aixserv.mainz.ibm.de
  54.