http://qs321.pair.com?node_id=822332


in reply to Perl threads memory leak with socket and solutions I tried...

You'll never get this to work right. Consider use forks or building some long running worker threads. Ultimately you'll never really be happy with threads in Perl (just a guess). Some people use them. Another option is Coro. Might be better.

-Paul

Replies are listed 'Best First'.
Re^2: Perl threads memory leak with socket and solutions I tried...
by ilxl (Initiate) on Feb 10, 2010 at 09:30 UTC
    Thanks. I tried forks. When I start the program, it will create 2 processes. One of the process, the child process, still has memory leak problem, although the memory increases very slowly.