Hello,

We're running cfengine 2.2.9 on FreeBSD 7.1 compiled from ports, and it 
seems that when cfengine tries to run a program that doesn't exist, it 
leaks file descriptors. If this happens enough in a run, it results in 
the infamous MAXFD error.

Am I mistaken, or is this a cfpopen_sh bug?

Example:

processes:

      "not_running_1" restart "/does_not_exist.sh restart"
      "not_running_2" restart "/does_not_exist.sh restart"
      "not_running_3" restart "/does_not_exist.sh restart"
      "not_running_4" restart "/does_not_exist.sh restart"

      and so on...

Thanks,
Andy Clayton

_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to