It's most likely the leak we found in POE::Component::Client::Keepalive.
The problem arises when the connection limit is reached and requests
start getting queued until a connection from the pool becomes available.
The problem is the request context items are never removed from the
queue when requests are satisfied in this way.
Attached is a patch that fixed the problem for us. I plan to work up a
simple case to reproduce the leak and send it to Rocco when I have the time.
Hope this helps.
Cheers,
Mike
Ivan Mitoyarov wrote:
> Hello!
> There is memory leak in little program attached. Command
> ps -axo rss,command |grep tpoe|grep -v grep
> shows constantly growing program's rss while program is running.
> I can't figure out what is wrong with it, please help.
>
> Thanks in advance.
> --
> Ivan.
Thank you.
--
Rocco Caputo - rca...@pobox.com
On Feb 2, 2008, at 07:51, Ivan Mitoyarov wrote:
> Hello!
> There is memory leak in little program attached. Command
> ps -axo rss,command |grep tpoe|grep -v grep
> shows constantly growing program's rss while program is running.
> I can't figure out what is wrong with it, please help.
>
> Thanks in advance.
> --
> Ivan.
> <tpoe.pl>