Welcome! Log In Create A New Profile

Advanced

Re: ngx http limit req module и Windows

Maxim Dounin
March 16, 2011 11:52AM
Hello!

On Wed, Mar 16, 2011 at 11:31:42AM -0400, pomo4ka wrote:

> Здравствуйте! Решил поставить модуль "ngx_http_limit_req_module" на Windows 7 x64.
>
> Что я сделал:
>
> http {
> limit_req_zone $binary_remote_addr zone=one:10m rate=2r/s; #Добавил
> ...
> server {
> ...
> location / {
> root html;
> index index.php index.html index.htm;
> limit_req zone=one burst=4; #Добавил
> }
>
> После включения сервера, в логах появляется ошибка:
> 2011/03/16 01:17:16 [emerg] 1032#4844: shared zone "one" has no equal addresses: 025B0000 vs 02570000
> 2011/03/16 01:17:16 [alert] 1948#5116: worker process 1032 exited with code 1
>
> Помогите пожалуйста решить проблему. Спасибо!

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

: The cache and other modules which require shared memory support do
: not work in Windows Vista and later due to address space layout
: randomization being enabled in these Windows versions.

Модуль limit_req использует shared memory и под Windows 7 работать
не будет.

Maxim Dounin

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

Re: ngx http limit req module и Windows

Maxim Dounin March 16, 2011 11:52AM

Re: ngx http limit req module и Windows

pomo4ka March 16, 2011 02:26PM

Re: ngx http limit req module и Windows

Alex Vorona March 16, 2011 02:32PM

Re: ngx http limit req module и Windows

pomo4ka March 16, 2011 02:57PM

Re: ngx http limit req module и Windows

Olexander Shtepa March 16, 2011 03:06PM

Re: ngx http limit req module и Windows

Un Lexx March 16, 2011 03:12PM

Re: ngx http limit req module и Windows

vt March 21, 2011 09:42AM

Re: ngx http limit req module и Windows

ValeriyZ March 22, 2011 09:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
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