On Fri, Sep 17, 2010 at 4:44 PM, Mark Burgess <mark.burg...@iu.hio.no>wrote:

>
> Yes, we've seen this before but not for a long time. It means that there
> are too many
> files, pipes or dbs open. That could be due to a bug (forgot to close
> something). As long
> as it does not happen again, I wouldn't worry. The problem is likely fixed
> in a future
> version. If it persists, try to diagnose the source (execd,agent etc)
>

It appears that cf-execd had the open file-descriptors (possibly pipes to
old runs of cf-agent in order to collect the output) - which caused cf-agent
to blow the limit soon after it run (cf-agent of course inherits the fds
from it's parent process, cf-execd). I am pretty sure of this, because as
soon as I restarted cf-execd the problem went away. Lets hope it was a
one-off...


>
> Michael Potter wrote:
> > 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
>
> --
> Mark Burgess
>
> -------------------------------------------------
> Professor of Network and System Administration
> Oslo University College, Norway
>
> Personal Web: http://www.iu.hio.no/~mark
> Office Telf : +47 22453272
> -------------------------------------------------
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to