<br><div class="gmail_quote">2011/11/28 Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div>On 28/11/11 19:20, Pierre Payet wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
After a crash of the Rabbitmq server,<br>
</blockquote>
<br></div>
Do you know what happened? Did it run out of disk space by any chance?</blockquote><div><br>It&#39;s not the disk space but I&#39;m not sure of how to answer this question. Looking at the rabbitmq@curtiz.log.1, the last event reported is a tcp connection attempt but no trace of the fulfilling of it.<br>

Looking at rabbitmq-sasl.log.1 I just have this message :<br><div style="margin-left: 40px;">=SUPERVISOR REPORT==== 23-Nov-2011::17:36:29 ===<br>���� Supervisor: {&lt;0.1220.149&gt;,<br>������������������������������������������ rabbit_channel_sup_sup}<br>

���� Context:��� shutdown_error<br>���� Reason:���� shutdown<br>���� Offender:�� [{pid,&lt;0.1222.149&gt;},<br>����������������� {name,channel_sup},<br>����������������� {mfa,{rabbit_channel_sup,start_link,[]}},<br>����������������� {restart_type,temporary},<br>

����������������� {shutdown,infinity},<br>����������������� {child_type,supervisor}]<br></div><br>�<br>I&#39;ve limited the amount of memory to 20% and i&#39;m using blocking connection with pika to publish a message. Here is the python code :<br>
��� connection = pika.BlockingConnection(pika.ConnectionParameters(host=host))<br>��� channel = connection.channel()<br>��� <br>��� channel.queue_declare(queue=queue, durable=True)��� <br>��� <br>��� channel.basic_publish(exchange=&#39;&#39;, routing_key=queue, body=url, properties=pika.BasicProperties(delivery_mode = 2,))<br>
��� <br>��� connection.close()<br><br>I have remarked that i have a lot&#39;s of connection running at the same time. Could it be a too high amount of connection to the server that crashed it ? Do you think i don&#39;t close properly the connection knowing that there is 6 instances of my program running at the same time ?<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>

<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Can anyone help me to recover the messages in the queue ?<br>
</blockquote>
<br></div><br>
Try deleting /var/lib/rabbitmq/mnesia/rabbit@curtiz/queues/67BZ7QWHYIY1S405V2E0881G9/37.idx. Hopefully that will allow rabbit to start with at least some of the data still present.<br>
<br></blockquote><div><br>I managed to restart the server so it solved the problem. Thank you. <br><br>Regards<br><br>Payet P<br>
</div></div>