httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Prucia <>
Subject Re: flood - Can it go faster?
Date Sun, 29 Jun 2003 11:56:12 GMT
On Tue, 24 Jun 2003 19:35:49 +0000 (GMT)
Jeremy Brown <> wrote:

> Hi,


> I have been playing with flood for a while. And have been looking at
> writing up some additional documentation.

I'll be commiting stuff at
to CVS repo shortly, so please hold on just a day, or two.

> Are there any tips to get more throughput on flood?

Please try figuring out what resource of your operating system seems to be
exhausted. If memory, CPU time ussage are below maximum usage, and your system
hasn't run out of socket descriptors -- then we have problem with flood that
we need to investigate. Can you run gprof on your instance of flood and post
stats here? That would help a lot...

> Also is there a way to turn off logging completely?

Yep. Just remove <report> element from <profile> and you'll get no output at
all. Basically removing element most of the time causes flood to do nothing,
as this is "generic" behaviour.

> The new server will
> have logging enable to catch all the information.

Not really -- if your server (assuming Apache) segfaults under high load --
how would you tell what flood instance|farm|farmer|url caused that?
> I am using shell scripts of flood since megaconglomerate is not operating
> at this time from what I have tested. Are there any recommendations for
> doing this more effectively? Or is megaconglomerate really working?

Megaconglomerate is not working right now, but we'll get to that. You can
start writting megaconglomerate support if you want (look at CONFIG file to
see examples of how this could look like).

> ps Here is the config file for flood that I have been using.

You might want to switch to keepalive <socket> in your <profile>. Also please
note that this setup won't generate all the load, as farmer is limited to 180
seconds time (<time> element.)

Jacek Prucia

View raw message