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

20050504: LDM - Binaries available?



Scott,

>Date: Wed, 04 May 2005 07:56:45 -0800
>From: "Scott Swank" <address@hidden>
>Organization: NOAA/NWS
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20050429: LDM - Binaries available?
>Keywords: 200504291922.j3TJMbKx001883

The above message contained the following:

> I've modified runDecoder.ksh so that all it does is extract the data 
> from the queue and the pqact.conf is reconfigured with the PIPE action. 
>   It is still being called multiple times for any given product that is 
> inserted into the queue.  Interestingly enough, I attempted to put it 
> back in as an EXEC and I am once again seeing this multiple call on the 
> EXEC even with the -wait option. I am also still seeing missed execution 
> on some products that are inserted into the queue as well.
> 
> My current configuration is using the PIPE config and calling the script 
> runDecoder.ksh that logs when it was called, echos the pqcat command to 
> extract the data, extracts the data to a file, then exits.
> 
> Suggestions?

I would have the decoder (runDecoder.ksh) read the data-product from
standard-input because that way is more efficient than invoking pqcat(1)
in the decoder script and less prone to error.  Also, the pqact(1)
process will notice that it couldn't pipe the data-product to the child
decoder process and will, I believe, try to do this twice before giving
up -- which might explain the behavior you're seeing.

> Scott

Regards,
Steve Emmerson