home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11098 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.1 KB  |  27 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!brtph560!brtph46!rjohns
  3. From: rjohns@brtph46.BNR.CA (Richard Johns P205)
  4. Subject: Process hangs when lockd crashes
  5. Message-ID: <1992Sep15.185345.11524@brtph560.bnr.ca>
  6. Sender: news@brtph560.bnr.ca (Usenet News)
  7. Reply-To: rjohns@brtph46.BNR.CA (Richard Johns P205)
  8. Organization: Bell-Northern Research Ltd.
  9. Date: Tue, 15 Sep 1992 18:53:45 GMT
  10. Lines: 15
  11.  
  12. I'm using fcntl to lock files across file systems.  When the remote lockd goes
  13. down, my process hangs until lockd comes up again, which can be quite a long 
  14. time.  Is there any way to recover from this situation, or better yet avoid it 
  15. altogether?  Since the parent process is init while the process is trying to 
  16. lock, users can't kill it.  Ideally, I want to test to see if the remote lockd
  17. is up, but a nice way to kill the process would be better than nothing.
  18.  
  19. For what it's worth, I'm using HP-UX 7.05 and 8.07 on 9000/425's.
  20.  
  21. Thanks,
  22.  Rick Johns
  23.  BNR
  24.  (919)991-7191
  25.  
  26. Disclaimer: I said it, BNR didn't.
  27.