home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9642 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!ukma!nsisrv!pat
  3. From: pat@gsfc.nasa.gov (patrick m. ryan)
  4. Subject: killing device wait process
  5. Message-ID: <1992Dec21.190832.1076@nsisrv.gsfc.nasa.gov>
  6. Summary: dead process
  7. Keywords: ps kill interrupt device
  8. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  9. Nntp-Posting-Host: jaameri.gsfc.nasa.gov
  10. Organization: Goddard Space Flight Center
  11. X-Newsreader: TIN [version 1.1 PL8]
  12. Date: Mon, 21 Dec 1992 19:08:32 GMT
  13. Lines: 24
  14.  
  15.  
  16. Is there any way to kill a process which is in an "non-interruptible"
  17. device wait?  We have out own tape handling program which has
  18. a few bugs in it.  At present, when it gets stuck in a device
  19. wait, the only way to clear it it to reboot the system.  Here
  20. is the line from "ps -aux":
  21.  
  22. andy    926  0.0  0.0  116    0 p2 IW   11:54   0:00 xar cvf /dev/nrst0 ./cou
  23.  
  24. We have already ruled out questions of permissions and such.
  25. Even if root does "kill -9 <pid>", the process still hangs
  26. around and the device remains "busy".  Even stranger is that
  27. the "D" flag does not appear is the STAT line from ps.
  28.  
  29. This is a SPARC 2 running SunOS 4.1.1.  Any clues?
  30.  
  31. thanks,
  32. pat
  33.  
  34. --
  35. "I have a cunning plan." -- Baldric
  36.                                                              patrick m. ryan
  37.      nasa / goddard space flight center / oceans and ice branch / hughes stx
  38.                      pat@jaameri.gsfc.nasa.gov / zmpmr@charney.gsfc.nasa.gov
  39.