<html><head><base href="x-msg://1491/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 5 Apr 2013, at 13:07, Cermak, Marek wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; font-family: Helvetica; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; ">Hello everybody,<o:p></o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; ">I continue with stress testing on limited memory. This time I have problem with RMQ going down without any warning after consuming a lot of memory.<o:p></o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; "><o:p> </o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; ">Producer asks for ingress on the channel<o:p></o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">amqp_channel:register_flow_handler(Channel, self()),</span></div></div></div></span></blockquote><div><br></div><div>The process represented by 'self()' in that call should receive `#channel.flow{}` messages yes.</div><br><blockquote type="cite"><span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 13px; ">The broker warns once on the console and then it is killed:</span></blockquote><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; "><o:p> </o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">13:48:24.429 [warning] Undefined: memory resource limit alarm set on node hare@xxx<o:p></o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">Killed<o:p></o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; "><o:p> </o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; ">shouldn't the producer be warned instead?<o:p></o:p></span></div><div style="margin-top: 0mm; margin-right: 0mm; margin-left: 0mm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Georgia, serif; "></span></div></div></div></span></blockquote><div><br></div><div>The producer should get throttled as well as receiving a flow notification - rabbit stops reading from the socket, at which point TCP back-pressure is exerted. Who does the killing here, i.e., where does that 'Killed' come from? Are you saying that rabbit crashes (with OOM for example) before the producer gets the flow notification?</div><br></div><br></body></html>