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

[LDM #DBK-582040]: 6.10.1 how to diagnose pqact memory leak?



Daryl,

> I'm noticing one of my pqact processes appears to be leaking memory.
> Here's the process after starting.
> 
> ldm      29112  0.3  0.1 3026724 17920 ?       S    13:35   0:00 pqact -f EXP 
> pyWWA/pqact_iemvs.conf
> 
> Two minutes later:
> 
> ldm      29112  0.3  0.5 3026852 65088 ?       S    13:35   0:00 pqact -f EXP 
> pyWWA/pqact_iemvs.conf
> 
> Four minutes later:
> 
> ldm      29112  0.2  0.9 3026852 115616 ?      S    13:35   0:00 pqact -f EXP 
> pyWWA/pqact_iemvs.conf

What are the columns in the (I assume) ps(1) output? What was the command you 
used?

The value of the 5th column doesn't change from two minutes to four minutes. Is 
this meaningful?

Most of the "memory" used by a pqact(1) process will be the product-queue 
(because it's memory-mapped). Because the product-queue is shared by all 
pqact(1) processes, it doesn't really affect the net memory usage.

> It was up to 1.7GB before i restarted it just now.  The pqact_iemvs.conf
> file is here:
> 
> https://trac.agron.iastate.edu/trac/pyWWA/browser/pqact_iemvs.conf
> 
> pstree and associated commands don't appear to show any processes dangling
> off of this pqact process.  Any suggestions on how to diagnose this or am
> I missing something?  I have five pqacts running and here is their current
> snapshot.
> 
> ldm      29110  0.1  0.1 3026872 20120 ?       S    13:35   0:00 pqact 
> pyWWA/pqact_gempak.conf
> ldm      29111  0.1  0.3 3027120 39112 ?       S    13:35   0:00 pqact 
> pyWWA/pqact_filer.conf
> ldm      29112  0.2  1.0 3026852 128456 ?      S    13:35   0:00 pqact -f EXP 
> pyWWA/pqact_iemvs.conf
> ldm      29113  0.1  0.1 3026716 19756 ?       S    13:35   0:00 pqact 
> pyWWA/pqact-afos.conf
> ldm      29114  0.1  0.3 3026592 37056 ?       S    13:35   0:00 pqact -f 
> NIMAGE pyWWA/pqact-gini.conf
> 
> thank you,
> daryl
> 
> --
> /**
> * Daryl Herzmann
> * Assistant Scientist -- Iowa Environmental Mesonet
> * http://mesonet.agron.iastate.edu
> */

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: DBK-582040
Department: Support LDM
Priority: Normal
Status: Closed