[collectd] collectd.conf is overwritten every few hours
Joaquin Cuenca Abela
joaquin at cuencaabela.com
Thu May 23 18:16:55 CEST 2013
spot on! Thanks for the memory leaks tip. I will add a cron to restart them
regularly.
On Thu, May 23, 2013 at 5:45 PM, Bostjan Skufca <bostjan at a2o.si> wrote:
> Configuration management maybe (puppet, chef et al)?
> Also, I recently croned collectd restarts as it was found out there are
> memory leaks.
>
> b.
>
>
>
> On 23 May 2013 16:23, Joaquin Cuenca Abela <joaquin at cuencaabela.com>wrote:
>
>> Hi,
>>
>> 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.
>>
>> These changes are close in time to some collectd restarts. In this
>> example the file was written 1 minute after the last collectd restart:
>>
>> root at eu4:/etc/collectd# ls -ld collectd.conf
>> -rw-r--r-- 1 root root 16457 May 23 13:37 collectd.conf
>>
>> May 23 13:36:11 ns2281597 collectd[27197]: Exiting normally.
>> May 23 13:36:11 ns2281597 collectd[27197]: collectd: Stopping 5 read
>> threads.
>> May 23 13:36:11 ns2281597 collectd[27197]: ping plugin: Shutting down
>> thread.
>> May 23 13:36:11 ns2281597 collectd[27197]: email: accept() failed: Bad
>> file descriptor
>> May 23 13:36:12 ns2281597 collectd[27197]: collectd: Stopping 5 write
>> threads.
>> May 23 13:36:12 ns2281597 collectdmon[27024]: Info: collectd terminated
>> with exit status 0
>> May 23 13:36:12 ns2281597 collectdmon[27024]: Info: shutting down
>> collectdmon
>> May 23 13:36:13 ns2281597 collectd[29066]: cpufreq plugin: Found 8 CPUs
>> May 23 13:36:13 ns2281597 collectd[29066]: Initialization complete,
>> entering read-loop.
>> May 23 13:36:13 ns2281597 collectd[29066]: rrdtool plugin: Adjusting
>> "RandomTimeout" to 0.000 seconds.
>> May 23 13:36:13 ns2281597 collectd[29066]: tcpconns plugin: Reading from
>> netlink succeeded. Will use the netlink method from now on.
>> 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)
>>
>> Has anybody experienced before these overwrites? is it normal to have
>> collectd restarting every few hours? Any way to prevent this file being
>> overwritten?
>>
>> Thanks!
>>
>> --
>> Joaquin Cuenca Abela
>>
>> _______________________________________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/listinfo/collectd
>>
>>
>
--
Joaquin Cuenca Abela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20130523/b1fe5549/attachment.html>
More information about the collectd
mailing list