Maxim Dounin
July 08, 2014 10:06PM
Hello!

On Tue, Jul 08, 2014 at 09:56:52PM -0400, farukest wrote:

> Thank you i did what you said and it is working good. does this process slow
> down the website ? If it does, what should i do for as an alternative speed.
> Any idea ?

You may want to actually read the link provided. It explains how
to configure limit_conn, what it does and what will be the
expected result. Quoting most relevant part of the limit_conn
directive docs (http://nginx.org/r/limit_conn):

: Sets the shared memory zone and the maximum allowed number of
: connections for a given key value. When this limit is exceeded,
: the server will return the 503 (Service Temporarily Unavailable)
: error in reply to a request. For example, the directives
:
: limit_conn_zone $binary_remote_addr zone=addr:10m;
:
: server {
: location /download/ {
: limit_conn addr 1;
: }
:
: allow only one connection per an IP address at a time.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

i cant use limit_conn_zone

farukest July 08, 2014 04:05PM

Re: i cant use limit_conn_zone

itpp2012 July 08, 2014 04:43PM

Re: i cant use limit_conn_zone

farukest July 08, 2014 04:58PM

Re: i cant use limit_conn_zone

itpp2012 July 08, 2014 05:11PM

Re: i cant use limit_conn_zone

farukest July 08, 2014 05:27PM

Re: i cant use limit_conn_zone

Maxim Dounin July 08, 2014 06:02PM

Re: i cant use limit_conn_zone

farukest July 08, 2014 06:48PM

Re: i cant use limit_conn_zone

farukest July 08, 2014 06:51PM

Re: i cant use limit_conn_zone

farukest July 08, 2014 09:56PM

Re: i cant use limit_conn_zone

Maxim Dounin July 08, 2014 08:54PM

Re: i cant use limit_conn_zone

Maxim Dounin July 08, 2014 08:56PM

Re: i cant use limit_conn_zone

farukest July 08, 2014 09:12PM

Re: i cant use limit_conn_zone

Maxim Dounin July 08, 2014 09:24PM

Re: i cant use limit_conn_zone

Maxim Dounin July 08, 2014 10:06PM

Re: i cant use limit_conn_zone

farukest July 09, 2014 06:19AM

Re: i cant use limit_conn_zone

farukest July 09, 2014 07:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 249
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready