Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Carlo Marcelo Arenas Belon
On Wed, Dec 02, 2009 at 01:57:44AM +, Carlo Marcelo Arenas Belon wrote: On Tue, Dec 01, 2009 at 10:20:32PM +, Daniel Pocock wrote: - Can you easily re-compile APR with a different poll implementation? I think you can change it from configure. Which option?, --enable-other-child

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Daniel Pocock
Carlo Marcelo Arenas Belon wrote: On Wed, Dec 02, 2009 at 01:57:44AM +, Carlo Marcelo Arenas Belon wrote: On Tue, Dec 01, 2009 at 10:20:32PM +, Daniel Pocock wrote: - Can you easily re-compile APR with a different poll implementation? I think you can change it from

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Carlo Marcelo Arenas Belon
On Wed, Dec 02, 2009 at 10:36:02AM +, Daniel Pocock wrote: Carlo Marcelo Arenas Belon wrote: but that of course requires a patched version of apr (including bootstrapping) and is probably not an option, unless we go back to the dark ages of including all dependencies statically.

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Daniel Pocock
Carlo Marcelo Arenas Belon wrote: On Wed, Dec 02, 2009 at 10:36:02AM +, Daniel Pocock wrote: Carlo Marcelo Arenas Belon wrote: but that of course requires a patched version of apr (including bootstrapping) and is probably not an option, unless we go back to the dark ages of

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Daniel Pocock
fork() doesn't work because the kqueue filehandle is not inherited; using rfork() instead doesn't either because all filehandles are closed by doing exit(0) in the parent and so fails in the same way that changing apr_proc_detach() does when changed to use rfork() instead. I'm not a BSD

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Carlo Marcelo Arenas Belon
On Wed, Dec 02, 2009 at 11:17:26AM +, Daniel Pocock wrote: Carlo Marcelo Arenas Belon wrote: On Wed, Dec 02, 2009 at 10:36:02AM +, Daniel Pocock wrote: Can you try re-enabling kqueue and patching apr to use rfork()? Doesn't work, and fails now on sending of the metrics, because of

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Carlo Marcelo Arenas Belon
On Wed, Dec 02, 2009 at 11:48:51AM +, Daniel Pocock wrote: fork() doesn't work because the kqueue filehandle is not inherited; using rfork() instead doesn't either because all filehandles are closed by doing exit(0) in the parent and so fails in the same way that changing

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Daniel Pocock
Gladish, Jacob wrote: -Original Message- From: Daniel Pocock [mailto:dan...@pocock.com.au] Sent: Wednesday, December 02, 2009 6:49 AM To: Carlo Marcelo Arenas Belon Cc: ganglia-develop...@lists.sourceforge.net; Ganglia Subject: Re: [Ganglia-developers] [Ganglia-general] Ganglia

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Brad Nicholes
On 12/2/2009 at 7:21 AM, in message 4b1677e4.8000...@pocock.com.au, Daniel Pocock dan...@pocock.com.au wrote: I would like gmond to return a non-zero return code if it fails to initialise, e.g. if it is unable to bind or if it is unable to resolve a hostname mentioned in gmond.conf

Re: [Ganglia-general] [Ganglia-developers] Ganglia 3.1.5 beta ready for final testing

2009-12-02 Thread Daniel Pocock
Brad Nicholes wrote: On 12/2/2009 at 7:21 AM, in message 4b1677e4.8000...@pocock.com.au, Daniel Pocock dan...@pocock.com.au wrote: I would like gmond to return a non-zero return code if it fails to initialise, e.g. if it is unable to bind or if it is unable to resolve a