RabbitMQ I meant.� Subscribed to too many mailing lists.<br><br clear="all">--DS<br>
<br><br><div class="gmail_quote">2009/5/25 Dave Smith <span dir="ltr">&lt;<a href="http://dave.smith.to">dave.smith.to</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think in general sending a SIGKILL (9) to a process should be done in exceptional cases, and not as a part of a normal shutdown.� Typically applications respond to SIGTERM (15) to shutdown in an orderly manner. <br><br>
I&#39;m not sure of the details of CouchDB, but BEAM response to SIGTERM in a reasonable way and terminates gracefully.<br>
<br clear="all">--DS<br>
<br><br><div class="gmail_quote">2009/5/21 Eric Hanchrow <span dir="ltr">&lt;<a href="mailto:eric.hanchrow@gmail.com" target="_blank">eric.hanchrow@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I&#39;ve got a system that manages child processes, and stops those<br>
processes by simply sending them a fatal signal -- in Unix parlance,<br>
it does &quot;kill -9 &lt;process ID&gt;&quot;. �The process that it currently manages<br>
deal gracefully with being killed, but I&#39;m hoping to add rabbitmq to<br>
this system, and would prefer not to have to write any special code<br>
for it -- that is, I&#39;d like to be able to stop it, too, by sending it<br>
a fatal signal. �Is this a reasonable thing to do? �In particular, can<br>
I expect that whatever it&#39;s written to disk will remain consistent?<br>
<br>
As it happens, I am not using, and don&#39;t plan to use, any persistent<br>
queues; I assume this fact increases the chances I&#39;ll get away with<br>
this.<br>
<br>
Also, I&#39;ve tried killing rabbitmq and restarting it, with clients<br>
connected, and have not observed anything alarming. �I _did_ see a log<br>
message or two like this<br>
<br>
=INFO REPORT==== 21-May-2009::15:24:28 ===<br>
Repaired persister log - 1 recovered, 0 bad<br>
<br>
... but I figure those are _good_ signs, not bad.<br>
<br>
So: dumb idea, or perfectly fine?<br>
<br>
Thanks.<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div></div></div><br>
</blockquote></div><br>