TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Michael Gleason
from: Mike Bilow
date: 1995-08-19 17:18:36
subject: Re: Restarting OS/2

Michael Gleason wrote in a message to Mark Kimes:

 MG> Since I know you are well versed in the BBS Biz you know
 MG> that some BBS software goes brain dead and refuses to answer
 MG> the phone (for one reason or another) but still act as
 MG> though they are working but can not talk to the modem any
 MG> longer. That would make it necessary to either kill the BBS
 MG> process and restart it OR shutdown the system and reboot it.
 MG> Since most people can not figure out how to detect a BBS
 MG> lockup, then shut it down and restart it (Me included), it
 MG> is easier to shut the system down.... I apologize if I am
 MG> telling you something that you already know but, there is a
 MG> BIG need for an OS/2 utility that could monitor the BBS and
 MG> reset automatically it if it hangs.

You have separate problems here.  By the way, I have been running a native
OS/2 Fidonet BBS system under Binkley and Maximus for a long time, and I
have never yet had a hang condition arise of the kind you describe.

1.  How to detect a BBS hang.

This is easy to do only if you are guaranteed some kind of heartbeat
behavior from the BBS program.  In many cases, such behavior is probably
going to be specific to a particular kind of BBS software.  For example,
some BBS software will poll the serial port, and other kinds might make
release timeslice calls. It would be rather easy to write a program,
ideally an OS/2 virtual device driver (VDD), that would detect the lack of
heartbeat for some period of time and kill the process.  If you have access
to the BBS source code, it would be possible to do quite elegant things,
even from a DOS program, with little additonal programming effort.

2. What do to upon detecting a BBS hang.

Under no circumstances is it reasonable to reboot the whole system.  If you
don't have the hung process killed from within the VDM by a VDD, then it
could be killed externally by some sort of monitor process which would be a
native OS/2 application.  Once the process has been killed, it is
relatively easy to detect this and restart it.

-- Mike


---
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 323/107 150 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.