Hi.<br><br>I'm a having issues with a huge memory consumption with rabbit.<br><br>I'm uting rabbit 1.7.2 with Debian Linux<br><br><br>----- /etc/rabbitmq/rabbitmq.config ----<br>[{rabbit, [{vm_memory_high_watermark, 0.2}]}].<br>
------------------------------------------------------<br><br>I hit the maximum:<br>------ tail -f /var/log/rabbitmq/rabbit.log | grep -i memory ------<br>vm_memory_high_watermark set. Memory used:434801384 allowed:429496729<br>
alarm_handler: {set,{vm_memory_high_watermark,[]}}<br>------------------------------------------------------<br>
<br><br>I'm sopposed to use channel.flow to stop the producer. My python code is:<br><br>-------------------------------------------<br> while not self.chan.flow(True):<br> sys.stdout.write("W")<br>
sys.stdout.flush()<br> time.sleep(1)<br><br> self.chan.basic_publish(msg,<br> exchange=self.config_amqp["exchange"],<br> routing_key=self.config_amqp['routing_key'])<br>
-------------------------------------------<br>
<br>What i'm doing wrong?<br><br>BTW, Im using delivery_mode=2 and a durable exchange and queue<br><br>PS: thanks <span class="irc-black">tonyg for your irclog: </span> <a href="http://dev.rabbitmq.com/irclog/index.php?date=2010-05-13">http://dev.rabbitmq.com/irclog/index.php?date=2010-05-13</a> <br>
<br clear="all">Nico César<br>