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: 94     Entry time: 20 Nov 2003     In reply to: 93     Reply to this: 95   96
Author: Konstantin Olchanski 
Topic:  
Subject: cannot shutdown defunct clients 
> > 1) shutdown from mhttpd "programs" page -> "cannot shutdown client"
> Have you tried a "cleanup" in ODBEdit?

Nope. Will try next time...

> The "last_activity" is a 32-bit int, filled with milliseconds. So indeed it 
> wraps around after about one month.... change last_activity 
> from INT to DWORD. This way it's alway positive and the wraparound does not 
> hurt.

INT == "int", wraparound in 1 month
DWORD == "unsigned int", wraparound in 2 months

should we make it the 64-bit "long long" (or C98's "int64_t")?

K.O.
ELOG V3.1.4-2e1708b5