On Fri, Sep 17, 2010 at 3:59 PM, Seva Gluschenko
<seva.glusche...@gmail.com>wrote:

> Michael,
>
> it seems to be cf-agent's output, so you couldn't catch it just
> inspecting processes.


Cf-agent is a child process of cf-execd, and does in fact appear in ptree
when running. I was demonstrating that there were no defunct cf-agent
processes still attached to cf-execd.


> Perhaps, it's wise to check and probably
> increase ulimits for user which runs cf-agent in terms of maximum open
> files. The global file descriptors limits also may require increasing.
>

The problem was not the OS telling me that a limit had been exceeded -
cf-engine itself was reporting this limit. The code can bee seen in pipes.c,
and the limit was 20.


>
> 2010/9/17 Michael Potter <mega...@gmail.com>:
> > Hi
> > Recently noticed this error crop up on one of our production servers.
> Never
> > seen it happen anywhere else, including other test and production
> machines:
> > File descriptor 27 of child 28560 higher than MAX_FD, check for defunct
> > children
> > File descriptor 27 of child higher than MAX_FD, check for defunct
> children
> > File descriptor 22 of child 28562 higher than MAX_FD, check for defunct
> > children
> > File descriptor 22 of child higher than MAX_FD, check for defunct
> children
> > File descriptor 22 of child 28563 higher than MAX_FD, check for defunct
> > children
> > File descriptor 22 of child higher than MAX_FD, check for defunct
> children
> > File descriptor 22 of child 28564 higher than MAX_FD, check for defunct
> > children
> > File descriptor 22 of child higher than MAX_FD, check for defunct
> children
> > Using 3.0.5p1 on Solaris10/SPARC.
> > There does not appear to be any defunct processes attached to cf-execd:
> > $ ps -ef | grep cf-
> >     root  9727   591   0   Sep 14 ?           0:33
> > /export/rt/cfengine/bin/cf-serverd
> >     root  9897   591   0   Sep 14 ?           0:49
> > /export/rt/cfengine/bin/cf-execd
> > $ ptree 9897
> > 591   zsched
> >   9897  /export/rt/cfengine/bin/cf-execd
> > Anyone come across anything like this before?
> > Cheers
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@cfengine.org
> > https://cfengine.org/mailman/listinfo/help-cfengine
> >
> >
>
>
>
> --
> SY, Seva Gluschenko.
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to