Re: Make apache sleep

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

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
> >   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
>
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux