* Apart from logging, it would be better to build glusterfs with CFLAGS set to &#39;-g -O0&#39;, so that it is built with debugging information and no code optimization. And when crash happens, back trace got by using gdb with command &#39;bt full&#39; will be helpful for us to debug the issue.<br>
<br>Following may not be useful to debug a crash, but they are helpful to debug other issues like memory leak etc.<br>* debug/trace translator when used judisciously can help debug issues, since we can know that what each translator does to the results of calls.<br>
<br>* process state dump of glusterfs got by sending SIGUSR1 (kill -SIGUSR1 &lt;glusterfs pid&gt;) is useful to debug memory leaks.<br><br>* while debugging issues involved with libglusterfsclient or booster, a loglevel of TRACE will be useful.<br>
<br>regards,<br><div class="gmail_quote">On Fri, Feb 5, 2010 at 1:50 PM, Daniel Maher <span dir="ltr">&lt;<a href="mailto:dma%2Bgluster@witbe.net">dma+gluster@witbe.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I&#39;m currently in the process of testing a Gluster 3.0.0 setup (4 nodes, 2 servers, 2 clients, client-side replication), and have run into the occasional hiccup (and at least one big crash).<br>
<br>
Unfortunately, the logged remnants of these incidents leave something to be desired, and as anyone who&#39;s tried to track down a crash knows, the more log data you have, the better.  Thus, i&#39;d like to know from the Gluster community and devs what options, functionalities, and features i should be using in order to ensure that i&#39;m getting all the log data i can when something goes wrong.<br>

<br>
Beyond increasing the Gluster log level, what other sorts of things should i be doing ?  What sorts of logging have you done during your tests ?<br>
<br>
Thanks !<br><font color="#888888">
<br>
<br>
-- <br>
Daniel Maher &lt;dma+gluster AT witbe DOT net&gt;<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>