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

2009-12-03 Thread Carlo Marcelo Arenas Belon
On Wed, Dec 02, 2009 at 07:41:39PM +, Daniel Pocock wrote: > > Therefore, the approach might need to be some combination of the > solutions. E.g. a configure option that allows people to choose the new > behaviour or the old behaviour. -1, this will double our supported paths for almost no

Re: [Ganglia-developers] [Ganglia-general] 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 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 >> h

Re: [Ganglia-developers] [Ganglia-general] 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 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 > > Otherwise, the in

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

2009-12-02 Thread Daniel Pocock
ject: Re: [Ganglia-developers] [Ganglia-general] Ganglia 3.1.5 beta >> ready for final testing >> >> >> >>> fork() doesn't work because the kqueue filehandle is not inherited; >>> >> using >> >>> rfork() instead doesn&

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

2009-12-02 Thread Gladish, Jacob
> -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-developers@lists.sourceforge.net; Ganglia > Subject: Re: [Ganglia-developers] [Ganglia-general] Ganglia

Re: [Ganglia-developers] [Ganglia-general] 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 >> apr_proc

Re: [Ganglia-developers] [Ganglia-general] 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 B

Re: [Ganglia-developers] [Ganglia-general] 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, b

Re: [Ganglia-developers] [Ganglia-general] 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 dar

Re: [Ganglia-developers] [Ganglia-general] 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-developers] [Ganglia-general] 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 f

Re: [Ganglia-developers] [Ganglia-general] 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-