On Tue, Jul 08, 2008 at 12:15:56PM +0200, Ulf wrote: > Hi, > > I' ve tried gmond 3.1.0.1530.
No fix or workaround for this has been committed for 3.1 yet, and I had been able to easily reproduce the problem. Sadly, it seems it is a known issue that has no fix yet > But still the same problem. > # time gmond -m > [...] > swap_free Amount of available swap memory (module mem_module) > Exception in thread Thread-1: > Traceback (most recent call last): > File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap > self.run() > File "/usr/lib64/ganglia/python_modules/tcpconn.py", line 260, in run > self.popenChild.wait() > File "/usr/lib64/python2.4/popen2.py", line 94, in wait > pid, sts = os.waitpid(self.pid, 0) > OSError: [Errno 10] No child processes This is something that was introduced when the python 2.3 compatible version of this module was committed, and so an alternative (since you are running 2.4) is to use the original version that doesn't have this problem (but most likely has others, including a file handle leak) : http://ganglia.svn.sourceforge.net/viewvc/ganglia/trunk/monitor-core/gmond/python_modules/network/tcpconn.py?revision=851&view=markup I'd committed a workaround to it in r1544 for trunk (not yet backported) which could be used to avoid the tracebacks in 2.3, but since the problem comes from the way that netstat is being invoked from python it will also result in missing samples in the long run. > And in case of no error it takes about 5seconds. > # time gmond -m > [...] > swap_free Amount of available swap memory (module mem_module) > > real 0m5.123s > user 0m0.040s > sys 0m0.080s That is because of the ways the module shutdowns itself and so it is expected to behave that way. Carlo ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers