<p dir="ltr">I'm also studying some crashes and trying to fix them.</p>
<p dir="ltr">Can you give us information on:<br></p>
<p dir="ltr">- Collectd exact version ( from git ? Package ?)<br>
- exact system os version<br>
- enabled plugins and configuration.<br>
- when it crashes? ( on start ? While running randomly ? )<br>
- how often it happens?<br>
- can you reproduce the crash? <br>
- can you get core dumps ? ( ulimit -c unlimited , before restart )</p>
<p dir="ltr">Thanks!!<br></p>
<p dir="ltr">-</p>
<div class="gmail_quote">El 24/06/2014 16:42, "Yves Mettier" <<a href="mailto:ymettier@free.fr">ymettier@free.fr</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1/ check the logs<br>
2/ if logs are not enabled, enable the logs<br>
3/ run collectd with -f option to prevent forking. You can find some problems like this<br>
4/ check if there is a core file. If not, enable it to generate a core (man ulimit, coreadm...)<br>
5/ get information from the core file (gdb, dbx are debuggers. Get the stacktrace to know where it cores. With gdb, "bt" is the command)<br>
6/ run Collectd with fewer plugins in order to find out if (and which) plugin is broken or misconfigured<br>
<br>
<br>
Step 1 to 5 are generic to any program (step 3 is generit to any daemon)<br>
Step 6 is specific to Collectd.<br>
<br>
Regards<br>
Yves<br>
<br>
<br>
Le 2014-06-24 13:02, Stuart Cracraft a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have crashing collectd's daily.<br>
<br>
What is the best approach?<br>
<br>
Currently I am just restarting them.<br>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
</blockquote></div>