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.
Comment on
Re: Net::Daemon memory leak problem
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
[reply]
Re^3: Net::Daemon memory leak problem
by
perrin
(Chancellor)
on Aug 04, 2006 at 18:48 UTC
On the
Net::Daemon distribution page
you will find a link to report bugs.
[reply]
In Section
Seekers of Perl Wisdom