home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.networking
- Path: sparky!uunet!gatech!news.ans.net!ans.net!db3l
- From: db3l@ans.net (David Bolen)
- Subject: Re: TCP/IP System Shutdown WIBNI
- Sender: news@ans.net (News Administrator)
- Message-ID: <1992Aug27.191244.25428@ans.net>
- In-Reply-To: backman@vax's message of Thu, 27 Aug 1992 12: 00:12
- Date: Thu, 27 Aug 1992 15:14:08 GMT
- References: <92238.095918NLAFLAMM@vma.cc.nd.edu> <1992Aug26.153224.25379@ans.net>
- <920827120012@tunes>
- Organization: Advanced Network & Services, Inc. - Elmsford, NY
- Lines: 34
-
- In article <920827120012@tunes> backman@vax (Larry Backman) writes:
-
- >IFS's also get a FS_SHUTDOWN call (2 in fact) frm the OS telling them that to
- >clean up shop and go away. I had a very amusing bug where I blocked
- >the OS from shutting down while waiting to timeout an RPC to an NFS
- >server that had gone away. 45 seconds later...the RPC timed out,
- > returned from FS_SHUTDOWN and the system shut down.
-
- Right, but those requests are at a lower level than the Shutdown menu option
- from the desktop. It's one of the things that eventually also occurs due
- to the Shutdown choice, but it's also triggered if all you do is press
- Ctrl-Alt-Del (which is why that's a safe reboot mechanism from the point of
- view of filesystem integrity).
-
- But then you already know this from writing your IFS :-)
-
- Your "bug" sounds very familiar - actually, I used to intentionally cause
- that behavior so that when I went to reboot with Ctrl-Alt-Del, I could pause
- the system for a bit so I could see the final debugging output from my IFS
- as it processed the shutdown :-)
-
- 'Course, it wasn't funny during the initial development when my IFS was
- waiting indefinitely for it's user-level control program to return from the
- shutdown - so much for Ctrl-Alt-Del :-) I ended up making the default not to
- depend on the user-level task for shutdown, especially during development :-)
-
- --
- -- David
- --
- /-----------------------------------------------------------------------\
- \ David Bolen \ Internet: db3l@ans.net /
- | Advanced Network & Services, Inc. \ Phone: (914) 789-5327 |
- / 100 Clearbrook Road, Elmsford, NY 10523 \ Fax: (914) 789-5310 \
- \-----------------------------------------------------------------------/
-