[collectd] crashing collectd

Stuart Cracraft smcracraft at me.com
Sun Jun 8 05:09:50 CEST 2014


Haven't had any since this.

It's pretty concerning however.

I am going to have to put in some ad-hoc bandaid to restart it from its crashes, 
save the crash, auto-email a stack-trace, etc., etc.

And that's disappointing, besides being a hack...

Why is collectd crashing?

On Jun 3, 2014, at 4:17 PM, Stuart Cracraft <smcracraft at me.com> wrote:

> I get a small number of collectd crashes a day. 
> 
> The boxes today:
> 
> /etc/lab-release:
> 12.04.3 LTS Ubuntu
> 
> /usr/bin/dpkg-query --show:
> collectd-core 5.4.0~~red5+q
> 
> plugins: cpu, df, disk, haproxy,
> interface, memory, network,
> ntpd, processes, swap, syslog,
> thin, uptime. 
> 
> Common to the servers: all
> except haproxy, thin. 
> 
> 
> 
>> On May 28, 2014, at 3:00 AM, collectd-request at verplant.org wrote:
>> 
>> Send collectd mailing list submissions to
>>   collectd at verplant.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>   http://mailman.verplant.org/listinfo/collectd
>> or, via email, send a message with subject or body 'help' to
>>   collectd-request at verplant.org
>> 
>> You can reach the person managing the list at
>>   collectd-owner at verplant.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of collectd digest..."
>> 
>> 
>> Today's Topics:
>> 
>>  1. Re: collectd Digest, Vol 104, Issue 9 (Otis Gospodnetic)
>>  2. Re: collectd Digest, Vol 104, Issue 9 (Stuart Cracraft)
>>  3. Re: collectd Digest, Vol 104, Issue 9 (Toni Moreno)
>>  4. Issue with Collectd plugin for Apache ssl (Tien Nguyen Manh)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Tue, 27 May 2014 13:16:59 -0400
>> From: Otis Gospodnetic <otis.gospodnetic at gmail.com>
>> To: Stuart Cracraft <smcracraft at me.com>
>> Cc: "collectd at verplant.org" <collectd at verplant.org>
>> Subject: Re: [collectd] collectd Digest, Vol 104, Issue 9
>> Message-ID:
>>   <CANNBgPJqB7PU+oyXQ8OkeKstEL6rnq6W9Z_K6U68OYLjE+Q1NQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> This is the first time I hear about this.  Have more info? Which version,
>> which distro, how frequent, etc.?
>> 
>> Otis
>> --
>> Performance Monitoring * Log Analytics * Search Analytics
>> Solr & Elasticsearch Support * http://sematext.com/
>> 
>> 
>>> On Mon, May 26, 2014 at 7:31 PM, Stuart Cracraft <smcracraft at me.com> wrote:
>>> 
>>> What are people doing about the
>>> crashing collectd problem besides
>>> restarting and core-file collecting?
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> collectd mailing list
>>> collectd at verplant.org
>>> http://mailman.verplant.org/listinfo/collectd
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140527/5af2645d/attachment-0001.html>
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Tue, 27 May 2014 12:15:56 -0700
>> From: Stuart Cracraft <smcracraft at me.com>
>> To: Otis Gospodnetic <otis.gospodnetic at gmail.com>
>> Cc: "collectd at verplant.org" <collectd at verplant.org>
>> Subject: Re: [collectd] collectd Digest, Vol 104, Issue 9
>> Message-ID: <5A213472-1DF8-49D6-8167-E8A99242F848 at me.com>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> I am gathering info on this and will get back with you. 
>> 
>> 
>> 
>>> On May 27, 2014, at 10:16 AM, Otis Gospodnetic <otis.gospodnetic at gmail.com> wrote:
>>> 
>>> This is the first time I hear about this.  Have more info? Which version, which distro, how frequent, etc.?
>>> 
>>> Otis
>>> --
>>> Performance Monitoring * Log Analytics * Search Analytics
>>> Solr & Elasticsearch Support * http://sematext.com/
>>> 
>>> 
>>>> On Mon, May 26, 2014 at 7:31 PM, Stuart Cracraft <smcracraft at me.com> wrote:
>>>> What are people doing about the
>>>> crashing collectd problem besides
>>>> restarting and core-file collecting?
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> collectd mailing list
>>>> collectd at verplant.org
>>>> http://mailman.verplant.org/listinfo/collectd
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140527/5182a53c/attachment-0001.html>
>> 
>> ------------------------------
>> 
>> Message: 3
>> Date: Tue, 27 May 2014 21:55:07 +0200
>> From: Toni Moreno <toni.moreno at gmail.com>
>> To: Stuart Cracraft <smcracraft at me.com>
>> Cc: "collectd at verplant.org" <collectd at verplant.org>
>> Subject: Re: [collectd] collectd Digest, Vol 104, Issue 9
>> Message-ID:
>>   <CAHu-tc2LtXJhNnpvWLhAhHppgGvBtK2MiGURK-AX7-odP-gEHw at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Here more about crashes..
>> 
>> https://github.com/collectd/collectd/issues/587
>> 
>> 
>> 
>> 2014-05-27 21:15 GMT+02:00 Stuart Cracraft <smcracraft at me.com>:
>> 
>>> I am gathering info on this and will get back with you.
>>> 
>>> 
>>> 
>>> On May 27, 2014, at 10:16 AM, Otis Gospodnetic <otis.gospodnetic at gmail.com>
>>> wrote:
>>> 
>>> This is the first time I hear about this.  Have more info? Which version,
>>> which distro, how frequent, etc.?
>>> 
>>> Otis
>>> --
>>> Performance Monitoring * Log Analytics * Search Analytics
>>> Solr & Elasticsearch Support * http://sematext.com/
>>> 
>>> 
>>> On Mon, May 26, 2014 at 7:31 PM, Stuart Cracraft <smcracraft at me.com>wrote:
>>> 
>>>> What are people doing about the
>>>> crashing collectd problem besides
>>>> restarting and core-file collecting?
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> collectd mailing list
>>>> collectd at verplant.org
>>>> http://mailman.verplant.org/listinfo/collectd
>>> 
>>> 
>>> _______________________________________________
>>> collectd mailing list
>>> collectd at verplant.org
>>> http://mailman.verplant.org/listinfo/collectd
>> 
>> 
>> -- 
>> 
>> Att
>> 
>> Toni Moreno
>> 
>> 699706656
>> 
>> 
>> 
>> *Si no quieres perderte en el olvido tan pronto como est?s muerto y
>> corrompido, *
>> 
>> *escribe cosas dignas de leerse, o haz cosas dignas de escribirse.*
>> 
>> 
>> 
>> *Benjamin Franklin*
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140527/51089d7c/attachment-0001.html>
>> 
>> ------------------------------
>> 
>> Message: 4
>> Date: Wed, 28 May 2014 09:50:36 +0700
>> From: Tien Nguyen Manh <tien.nguyenmanh at sematext.com>
>> To: collectd at verplant.org
>> Subject: [collectd] Issue with Collectd plugin for Apache ssl
>> Message-ID:
>>   <CAMHnNwtJUu3DZ+eBHhyymNHpxY8uq2UvxGzQxGdNpdhk1HYsFQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Hello,
>> 
>> I have issue config Collectd Apache plugin for Apache running on https with
>> status page
>> https://localhost/server-status
>> 
>> Here is my collectd config part for Apache plugin
>> 
>> LoadPlugin apache
>> <Plugin "apache">
>> <Instance "default">
>>   URL "https://localhost/server-status?auto"
>>   #User "www-user"
>>   #Password "secret"
>>   VerifyPeer false
>>   VerifyHost false
>>   # CACert "/etc/ssl/certs/ssl-cert-snakeoil.pem"
>>   #Server "apache"
>> </Instance>
>> </Plugin>
>> 
>> Collectd can't access Apache server-status page, there are no logs for
>> apache, while it still produce logs for CPU, mem, ...
>> 
>> I tested fetching status page with curl successfully by command
>> 
>> curl -k https://localhost/server-status
>> Total Accesses: 2
>> Total kBytes: 5
>> CPULoad: .00501855
>> Uptime: 4583
>> ReqPerSec: .000436395
>> BytesPerSec: 1.11717
>> BytesPerReq: 2560
>> BusyWorkers: 2
>> 
>> What is wrong with my collectd config?
>> is -k option in curl equivalent to VerifyPeer false in collectd-apach
>> config?
>> 
>> Thanks,
>> Tien
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140528/9071d839/attachment-0001.html>
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/listinfo/collectd
>> 
>> 
>> End of collectd Digest, Vol 104, Issue 11
>> *****************************************

Stuart Cracraft
RHCE, RHCSA
mail: smcracraft at icloud.com
linkedin: http://www.linkedin.com/in/stuartcracraft	
skype: smcracraft
cell: (949) 285-6573, (408) 868-8647
web: http://marketwaves.us
app: http://appstore.com/marketwaves
group: https://groups.google.com/forum/#!forum/gnutech
group: https://groups.google.com/forum/#!forum/rhcerts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140607/09eeb0bd/attachment.html>


More information about the collectd mailing list