<div dir="ltr">spot on! Thanks for the memory leaks tip. I will add a cron to restart them regularly.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 5:45 PM, Bostjan Skufca <span dir="ltr"><<a href="mailto:bostjan@a2o.si" target="_blank">bostjan@a2o.si</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Configuration management maybe (puppet, chef et al)?<div>Also, I recently croned collectd restarts as it was found out there are memory leaks.</div>
<div><br></div><div>b.</div><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 23 May 2013 16:23, Joaquin Cuenca Abela <span dir="ltr"><<a href="mailto:joaquin@cuencaabela.com" target="_blank">joaquin@cuencaabela.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I'm on Ubuntu 12.04 with collectd 5.3.0 and running collectd with collectdmon. Every few hours (sometimes only a few minutes after a restart), my /etc/collectd/collectd.conf is overwritten by a default version of this file.</div>
<div><br></div><div>These changes are close in time to some collectd restarts. In this example the file was written 1 minute after the last collectd restart:</div><div><br></div><div><div>root@eu4:/etc/collectd# ls -ld collectd.conf</div>
<div>-rw-r--r-- 1 root root 16457 May 23 13:37 collectd.conf</div><div><br></div><div><div>May 23 13:36:11 ns2281597 collectd[27197]: Exiting normally.</div><div>May 23 13:36:11 ns2281597 collectd[27197]: collectd: Stopping 5 read threads.</div>
<div>May 23 13:36:11 ns2281597 collectd[27197]: ping plugin: Shutting down thread.</div><div>May 23 13:36:11 ns2281597 collectd[27197]: email: accept() failed: Bad file descriptor</div><div>May 23 13:36:12 ns2281597 collectd[27197]: collectd: Stopping 5 write threads.</div>
<div>May 23 13:36:12 ns2281597 collectdmon[27024]: Info: collectd terminated with exit status 0</div><div>May 23 13:36:12 ns2281597 collectdmon[27024]: Info: shutting down collectdmon</div><div>May 23 13:36:13 ns2281597 collectd[29066]: cpufreq plugin: Found 8 CPUs</div>
<div>May 23 13:36:13 ns2281597 collectd[29066]: Initialization complete, entering read-loop.</div><div>May 23 13:36:13 ns2281597 collectd[29066]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.</div>
<div>May 23 13:36:13 ns2281597 collectd[29066]: tcpconns plugin: Reading from netlink succeeded. Will use the netlink method from now on.</div><div>May 23 13:36:13 ns2281597 collectd[29066]: mysql plugin: Successfully connected to database thumbrit at server Localhost via UNIX socket (server version: 5.5.29-0ubuntu0.12.04.1-log, protocol version: 10)</div>
</div><div><br></div><div>Has anybody experienced before these overwrites? is it normal to have collectd restarting every few hours? Any way to prevent this file being overwritten?</div><div><br></div><div>
Thanks!</div><span><font color="#888888"><div><br></div>-- <br>Joaquin Cuenca Abela
</font></span></div></div>
<br></div></div>_______________________________________________<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/listinfo/collectd</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Joaquin Cuenca Abela
</div>