[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Oversize status or data/client msg



On Tue, May 09, 2006 at 11:18:20AM +0200, Dominique Frise wrote:
> What is the unit for "n" and "limit" -is it really bytes?- in following 
> messages:
> 
> Oversize data/client msg from 1.2.3.4 truncated (n=815596, limit 524288)
> Oversize status msg from 1.2.3.5 for smaug:ports truncated (n=370718, 
> limit=262144)

It is.

> I'm asking this because although we get quite offen messages like above, 
> the biggest file stored in the histlogs is only ~75 KB.
> 
> [bb (at) iris data]$ find hist* -size +75000c -exec ls -la {} \;
> -rw-r--r--    1 bb       ci          95558 May  9 11:07 ./hist/allevents
> -rw-r--r--    1 bb       ci          76828 May  5 11:41 
> ./histlogs/zeb1/ports/Fri_May_5_11:40:59_2006

The client message can get very large - you must consider that it
contains all of the information used to generate both the cpu-, disk-,
procs-, msgs-, ports- and files-status columns. Including a full ps- 
and netstat-listing.

If you want to handle such large messages, look at the MAXMSG_* settings
in hobbitserver.cfg - see the hobbitserver.cfg(5) man-page.


Regards,
Henrik