home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.hp:10293 comp.unix.questions:10958
- Newsgroups: comp.sys.hp,comp.unix.questions
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!brtph560!brtph46!rjohns
- From: rjohns@brtph46.BNR.CA (Richard Johns)
- Subject: Avoiding process hang when lockd crashes
- Message-ID: <1992Sep11.140753.14004@brtph560.bnr.ca>
- Sender: news@brtph560.bnr.ca (Usenet News)
- Reply-To: rjohns@brtph46.BNR.CA (Richard Johns)
- Organization: Bell-Northern Research Ltd.
- References: <1992Sep10.204513.3532@brtph560.bnr.ca>
- Date: Fri, 11 Sep 1992 14:07:53 GMT
- Lines: 16
-
-
- I'm using fcntl to lock files across NFS. 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 program 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.
-