home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11144 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.6 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: algorithm for kill due to memory
  5. Keywords: vhand killed SYSLOG
  6. Message-ID: <njg95dc@zuni.esd.sgi.com>
  7. Date: 22 Jul 92 01:37:14 GMT
  8. References: <2810@contex.contex.com>
  9. Sender: news@zuni.esd.sgi.com (Net News)
  10. Organization: Silicon Graphics, Inc.  Mountain View, CA
  11. Lines: 29
  12.  
  13. In <2810@contex.contex.com> frank@marvin.contex.com (Frank Perdicaro) writes:
  14.  
  15. | Could anybody out there point me to information on the alogrithm used
  16. | to erase a process that is killed due to lack of memory/swap.  I am
  17. | talking about the function associated with the kernel message
  18. | "Process [%s] pid %d killed due to insufficient memory/swap." 
  19. | ( this is from strings /unix | fgrep -i kill ), and not the one
  20. | associated with "Process [%s] pid %d killed due to %s (errno:%d)".
  21. | These messages are send to SYSLOG.
  22.  
  23. It varies from release to release.  It is biased towards large processes.
  24.  
  25. | I would like to react to this action; the process returns with status
  26. | indicating a signal 9 was sent to it.  Is the process really given a
  27. | signal?  As there appears to be no way to prevent any particular
  28.  
  29. Yes, and SIGKILL is not catchable.
  30.  
  31. | process from being expunged, is there any way predict which process
  32. | gets hit?
  33.  
  34. Not in the general case.
  35.  
  36. You could configure the system so this doesn't happen, see
  37. availsmem_accounting, in master.d/kernel.
  38. --
  39. Let no one tell me that silence gives consent,  |   Dave Olson
  40. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  41.     Maria Isabel Barreno                        |   olson@sgi.com
  42.