home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / admin / 4885 next >
Encoding:
Internet Message Format  |  1992-09-07  |  3.7 KB

  1. Xref: sparky comp.unix.admin:4885 comp.sys.hp:10077
  2. Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!rutgers!homecare!quaker!raymond
  3. From: raymond@quaker.uucp (Raymond C. Leung)
  4. Newsgroups: comp.unix.admin,comp.sys.hp,ctp.it
  5. Subject: Re: Unkillable processes
  6. Message-ID: <1992Sep03.212714.28300@quaker.uucp>
  7. Date: 3 Sep 92 21:27:14 GMT
  8. References: <1992Aug26.180629.385@ctp.com>
  9. Reply-To: raymond@quaker.UUCP (Raymond C. Leung)
  10. Organization: Quaker Oats Company
  11. Lines: 64
  12.  
  13. In article <1992Aug26.180629.385@ctp.com> jmay@ctp.com (Jason May) writes:
  14. >
  15. >HP 9000/847, running HPUX 8.02.
  16. >
  17. >From time to time, I see processes that get into such a state in
  18. >which they cannot be killed.  By 'cannot', I mean that kill -9
  19. >as root does not work.  I had formerly been under the impression
  20. >that root kill -9 meant absolute instantaneous death, but apparently
  21. >this is not the case (or there are some serious bugs).
  22. >
  23. >One case is when a process crashes and is attempting to write
  24. >out a large core file across the network (eg. to a remote-mounted
  25. >NFS partition).  Under the coredump is finished, the process won't
  26. >die.  Another case appears to have something to do with sockets;
  27. >the process won't die while it thinks it has active remote
  28. >connections.
  29. >
  30. >If these situations are not indicative of an OS bug, has anyone
  31. >built up a list of conditions in which a process cannot be killed?
  32. >
  33. >Any assistance is greatly appreciated,
  34. >- Jason (jmay@ctp.com)
  35.  
  36. I have similar processes on my HP-9000/832 machine running HP-UX
  37. 7.02 (now upgraded to 8.00).  Users report that their terminals are
  38. stuck and I cannot kill processes attached to their tty ports.
  39. Rebooting the system will always work but it is a bit overkill.
  40. Use `sysdiag` to run "pmuxdiag" is the best way for me - it clears the
  41. mux port without affecting any other system users.
  42.  
  43. Not quite like yours, these processes are either logging in onto the
  44. system or logging out off the system.  I can tell by looking at the
  45. screens of these terminals or use the `ps` command.  HP Response Center
  46. Engineers explain this scenario as that once a process is pending on
  47. I/O, it will not receive the kill signal and that is how the system is
  48. designed.  My HP CE blame it to the data communication cable which might
  49. pick up some noice causing the mux port hung.
  50.  
  51. Anyway, these processes are quite annoying and they used to give me a
  52. lot of pain because the `pmuxdiag` program on my system didn't work
  53. until recent system upgrade and I didn't have enough spare mux ports
  54. for users with hung terminals until I got the budget to purchase an
  55. additional mux this Summer.  The result was considerable amount of
  56. user complaints about system down time.  Sigh!
  57.  
  58. By the way, I have another type of unkillable processes which are
  59. zombies left by some software applications.  Use command `ps` I can see
  60. they are "<defunc>" and `top` shows the number of zombies on my system.
  61. They are not attached to any terminal port so `pmuxdiag` won't help.
  62. Fortunately, they didn't tie up any user and no one notice anything
  63. damaging.  HP people blame the application not handling exit properly.
  64. They said their parent process should wait() for their child processes
  65. before termination.  However, vendor engineer of that software told me
  66. that zombie is normal!  S o o o, I wouldn't worry about it.  :^)
  67.  
  68. I am interected in hearing other cases of unkillable processes and their
  69. fixes.  Please send me a copy of your final conclusion/summary after
  70. you have collected all the follow-ups.  Thanks!
  71.  
  72. -- 
  73. Raymond C. Leung           UUCP:     ...!rutgers!homecare!quaker!raymond
  74. Quaker Oats Company        Internet:     raymond@quaker.uucp
  75. 96 Quaker Oats Dr.         Phone:       +1(901)426-6260                |
  76. Jackson, TN, USA 38301     Fax:         +1(901)426-6329    ____________|
  77.