Opened 11 years ago

Closed 11 years ago

#888 closed defect (invalid)

nginx and the PHP opcache extension clash on Windows

Reported by: Kurt Cancemi Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.9.x
Keywords: Cc:
uname -a:
nginx -V: TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs --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=16384 --with-pcre=objs/lib/pcre-8.38 --with-zlib=objs/lib/zlib-1.2.8 --with-openssl=objs/lib/vigortls --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-http_auth_request_module --with-mail --with-mail_ssl_module --with-ipv6 --with-http_ssl_module --with-http_v2_module

Description

This is an issue to both nginx and the PHP opcache extension but the opcache extension has had this behavior longer. In (​this commit nginx uses fixed shared addresses akin to the php opcache extension. I'm not 100% certain but when I start PHP with the php opcache extension enabled and nginx one of them crashes (depending on who got the addresses first) and it all started after that commit.

​https://github.com/zendtech/ZendOptimizerPlus/blob/master/shared_alloc_win32.c#L174

Change History (2)

comment:1 by Kurt Cancemi, 11 years ago

This can be closed as invalid.

comment:2 by maxim, 11 years ago

Resolution: → invalid
Status: new → closed
Note: See TracTickets for help on using tickets.