You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mohit Anchlia <mo...@gmail.com> on 2009/06/21 18:17:43 UTC
[users@httpd] Limiting connections per IP
Apache 2.2.6:
I am aggresively looking for some solution that limits number of
connections per IP and the settings can dynamically be changed. Does
anyone know if there such a module which is dynamic in nature. For eg:
After starting apache can I dynamically change number of connections
without having to stop apache?
Some of the modules I looked at is limitip, vhost limit but I am not
sure if these are dynamic. I think it requires server re-start.
---------------------------------------------------------------------
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
Re: [users@httpd] Limiting connections per IP
Posted by Mohit Anchlia <mo...@gmail.com>.
I am trying to look for solution that will dynamically let me turn away
users in case our app servers are slow because of DB slowness or some other
application problems. This will help us provide customized turn away message
and also limit connections per virtual ip or host.
On Sun, Jun 21, 2009 at 3:00 PM, Eric Bowman <eb...@boboco.ie> wrote:
> Mohit Anchlia wrote:
> > Apache 2.2.6:
> >
> > I am aggresively looking for some solution that limits number of
> > connections per IP and the settings can dynamically be changed. Does
> > anyone know if there such a module which is dynamic in nature. For eg:
> > After starting apache can I dynamically change number of connections
> > without having to stop apache?
> >
> > Some of the modules I looked at is limitip, vhost limit but I am not
> > sure if these are dynamic. I think it requires server re-start
>
> What problem are you trying to solve, exactly?
>
> --
> Eric Bowman
> Boboco Ltd
> ebowman@boboco.ie
> http://www.boboco.ie/ebowman/pubkey.pgp
> +35318394189/+353872801532<http://www.boboco.ie/ebowman/pubkey.pgp%0A+35318394189/+353872801532>
>
>
> ---------------------------------------------------------------------
> 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
>
>
Re: [users@httpd] Limiting connections per IP
Posted by Darryle Steplight <ds...@gmail.com>.
What's wrong with changing the setting in your .htaccess file? This
wouldn't require an Apache restart.
On Sun, Jun 21, 2009 at 6:00 PM, Eric Bowman<eb...@boboco.ie> wrote:
> Mohit Anchlia wrote:
>> Apache 2.2.6:
>>
>> I am aggresively looking for some solution that limits number of
>> connections per IP and the settings can dynamically be changed. Does
>> anyone know if there such a module which is dynamic in nature. For eg:
>> After starting apache can I dynamically change number of connections
>> without having to stop apache?
>>
>> Some of the modules I looked at is limitip, vhost limit but I am not
>> sure if these are dynamic. I think it requires server re-start
>
> What problem are you trying to solve, exactly?
>
> --
> Eric Bowman
> Boboco Ltd
> ebowman@boboco.ie
> http://www.boboco.ie/ebowman/pubkey.pgp
> +35318394189/+353872801532
>
>
> ---------------------------------------------------------------------
> 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
>
>
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
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
Re: [users@httpd] Limiting connections per IP
Posted by Eric Bowman <eb...@boboco.ie>.
Mohit Anchlia wrote:
> Apache 2.2.6:
>
> I am aggresively looking for some solution that limits number of
> connections per IP and the settings can dynamically be changed. Does
> anyone know if there such a module which is dynamic in nature. For eg:
> After starting apache can I dynamically change number of connections
> without having to stop apache?
>
> Some of the modules I looked at is limitip, vhost limit but I am not
> sure if these are dynamic. I think it requires server re-start
What problem are you trying to solve, exactly?
--
Eric Bowman
Boboco Ltd
ebowman@boboco.ie
http://www.boboco.ie/ebowman/pubkey.pgp
+35318394189/+353872801532
---------------------------------------------------------------------
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
Re: [users@httpd] Limiting connections per IP
Posted by dreamice <dr...@gmail.com>.
I suggest you to use iptables/netfilter to limit the connections.
jgroups wrote:
>
> Apache 2.2.6:
>
> I am aggresively looking for some solution that limits number of
> connections per IP and the settings can dynamically be changed. Does
> anyone know if there such a module which is dynamic in nature. For eg:
> After starting apache can I dynamically change number of connections
> without having to stop apache?
>
> Some of the modules I looked at is limitip, vhost limit but I am not
> sure if these are dynamic. I think it requires server re-start.
>
> ---------------------------------------------------------------------
> 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
>
>
>
--
View this message in context: http://www.nabble.com/-users%40httpd--Limiting-connections-per-IP-tp24136107p24140569.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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