On Wed, Nov 26, 2008 at 10:06:51AM -0700, Brad Nicholes wrote: > >>> On 11/26/2008 at 1:17 AM, in message <[EMAIL PROTECTED]>, > Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 25, 2008 at 04:33:05PM -0700, Brad Nicholes wrote: > >> > >> The result was that if the wildcard produced more than 10 included files > >> (which it easily does even in our default configuration), libconfuse > >> choked because it thought it had hit the maximum nesting level > > > > our RPMs for ganglia only install 3 files in /etc/ganglia/conf.d; gentoo > > has 2 and fedora 10 (just released) has 4. > > > > even if I agree that 10 is somehow low and you would expect that as more > > modules are deployed it will be soon problematic, it would seem that at > > least in this case, one problem was traded for another. > > ...
> A more acceptable solution to the gmetric problem is to provide > gmetric with its own .conf file that contains just the socket and port > information rather than pointing gmetric at gmond.conf. In this case > both gmond and gmetric will continue to run even in a read only file > system. This solution can be easily implemented today without any > code changes and especially without a code patch that introduces a > much more serious bug. If we need to solve the gmetric being able to > run in a read only file system, then we need to come up with a better > patch. Crippling gmond and gmetric with a patch that allows them to > ignore a fatal error because parts of the configuration was skipped, > is not an acceptable patch. Note that gmond/gmetric might fail also if the partition/volume that you are trying to write doesn't have enough space. I don't really like either solution, failing to run is bad but trying to run without the included configs and hope it runs sensibly isn't any better. A better solution will be to get libconfuse in a state that can work with wildcard includes or switch to a library that does. Neither option is going to help in the short term though. Kostas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general