On Thu, Mar 09, 2006 at 02:49:55PM +0100, Olivier Beau wrote:
Hi Henrik,
Doing content checks on "large" web pages (13M) disturbs hobbitd; in the log : "Data flooding from 10.33.254.87, closing connection" causing a bunch of network checks to go purple..
This is really a safety/security thing to avoid hobbitd consuming all of memory. Since hobbitd keeps everything in memory, it would be too easy to launch a denial-of-service attack by just flooding it with data.
That url did 13M because of a big tomcat dump... and we (sysadmin) don't controls the size of the webpages...
I hope your developers weren't forced to explain every bit of that dump :-)
Do you have a work arround for this ?
Try the attached patch for the network test tool. It limits the amount of content data that is sent across to 1 MB, but the content check itself is performed on the full amount of data.
Untested, but fairly simple so I would expect it to work.
Regards, Henrik