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

[TIGGE #EEC-237791]: Memory problem with LDM Server at CMA



MA Qiang,

> The swap space is not being used in this system. Maybe there is error indent 
> in my e-mail editor.
> The output of "free" is as follows:
> ldm01@tgn06 [ /usr/local/ldm01/etc ]
> $ free
> total       used       free     shared    buffers     cached
> Mem:      32908872   15904560   17004312          0     151556   13137956
> -/+ buffers/cache:    2615048   30293824
> Swap:      2097144          0    2097144

You are correct: no swap is being used.  My mistake.

> I executed "pqmon" after ldm had run over 1 day, and got the following output:
> ldm01@tgn06 [ /usr/local/ldm01/etc ]
> $ pqmon -q /space/ldm_pq/ldm.pq
> Feb 06 19:31:04 pqmon NOTE: Starting Up (8415)
> Feb 06 19:31:04 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods  
> maxfree  minempty    maxext  age
> Feb 06 19:31:04 pqmon NOTE:  33652  2055 2893980 11873366088    195309     
> 2105   2734372    440256 3318
> Feb 06 19:31:04 pqmon NOTE: Exiting

The "nprods" and "nempty" variables indicate that the product-queue is
limited by the amount of data space and not by the number of slots.

The age of the oldest product is still less than one hour.

> I am very interested in ploting time series of the parameters. Could you 
> please send me some scripts?

I've enclosed the script "plotUptime".  A typical invocation would be

    plotUptime -u ldm01 -f logs/tigge-ldm.uptime tigge-ldm.cma.gov.cn </dev/null

> Our networker administrator has disabled the tgn06's ssh port on firewall, 
> because the testing application for ssh was out of date. I attach the 
> ldmd.conf to this e-mail.

The entry "ALLOW        ANY     tgn00   .*" allows any computer
with "tgn00" in its fully-qualified hostname to request data.  This
is probably not what you want.

The entry "allow        ANY     depot\.cmc\.ec\.gc\.ca  .*" allows
any computer with "depot.cmc.ec.gc.ca" in its name to obtain data.
This is why the request from "accessdepot-nat.cmc.ec.gc.ca"
is denied.

I've attached a modified LDM configuration-file that should work better.
You should check it against your existing configuration-file.  The
main difference is the increased use of regular-expression anchors:
start-of-string (^) and end-of-string ($).

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: EEC-237791
Department: Support IDD TIGGE
Priority: Normal
Status: Closed

Attachment: plotUptime
Description: Binary data

Attachment: ldmd.conf
Description: Binary data