in reply to Net::Daemon memory leak problem

You need to show more code. Threads won't destroy themselves automagically, they either need to be joined or detached, and they must finish ( or return ) from their code block for them to end.

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Net::Daemon memory leak problem
by pjnet (Novice) on Aug 04, 2006 at 18:00 UTC
    Right - showing more code would be rather pointless. You can literally take the code from the Net::Daemon perldoc (as I mentioned in the previous link) for the Calculator server and run that.

    The fault is within Net::Daemon - and if you replace the lines I mentioned previously in the Net/Daemon.pm module file then you'll see what I mean.

    Needs no more code.

    Paul