﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
362	deadlock on win32 with accept_mutex and multiple worker_processes	Ogurets Aggressive		"To reproduce an error following things are required (all of them):
1. worker_processes > 1
2. accept_mutex on
3. server record like this:

{{{
    server {
        listen       80;
        server_name  localhost;
	location / {
            proxy_pass          http://SOME_IP;
            proxy_buffering     off;
        }
    }
}}}
Where ""SOME_IP"" is an address of another server (not sure if it matters though).

Accessing this location from a browser stucks in ""waiting for answer"" for a very long time.
Following workarounds seem to solve the problem:
1. Set ""worker_processes"" to 1
or
2. Set ""accept_mutex"" to ""off""

Also, non-proxy locations (without ""proxy-pass"") seem to work fine under the same conditions, only ""proxies"" are affected."	defect	closed	minor		nginx-module		fixed	win32 worker_processes accept_mutex deadlock		Microsoft Windows [Version 5.2.3790] (Windows 2003 Server SP2 Enterprise x64)	"nginx version: nginx/1.4.1
TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs.msvc8 --with-debug --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs.msvc8/lib/pcre-8.32 --with-zlib=objs.msvc8/lib/zlib-1.2.7 --with-select_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_stub_status_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-mail --with-openssl=objs.msvc8/lib/openssl-1.0.1e --with-openssl-opt=enable-tlsext --with-http_ssl_module --with-mail_ssl_module --with-ipv6"
