[collectd] Strange issue with exec and unixsock plugin

XANi xani666 at gmail.com
Fri Sep 3 23:33:45 CEST 2010


Dnia 2010-08-23, pon o godzinie 16:28 +0200, XANi pisze:

> Dnia 2010-08-23, pon o godzinie 15:31 +0200, Sebastian Harl pisze: 
> 
> > Hi,
> > 
> > On Mon, Aug 23, 2010 at 03:24:40PM +0200, XANi wrote:
> > [exec plugin child processes hang in call to futex()]
> > > Also i noticed that "locked" process is running as user ive told exec
> > > plugin to run script as so
> > > Exec postfix "/usr/local/bin/a.pl"
> > > results in:
> > > template:~# ps aux |grep coll|grep -v grep
> > > root      2469  0.0  0.2 162764  1436 ?        S<Lsl 15:22
> > > 0:00 /usr/sbin/collectd -C /etc/collectd/collectd.conf
> > > -P /var/run/collectd.pid
> > > postfix   2476  0.0  0.2 101408  1168 ?        S<   15:22
> > > 0:00 /usr/sbin/collectd -C /etc/collectd/collectd.conf
> > > -P /var/run/collectd.pid
> > 
> > Ah, nice! That's an interesting detail that might help debugging quite a
> > bit.
> > 
> > Cheers,
> > Sebastian
> > 
> 
> 
> Yeah, but then this happens only on VM, on both of my destkops second
> "locked" process is ran by root so there is something strange going
> on ;/

Okay ive found another thing. While playing around with git bisect ive
got to the point when
* commit f6c23c8 have that "bug"
* commit cbc3671 have bug (had to remove -Werror to compile it, else it
would fail during make)
* commit d37ebe6 seems to work propertly, I can't trigger that bug
-- 
Mariusz Gronczewski (XANi) <xani666 at gmail.com>
GnuPG: 0xEA8ACE64
http://devrandom.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100903/d4842987/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100903/d4842987/attachment.pgp>


More information about the collectd mailing list