in reply to Net::Daemon memory leak problem

Have you tried to use the the "--mode=fork" option? Might be an easy way to see if you need to work on your threading.

Replies are listed 'Best First'.
Re^2: Net::Daemon memory leak problem
by pjnet (Novice) on Aug 04, 2006 at 18:03 UTC
    Yup - tried a few things, but nothing really seemed to work...

    except... reworking both servers in Net::Server::Fork. Took me 30 minutes, and works like a dream.

    Thing is, it's not my threading as I was relying entirely on Net::Daemon to do that for me.

    Is there a way to say on CPAN "use Net::Server instead of Net::Daemon"?

    The 2 servers now run fantastically well and fast. Glad I coded it so well in the first place!

    Paul