Re: How to limit number of particular request in apache.

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

 



On 2 Apr 2010, at 23:48, Anuradha wrote:

> I want to limit the number of "particular" requests in apache
>  
> For example 
> I have httpd running on my system. My webserver provides a upload and download service.
> I want to configure appache in a way that  at the max it can serve  100 uploads and 200 downloads not more than that.

You can't.

Well, you could write a module for it.  If you can live with ballpark
numbers, I'd suggest limiting the number of threads per process
on a restricted task, rather than maintaining a global count.

Or if this is about system load, consider something like
mod_load_average.

-- 
Nick Kew
---------------------------------------------------------------------
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