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

[LDM #OXJ-933917]: LDM pqing setting xon/xoff



Bill,

> When I recompiled without the code you sent me. ldmadmin stop still would
> not terminate after 15 minutes.

So, you've had this problem all along, then.

> > What's the largest data-product, in bytes, that you expect to see?

> The logs is showing some nearing  46000 bytes.

> Aug 29 19:37:04 pqutil INFO:       5169 20170829193703.431 IDS|DDPLUS 898
> FPUS64 KOHX 291937 /pSFTOHX
> Aug 29 19:37:12 pqutil INFO:      32025 20170829193711.780 IDS|DDPLUS 899
> FOUS54 KOHX 291938 /pPFMOHX
> Aug 29 19:37:13 pqutil INFO:       3844 20170829193712.836 IDS|DDPLUS 900
> FXUS62 KMLB 291938 /pAFDMLB
> Aug 29 19:37:18 pqutil INFO:      23606 20170829193717.558 IDS|DDPLUS 901
> FNUS52 KILM 291937 /pFWFILM
> Aug 29 19:37:27 pqutil INFO:      91667 20170829193726.472 IDS|DDPLUS 902
> FOUS54 KOHX 291938 /pAFMOHX
> Aug 29 19:37:34 pqutil INFO:       1883 20170829193733.693 IDS|DDPLUS 903
> WWUS85 KSLC 291938 /pRFWSLC
> 
> Quick snapshot. looks like bigger products than I first saw in the log

That should be OK. pqing(1) will dynamically increase the size of its input 
buffer as necessary -- though you might miss some input while it does.

> > Is /dev/ttyS0 a pseudo-terminal?

> /dev/ttyS0 is a physical serial hardware.

In that case, I'll need to add the option O_TTY_INIT to the open().

I still don't understand why pqing(1) doesn't respond to the SIGTERM it's being 
sent. It should read, at most, 4096 bytes of input before checking the "done" 
flag that's set by the SIGTERM handler.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OXJ-933917
Department: Support LDM
Priority: Normal
Status: Closed
===================
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.