2006 09:44
To: Ian Cunningham
Cc: Grevis, Richard: IT (LDN); ganglia-developers@lists.sourceforge.net
Subject: Re: [Ganglia-developers] RE: First prerelease of ganglia-3.0.3
ready for testing
Hi Ian,
thanks for updation the patch.
Puuhhh. That behaviour you describe is bad indeed. Seems either
Just rolled out a build against today's cvs (as a
result of Matt's note) and no apparent EAGAIN issues
on FreeBSD 4.11 - full XML stream is being returned,
~97K of data.
Thanks,
Gil
--- Ian Cunningham <[EMAIL PROTECTED]> wrote:
> Martin,
>
> Now I have played around with delay code, this
> ver
Martin,
Now I have played around with delay code, this version has an
exponential back off. The mode for the number of loops was 1 loop which
implys your assumption is correct. The next highest frequency of
occurrence for number of loops was 22, so waiting a very short bit
either works, or do
Hi Ian,
thanks for updation the patch.
Puuhhh. That behaviour you describe is bad indeed. Seems either Cygwin
or M$ are doing something stupid.
One thought - you are calling apr_socket_send() at a high frequency in
that loop. Have you played with inserting some delay code in the loop?
Maybe w
Martin,
Non-scientific numbers here for you. Connecting to the tcp port 600
times, print_host_metric() called apr_socket_send() at least 90,624
times. Of those 90,624 times, we got stuck in a EAGAIN while loop 1,190
times. On average that while loop looped 29,116.66 times, with maximum
of 525
, Richard: IT (LDN)
Cc: [EMAIL PROTECTED]; ganglia-developers@lists.sourceforge.net
Subject: RE: [Ganglia-developers] RE: First prerelease of ganglia-3.0.3
ready for testing
Hi Richard,
correct. I was waiting for a comment from Ian on my concerns about
possible endless loops before committing the
Hi Richard,
correct. I was waiting for a comment from Ian on my concerns about
possible endless loops before committing the patch.
Ian: what do you think. Do you have any data how often you iterate
those EAGAIN loops?
Cheers
Martin
--- [EMAIL PROTECTED] wrote:
> Gee,
>
> I thought that wa
Gil,
This patch works on cygwin:
http://bugzilla.ganglia.info/cgi-bin/bugzilla/attachment.cgi?id=26&action=view
However there are two good suggestion that would make the patch much
better. Martin suggests that its possible that the while loops could be
infinite if we always get EAGAIN, so ther
Gee,
I thought that was fixed with this patch:
http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=50
Actually, looking at 3.0.3 gmond.c, it looks like the patch did not make
it
into the release - that's a shame.
Even looking at the patch, it looks as if it is a partial fix, because
wh