Welcome! Log In Create A New Profile

Advanced

Re: i cant use limit_conn_zone

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

On Tue, Jul 08, 2014 at 04:05:26PM -0400, farukest wrote:

> I want to add some code to my nginx.conf , im using portable nginx php mysql
> dev stack (WT-NMP). Anyway when i add " limit_req_zone $binary_remote_addr
> zone=one:10m rate=1r/s; " in http {.. , nginx is not working correctly.
> where do i go wrong, i need help. Thanks in advance

The "limit_conn_zone" creates a shared memory zone, and this
doesn't work on Windows Vista and later due to ASLR, see here:

http://nginx.org/en/docs/windows.html#known_issues

One of possible workarounds is to start nginx with "master_process
off", which is mostly development mode, though also allows to
address this limitation.

--
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: 263
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