Re: [EMAIL PROTECTED] Make apache sleep

2007-10-23 Thread Sander Temme
On Oct 22, 2007, at 7:31 PM, Joshua Slive wrote: On 10/22/07, Eric Covener [EMAIL PROTECTED] wrote: On 10/22/07, Jim Albert [EMAIL PROTECTED] wrote: For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to intentionally respond slow to a

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-23 Thread Christian Folini
Another idea in the same direction: Use a RewriteMap on every request and have the rewrite map do something ressuorce intensive. ... VirtualHost *:80 RewriteEngine On RewriteMapmymap prg:/tmp/tmp.pl RewriteRule ^/(.*) ${mymap:$1} And the map /tmp/tmp.pl:

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-23 Thread Nick Kew
On Mon, 22 Oct 2007 16:54:23 -0400 Jim Albert [EMAIL PROTECTED] wrote: For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to intentionally respond slow to a request. Don't know why everyone's proposing complex things here. A simple CGI

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-23 Thread Arnab Ganguly
Hi, Try setting the KeepAlive On and with high KeepAliveTimeout value.You can refer to Apache org docs for the above params. Thanks -A On 10/23/07, Jim Albert [EMAIL PROTECTED] wrote: For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-23 Thread Krist van Besien
On 10/22/07, Jim Albert [EMAIL PROTECTED] wrote: For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to intentionally respond slow to a request. Is anyone aware of some type of apache sleep or delay configuration that will easily allow me to

[EMAIL PROTECTED] Make apache sleep

2007-10-22 Thread Jim Albert
For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to intentionally respond slow to a request. Is anyone aware of some type of apache sleep or delay configuration that will easily allow me to configure this? For example, tell apache to wait

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-22 Thread Tom Hart
I don't know about anything in apache to do this, but there are a couple other options that popped into mind, depending on what exactly you're trying to test. The first is netlimiter (http://www.netlimiter.com) that will let you simulate network congestion/low bandwidth scenarios, with a

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-22 Thread Joseph Marcelletti
Or if you are just benching a page like http://www.yourdomain.com/test.html you could switch it to test.php and have it do the sleep for you. Seems a little simple and I am not sure it's what you are going for exactly. On 10/22/07, Tom Hart [EMAIL PROTECTED] wrote: I don't know about anything in

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-22 Thread Eric Covener
On 10/22/07, Jim Albert [EMAIL PROTECTED] wrote: For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to intentionally respond slow to a request. mod_ext_filter might help you simulate some of this by adding some silly perl/php/python as an

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-22 Thread Joshua Slive
On 10/22/07, Eric Covener [EMAIL PROTECTED] wrote: On 10/22/07, Jim Albert [EMAIL PROTECTED] wrote: For the purposes of testing a heavy load situation, I'd like to configure one of my apache web servers to intentionally respond slow to a request. mod_ext_filter might help you simulate