home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9326 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.8 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!scott
  2. From: scott@austin.ibm.com
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Help Needed - program SIGKILLing itself
  5. Message-ID: <1992Sep2.172426.29972@awdprime.austin.ibm.com>
  6. Date: 2 Sep 92 17:24:26 GMT
  7. References: <BturB1.8Ir@math.uwaterloo.ca>
  8. Sender: news@awdprime.austin.ibm.com (USENET News)
  9. Organization: IBM Austin
  10. Lines: 23
  11. Originator: scott@porter.austin.ibm.com
  12.  
  13.  
  14. In article <BturB1.8Ir@math.uwaterloo.ca>, mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
  15. > I have a program which receives data from stdin and uses it to update
  16. > the AIX password database using setpwdb, setuserdb, putuserattr,
  17. > putgroupattr, and all those nice things.  However, after a while
  18. > of this processing, it just stops dead, saying "Killed".
  19.  
  20. Your program is getting killed due to a low paging space condition.  It's
  21. probably using an invalid pointer and running amuck allocating memory and
  22. paging space.  You can verify this by using the command 'ps vg <pid>' where
  23. <pid> is the process ID of your process.  The value under the heading 'SIZE'
  24. corresponds to the amount of paging space allocated to the process in 1KB
  25. blocks.  If you see this value growing substantially then your program is
  26. chewing up all the paging space.  You can also run the command 'lsps -a'
  27. to verify this.
  28.  
  29. To fix the problem you need to find out why your program is allocating so
  30. much memory/paging space.  If it's not due to a faulty pointer but is
  31. "normal" behavior for your program then you need to increase the amount of
  32. paging space in the system using either 'mkps' or 'chps'.
  33.  
  34. Scott L. Porter                         IBM PSP Austin / AIX Kernel Development
  35.                                         Internet: scott@glasnost.austin.ibm.com
  36.