[Ganglia-developers] module metric spoofing (for IPMI module)

2008-01-23 Thread Matthias Blankenhaus
Howdy ! As announced during our last meeting in SF I finally started to work on this module. Came out that I need to extend gmond and the module area a bit in order to support my IPMI module. Essentially, I need to be able to spoof metrics from DSO modules. I also need access to gmond's host l

Re: [Ganglia-developers] More problems with popen2

2008-01-23 Thread Matthias Blankenhaus
On Wed, 23 Jan 2008, Brad Nicholes wrote: > Matthias, > > It's up to you. Submit the patch you like best. I am all for the simplest > approach. In that case I would like to stay with the patch I've already posted. Thanx, Matthias > > Brad > > >>> On 1/23/2008 at 1:28 PM, in message >

Re: [Ganglia-developers] More problems with popen2

2008-01-23 Thread Brad Nicholes
Matthias, It's up to you. Submit the patch you like best. I am all for the simplest approach. Brad >>> On 1/23/2008 at 1:28 PM, in message <[EMAIL PROTECTED]>, Matthias Blankenhaus <[EMAIL PROTECTED]> wrote: > > On Wed, 23 Jan 2008, Matt Massie wrote: > >> you can also run all threads as

Re: [Ganglia-developers] More problems with popen2

2008-01-23 Thread Matthias Blankenhaus
On Wed, 23 Jan 2008, Matt Massie wrote: > you can also run all threads as daemonized threads (or "detached" in > POSIX). daemon threads exit immediately and do not expect another thread to > wait on their exit value. > > thread.setDeamon(1) > thread.start() I have tried this out and it worked

Re: [Ganglia-developers] More problems with popen2

2008-01-23 Thread Matt Massie
you can also run all threads as daemonized threads (or "detached" in POSIX). daemon threads exit immediately and do not expect another thread to wait on their exit value. thread.setDeamon(1) thread.start() http://docs.python.org/lib/thread-objects.html it'll allow you to Ctrl+C any python threa

Re: [Ganglia-developers] More problems with popen2

2008-01-23 Thread Matthias Blankenhaus
On Wed, 23 Jan 2008, Brad Nicholes wrote: >I am running into another problem since the switch to popen2 in > tcpconn.py. After running for several days, the tcpconn.py module died due > to too many open files. The traceback points back to the popen2 call. Does > anybody know what needs

Re: [Ganglia-developers] More problems with popen2

2008-01-23 Thread Matthias Blankenhaus
On Wed, 23 Jan 2008, Brad Nicholes wrote: >I am running into another problem since the switch to popen2 in > tcpconn.py. After running for several days, the tcpconn.py module died due > to too many open files. The traceback points back to the popen2 call. Does > anybody know what needs

[Ganglia-developers] More problems with popen2

2008-01-23 Thread Brad Nicholes
I am running into another problem since the switch to popen2 in tcpconn.py. After running for several days, the tcpconn.py module died due to too many open files. The traceback points back to the popen2 call. Does anybody know what needs to be cleaned up? I saw some examples of having to