Title: RE: [Hardhats-members] set HL COMMUNICATION SERVER PARAMETERS fails

With GT.M, the first process to open a database file sets up the control structures to manage it, and the last one out turns out the lights and cleans up.  Mupip rundown is not required for normal operation.

Mupip rundown was designed so that in the event a PC was powered down with processes accessing the database, and there is no database damage, then a rundown cleans up certain fields in the database file header.  It is not needed when journaling is used.

Another use for mupip rundown is to see whether any processes are accessing a database before shutting down a computer system.  Another way to do this is to execute "ps -ef | grep mumps".

Note that it is not a good idea to shut down VistA by issuing a mupip stop to all mumps processes.  If, for example, the processes are Taskman processes. there is information in the database about their process ids, etc.  It is better to shut them down cleanly from inside VistA, and they will clean up the database before shutting down.

If you find yourself needing to rundown databases routinely, let's review what you are doing in order to find out what you should do differently.  Using a medical analogy, if you find a patient using bronchdilators or nitroglycerine frequently, you would try to find and treat an underlying condition, even if what they are doing gives them relief.

-- Bhaskar

-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of Kevin Toppenberg
Sent:   Tue 3/8/2005 6:52 AM
To:     hardhats-members@lists.sourceforge.net
Cc:    
Subject:        RE: [Hardhats-members] set HL COMMUNICATION SERVER PARAMETERS fails
Bhaskar,

Superstition perhaps?

Actually, it seems that when the database has not been
rundown properly, that attempting to access globals is
unsuccesful.  Thus if one has code that depends on
this variable, it will fail.  So it seems that I have
had programs that just drop out, or act funny--only to
start working properly when the database was rundown.

Kevin

Reply via email to