home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3707 < prev    next >
Encoding:
Text File  |  1992-08-27  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!stanford.edu!ames!nsisrv!usenet
  3. From: fgg@gemini.gsfc.nasa.gov (Frank G. Gomez)
  4. Subject: SIGKILL'ed by exec()
  5. Message-ID: <1992Aug27.145117.12544@nsisrv.gsfc.nasa.gov>
  6. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  7. Nntp-Posting-Host: gemini.gsfc.nasa.gov
  8. Organization: NASA GSFC CDP VLBI
  9. Date: Thu, 27 Aug 1992 14:51:17 GMT
  10. Lines: 40
  11.  
  12. Hello,
  13.  
  14. We are  experiencing a SIGKILL when  attempting an exec system call.  We
  15. think it is  probably  due to some  system  parameter  that  needs to be
  16. increased.  This hypothesis is based on the following two passages ...
  17.  
  18. ------------------------------------------------------------------------
  19. HP-UX Reference Manual Volume 3, page 669 (signal(5)):
  20.  
  21.    "SIGKILL  is  sent  by  the  system  if an  exec(2)  system  call  is
  22.     unsuccessful  and the  original  program has already  been  deleted"
  23.  
  24. ------------------------------------------------------------------------
  25. Bach's "The Design of the UNIX Operating System" page 220, 4th paragraph
  26. (discussing exec's algorithm):
  27.  
  28.    "After copying the exec  parameters to a holding place in the kernel,
  29.     the kernel  detaches the old regions of the process using  algorithm
  30.     detachreg  [ ......  ] At this point the process  has no  user-level
  31.     context,  so any  errors  that it incurs  from now on  result in its
  32.     termination,  caused by a signal [the SIGKILL].  Such errors include
  33.     running out of space in the kernel region table,  attempting to load
  34.     a program whose size exceeds the system limit,  attempting to load a
  35.     program  whose  region  addresses  overlap,  and  others."
  36. ------------------------------------------------------------------------
  37.  
  38. The important questions appear to be:
  39.  
  40. 1) What are these  'other'  reasons ?
  41. 2) To   which   system   parameters do  the  first  two  above-mentioned
  42.    reasons  correspond  ?
  43. 3) Under  what circumstances would the third reason occur ?
  44.  
  45. The  machine  is an HP 730 at 8.05 with 100 MB of swap.  The  error  has
  46. occurred even when the process was the only user process running.
  47.  
  48. Any type of answers to these questions would be greatly appreciated.
  49.  
  50.  
  51. Frank G. Gomez        fgg@gemini.gsfc.nasa.gov
  52.