Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: memory leak with perl ithreads

by Anonymous Monk
on Nov 10, 2012 at 02:29 UTC ( #1003219=note: print w/replies, xml ) Need Help??

in reply to memory leak with perl ithreads

I've also had this problem on CentOS. It seems that usleep() is causing the memory leak. For some reason usleep() seems to kill the httpd script, and httpd processes (as indicated by the "top" shell command) eventually overload the server. After removing usleep() from my script, no more memory leaks.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2016-10-27 04:06 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (352 votes). Check out past polls.