Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  20 Nov 2003, Konstantin Olchanski, , midas timeout wraparound 
    Reply  20 Nov 2003, Konstantin Olchanski, , cannot shutdown defunct clients 
       Reply  20 Nov 2003, Stefan Ritt, , cannot shutdown defunct clients 
          Reply  20 Nov 2003, Konstantin Olchanski, , cannot shutdown defunct clients 
             Reply  20 Nov 2003, Stefan Ritt, , cannot shutdown defunct clients 
             Reply  20 Nov 2003, Renee Poutissou, , cannot shutdown defunct clients 
                Reply  24 Nov 2003, Stefan Ritt, , cannot shutdown defunct clients 
Message ID: 96     Entry time: 20 Nov 2003     In reply to: 94     Reply to this: 97
Author: Renee Poutissou 
Topic:  
Subject: cannot shutdown defunct clients 
Indeed the ODB command "cleanup" really works. I have used it several
times with the TWIST DAQ and regularly with the BNMR/MUSR setups where
we have these stubborn clients (ie feepics) that do not want to shutdown
cleanly.  
But there is one problem with "cleanup". It has a hardwired timeout of
2 seconds.  This is a problem for tasks like lazylogger which set a timeout
of 60 seconds when moving the tape. So BEWARE, if you issue the "cleanup"
command, it might kill some clients who have setup their timeout to longer
than 2 seconds. 

I have asked Stefan to change this before. He said that, to be effective,
the timeout value used for "cleanup" has to be rather short. 
One possibility, would be to allow for a user entered "cleanup" timeout.
The default could stay at 2 seconds. 




> > Have you tried a "cleanup" in ODBEdit?
> 
> Nope. Will try next time...
> 
ELOG V3.1.4-2e1708b5