home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: 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 P205)
- Subject: Process hangs when lockd crashes
- Message-ID: <1992Sep15.185345.11524@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: Tue, 15 Sep 1992 18:53:45 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.
-