[rabbitmq-discuss] [Bug] Memory leak in 3.1.3 (Ubuntu)
Tim Watson
tim at rabbitmq.com
Fri Jul 5 13:24:34 BST 2013
Well there's a good reason why that leaks I think. When is the test case ever actually getting into the ./queue_receive bit!? Isn't that like doing `while true; do echo "hi"; done; echo "done"` - you never arrive at "done" do you.
Even if you were calling the receive script in the loop, that's creating a new consumer and not removing it, so the memory use for all those connections will just keep going up since they're never being closed.
Have I missed something? It really looks like this is just a badly formed test case to me.
Cheers,
Tim
On 5 Jul 2013, at 13:15, Louis Bouchard wrote:
> Hello everyone,
>
> I would like to bring to your attention an issue that translates into a
> memory leak in the latest version available on Ubuntu( 3.1.3). Our
> public bug report is here :
>
> https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1197380
>
> A reproducer is available in the bug report. Simply running the test
> mentioned did use all of a 2Gb instance to ~1Mb of free space.
>
> I'm hoping to test the tip of the hg repository soon to see if an
> existing patch solves the issue, but I thought of bringing it up here
> while doing so.
>
> Kind regards,
>
> ...Louis
> --
> Louis Bouchard
> Backline Support Analyst
> Canonical Ltd
> Ubuntu support: http://canonical.com/support
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list