home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11696 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!ukma!asuvax!ncar!uchinews!msuinfo!convex.cl.msu.edu!boone
  3. From: boone@convex.cl.msu.edu (Dennis Boone)
  4. Subject: Re: Virtual Memory curiosity
  5. Message-ID: <1992Nov18.193645.11129@msuinfo.cl.msu.edu>
  6. Keywords: VM overflow response
  7. Sender: news@msuinfo.cl.msu.edu
  8. Organization: Michigan State University, East Lansing
  9. References: <bmarlowe.721422470@ka> <1992Nov12.131230.130467@jrh.uucp>
  10. Distribution: usa
  11. Date: Wed, 18 Nov 92 19:36:45 GMT
  12. Lines: 24
  13.  
  14. In article <1992Nov12.131230.130467@jrh.uucp> jrh@jrh.uucp (James R. Hamilton) writes:
  15. >In article <bmarlowe.721422470@ka> bmarlowe@ka.reg.uci.edu (Brett Marlowe) writes:
  16. >>I've heard rumor that AIX will pick processes to kill off to avoid
  17. >>running out of virtual memory?  Can anyone verify this and if this is
  18. >>true a) is there a way to disable this "feature" and b) what idiot
  19. >>decided that randomly killing processes was a good idea??!!
  20. >>
  21. >    It is true that AIX will start killing process when it runs out of 
  22. >    page space.  You can disable this feature (i.e. protect a process)
  23. >    by it calling "signal(SIGDANGER, SIG_IGN)".  WRT to the idiot that
  24. >    decided to randomly kill processes, the decision is not random -- 
  25. >    processes are killed youngest first (in AIX 3.2) and if they ignore 
  26. >    SIGDANGER then they are not killed at all.
  27.  
  28. I tend to agree with Brett.  The solution is completely non-portable and
  29. non-standard, so out-of-the-box software has to be modified.  You can't
  30. run a stable system if the o/s is going to run around whacking off
  31. important processes.  The fact that the decision isn't really random makes
  32. no difference: it still isn't possible to tell which processes will get
  33. the axe without keeping continuous track of every new process.
  34.  
  35. Dennis
  36. --
  37. = There is no monopoly on common sense, on either side of the political fence =
  38.