httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Marcelletti" <jmarcelle...@gmail.com>
Subject Re: [users@httpd] Make apache sleep
Date Mon, 22 Oct 2007 21:57:07 GMT
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 <tomhart@coopfed.org> wrote:
> 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 little work.
>
> The second possibility is only if you're running windows (sure there's a
> way to do this in *nix, but I'm no guru). Get something running on an
> open loop (kill cpu cycles) and set the priority of the httpd to low, to
> simulate processor bogdown.
>
> A combination of these two might get you close to where you want to be,
> but if they don't I'm pretty sure there are more 3rd party applications
> (on windows at least) that should help you simulate the conditions
> you're trying to.
>
> Jim Albert 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 configure this? For example, tell apache
> > to wait 10 seconds before responding to any request.
> >
> > Thanks,
> > Jim Albert
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message