[rabbitmq-discuss] Channel crashes after basic.cancel_ok.
Edwin Fine
rabbitmq-discuss_efine at usa.net
Mon May 12 22:15:26 BST 2008
Ben,
Thanks for being so responsive to input. It's really great and much
appreciated.
Regards,
Ed
On Mon, May 12, 2008 at 4:44 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> Ed,
>
> On 12 May 2008, at 20:56, Edwin Fine wrote:
>
> Ben,
> >
> > I was monitoring my running system, and unless I am mistaken, it looks
> > as if amqp_network_connection:reader_loop/4 has a non-tail recursive call,
> > which is making it eat stack and heap like there's no tomorrow. There's a
> > call to gen_tcp:close(Sock) at the end of the function. I suggest you move
> > this to the last line of start_reader as shown:
> >
>
> Fair point. I've applied this change. Thanks for pointing this one out.
>
> The outstanding issue is to close the writer down properly in the network
> > case.
> >
>
> I've fixed the issue with the network writer not being shut down properly
> and it's in mtn.
>
> HTH,
>
> Ben
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080512/82efa35c/attachment.htm
More information about the rabbitmq-discuss
mailing list