Hi, the limit is defined in l.l as MAX_STACK_DEPTH. The default value was rised from 128 to 512 in Monit 5.3. If you need any larger you need to change this in your own code and recompile.
Regards, Martin On Apr 20, 2012, at 1:44 PM, Charles Cooke wrote: > Hi all, > > We are using monit for some of our monitoring. We add many files into the > /etc/monit.d directory (one per service). What we are finding is that once > we reach a certain number of files we are receiving an "Error: include files > are nested too deeply" message and functionality stops. > > Has anyone seen this before? Is there a workaround? > > System Details: > CentOS 5.4 > Linux mybox 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 > x86_64 x86_64 GNU/Linux > version 4.10.1 > > Error Message: > [mybox monit.d]# ls -1 | wc -l > 129 > [mybox monit.d]# monit -v > ... (WORKS FINE)... > [mybox monit.d]# cd disabled > [mybox disabled]# mv w* .. > [mybox disabled]# cd .. > [mybox monit.d]# ls -1 | wc -l > 130 > [mybox monit.d]# monit -v > /etc/monit.d/myserver.demo.com:1: Error: include files are nested too deeply > '' > [mybox monit.d]# > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
