[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20060223: how often does an ldm "request" products?



Chris,

When the upstream rpc.ldmd has sent all available products in the queue, it 
will suspend itself until:
1) a shared SIGCONT is received from a process in the same group which
   inserts data into the product queue
2) the specified (compile time) interval (30 seconds) in 
~ldm/src/protocol/globals.c,
   and then it will check the queue to see if any new data has been inserted.
   As a result, it could be anywhere from 0 to 30 seconds in that suspend loop.

Optimally, your process which inserts data into the ldm queue would be started 
from the
ldmd.conf exec action, so it is a member of the LDM process group, and then
the pqinsert would share the signal that new data is available.

Once the rpc.ldmd is sending data to the downstream host, it will continue until
it hits the end of the queue again before suspending again, so if you inserted 
6 files
in that time period, you should see all get processed, an not 30 seconds in 
between each.

Steve Chiswell
Unidata User Support


>From: Chris Webster <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200602231633.k1NGX2O7020124

>We are generating files every 5 seconds.  But they seem to show up every 
>30 seconds....
>
>--Chris
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.