[Xymon] i586, logfetch: ... delta NNN bytes exceeds max buffer size 0

J.C. Cleaver cleaver at terabithia.org
Tue May 24 05:39:27 CEST 2016



On Mon, May 23, 2016 5:59 am, Sergey wrote:
> Hello.
>
> I saw a strange problem since 4.3.26 (I not used versions between
> 4.3.16 and 4.3.26). 4.3.27 contains it too.
>
> 2016-05-23 14:44:14.052315 logfetch: /var/log/httpd2/error_log delta
> 2098854 bytes exceeds max buffer size 0; skipping some data
> 2016-05-23 14:45:54.580396 logfetch: /var/log/httpd2/error_log delta
> 2105418 bytes exceeds max buffer size 0; skipping some data
> 2016-05-23 14:47:35.120075 logfetch: /var/log/httpd2/error_log delta
> 2109847 bytes exceeds max buffer size 0; skipping some data
>
> max buffer size 0 somehow. I built i586 and x86_64 binary from one
> srpm. x86_64 works fine. Spec file is not contains architecture
> dependent parts. I see that this is macro in the client/logfetch.c
> (#define MAXCHECK 102400) and I don't understand how this is possible.
>
> Can anyone confirm the problem on i586 ? Log continues to be analysed
> however.
>



Sergey,

This is the first report I've received, but the values indicated are
suspiciously right over (2M = 2097152), which makes me think a 32bit issue
is very possible. ftell() would be being used there unless
_LARGEFILE_SOURCE is specified, and it's only returning a long back for
the file position.

This definitely seems like a bug.

What compiler and distro are you using?


Regards,
-jc




More information about the Xymon mailing list