Opened 3 years ago

Last modified 3 years ago

#1226 accepted defect

nginx behaves weirdly when using eventport as event engine on Solaris

Reported by: zheganin@… Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.10.x
Keywords: evenport solaris Cc: 4.5.2
uname -a: SunOS hyperion 5.11 11.2 i86pc i386 i86pc
nginx -V: nginx version: nginx/1.11.11 built with OpenSSL 1.0.2g 1 Mar 2016 TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx --with-http_ssl_module --with-http_realip_module --with-http_xslt_module --with-http_image_filter_module --with-pcre=../pcre-8.39 --with-pcre-jit --with-cc-opt=-I/usr/local/gd2/include --with-threads --with-ld-opt='-m64 -L/usr/local/gd2/lib -L/usr/local/libmaxminddb/lib' --with-http_secure_link_module --with-pcre-opt=-m64 --with-http_v2_module --with-http_stub_status_module --with-poll_module --with-select_module --with-openssl=/home/emz/src/openssl-1.0.2g --add-module=/home/emz/src/nginx-push-stream-module-master --add-module=/usr/local/ruby-2.1.6/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/ext/nginx --add-module=/home/emz/src/nginx_geoip2 --add-module=/home/emz/src/ngx_http_auth_pam_module-1.4 --add-module=/home/emz/src/nginx-module-vts-0.1.14

Description

nginx behaves weirdly when using eventport as event engine. I tried to use eventport on Solaris when I first started using nginx, but the experience was discouraging: nginx behaved weirdly, mostly when entering indefinite timeouts during handling requests. I switched to /dev/poll and since then it worked flawlessly. Some time ago I saw a discussion stating that a work has been done on the eventport better support, so I compiled new 1.11.11 version and decided to give eventport in nginx another chance. Sadly, nothing has changed: nginx still enters idefinite loops when handling requests with eventport. This looks like the web application really waits for something, and the browser just keeps spinning the loader icon. When changed to /dev/poll and restarting nginx everything starts working back. No errors are logged in the logs.

Change History (1)

comment:1 Changed 3 years ago by mdounin

  • Status changed from new to accepted

Quoting myself:

There are problems with eventport implementation, known for at least several years now, and these can be easily reproduced by running our test suite with 'use eventport' added to test configurations.

Unfortunately, these problems are very low priority due to minor popularity of Solaris. Consider using /dev/poll instead, which is the default, well tested and has no known problems.

Note: See TracTickets for help on using tickets.