Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: memory not freed after perl exits. Solaris.

by mjscott2702 (Pilgrim)
on Nov 23, 2010 at 12:48 UTC ( #873198=note: print w/ replies, xml ) Need Help??


in reply to Re: memory not freed after perl exits. Solaris.
in thread memory not freed after perl exits. Solaris.

You can use the "top" command to check for zombies, in case your program is leaving orphaned processes around once it exits - just run it before and after, and see if the zombie count increases.


Comment on Re^2: memory not freed after perl exits. Solaris.
Re^3: memory not freed after perl exits. Solaris.
by salva (Monsignor) on Nov 23, 2010 at 12:58 UTC
    zombie processes are reaped by the init process as soon as the main process exits so in practice it is impossible to have orphaned zombie processes!
      OK, I probably didn't use the best terminology there. Semantics aside, my point was that the "top" command would allow the user to see if the program was creating zombies in the first place, and hopefully help to debug the issue. Thanks for "clarifying" things and providing valuable pointers.....

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://873198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-07-14 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls