home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:10267 comp.unix.programmer:4618
- Newsgroups: comp.sys.hp,comp.unix.programmer
- Path: sparky!uunet!sun-barr!ames!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!brtph560!brtph46!rjohns
- From: rjohns@brtph46.BNR.CA (Richard Johns P205)
- Subject: Avoiding process hang when lockd crashes
- Message-ID: <1992Sep10.204513.3532@brtph560.bnr.ca>
- Sender: news@brtph560.bnr.ca (Usenet News)
- Reply-To: rjohns@brtph46.BNR.CA (Richard Johns P205)
- Organization: Bell-Northern Research Ltd.
- Date: Thu, 10 Sep 1992 20:45:13 GMT
- Lines: 15
-
- I'm using fcntl to lock files across file systems. When the remote lockd goes
- down, my process hangs until lockd comes up again, which can be quite a long
- time. Is there any way to recover from this situation, or better yet avoid it
- altogether? Since the parent process is init while the process is trying to
- lock, users can't kill it. Ideally, I want to test to see if the remote lockd
- is up, but a nice way to kill the process would be better than nothing.
-
- For what it's worth, I'm using HP-UX 7.05 and 8.07 on 9000/425's.
-
- Thanks,
- Rick Johns
- BNR
- (919)991-7191
-
- Disclaimer: I said it, BNR didn't.
-