Gil,

 forwarding to the developers list. I believe Matt has been working on
truncation issues recently.

Regards
Martin

--- Gilad Raphaelli <[EMAIL PROTECTED]> wrote:

> Date: Sat, 11 Mar 2006 17:17:41 -0800
> From: Gilad Raphaelli <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: 3.0.3.200602231926 XML being truncated
> 
> Martin,
> 
>   I figured I'd contact you directly regarding this issue - I hope
> you don't
>   mind .  I've been having issues with gmond on FreeBSD 4.11 relating
> to
>   "chunks of XML being truncated."  I have tried the new release
>   3.0.3.200602231926 without success - the xml is still truncated
> when
>   attempting to access the data from a remote host.  Interestingly,
> this is not
>   the case when trying from the host running gmond.  I hope this
> email can serve
>   as some helpful feedback.
> 
>   Please let me know if you need any more information.
> 
> Thank you,
> 
> Gil Raphaelli
> -----------------------------------------------------
> 
> This is a correspondence I had with a member of our bsd team:
> 
>   Default socket buffer is 64K.  It appears that socket is
> non-blocking.
>   That last write is failing (EAGAIN) because the socket buffer is
> full.
>   The application is ignoring that fact and shutting down the socket.
>   Looks to me like an application bug that just accidentally works
>   on rhel.
> 
>   On Fri, Mar 10, 2006 at 03:43:25PM -0800, Gilad Raphaelli wrote:
>   > I'm trying to get ganglia working for a new set of machines and
> am running
>   > into
>   > an issue where the data being returned from the target node
> (running gmond)
>   > is
>   > stopping return of data midstream.  It appears that very close to
> 64K (just
>   > over?) of data is coming back.
>   >
>   > Running an strace on gmond (on the target host) while trying to
> retrieve the
>   > data shows:
>   >
>   > 71160 write(10, "<METRIC NAME=\"swap_free\" VAL=\"41"..., 124) =
> 124
>   > 71160 write(10, "<METRIC NAME=\"bytes_in\" VAL=\"608"..., 129) =
> -1 EAGAIN
>   > (Resource temporarily unavailable)
>   > 71160 shutdown(10, 0 /* receive */)     = 0
>   >
>   > What this looks like from the requester (not the exact same
> transaction):
>   >
>   > <METRIC NAME="mem_buffers" VAL="204096" TYPE="uint32" UNITS="KB"
> TN="119"
>   > TMAX="180" DMAX="0" SLOPE="both" SOURCE="gmond"/>
>   > <METRIC NAME="swap_free" VAL="4194136" TYPE="uint32" UNITS="KB"
> TN="119"
>   > TMAX="180" DMAX="0" SLOPE="both" SOURCE="gmond"/>
>   > Connection closed by foreign host.
>   >
>   > A normal transaction closes with a closing tag: </GANGLIA_XML>
> 
> 


------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

Reply via email to