Bug 253710 - www/nginx exited on signal 11 after update
Summary: www/nginx exited on signal 11 after update
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-20 04:31 UTC by Dmytro Lavryk
Modified: 2021-02-21 02:32 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (joneum)


Attachments
Screen of connection state (43.97 KB, image/png)
2021-02-20 04:31 UTC, Dmytro Lavryk
no flags Details
Screen of connection state (49.55 KB, image/png)
2021-02-21 02:31 UTC, Dmytro Lavryk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmytro Lavryk 2021-02-20 04:31:16 UTC
Created attachment 222655 [details]
Screen of connection state

After last update nginx-1.18.0_46,2 to nginx-1.18.0_47,2 daemon crush with message in /var/log/messages:

Feb 20 05:45:57 XXX kernel: pid 52006 (nginx), jid 0, uid 80: exited on signal 11
Feb 20 05:45:58 XXX kernel: pid 34355 (nginx), jid 0, uid 80: exited on signal 11
Feb 20 05:45:58 XXX kernel: pid 52064 (nginx), jid 0, uid 80: exited on signal 11

in /var/log/nginx/error.log:

2021/02/20 05:45:57 [alert] 2788#100781: worker process 52006 exited on signal 11
2021/02/20 05:45:58 [alert] 2788#100781: worker process 34355 exited on signal 11
2021/02/20 05:45:58 [alert] 2788#100781: worker process 52064 exited on signal 11

Strange connection behavior (see attachment).

Downgrade port solved a problem.

# nginx -V
nginx version: nginx/1.18.0
built with OpenSSL 1.1.1j  16 Feb 2021
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --user=www --group=www --with-compat --add-module=/usr/home/dl/nginx/work/ngx_cache_purge-23dc16a --modules-path=/usr/local/libexec/nginx --with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx/access.log --with-http_v2_module --with-http_addition_module --with-http_auth_request_module --with-http_flv_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-pcre --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-stream=dynamic --add-dynamic-module=/usr/home/dl/nginx/work/ngx_devel_kit-0.3.1 --add-dynamic-module=/usr/home/dl/nginx/work/ngx_brotli-7fab041 --add-dynamic-module=/usr/home/dl/nginx/work/nchan-1.2.7 --add-dynamic-module=/usr/home/dl/nginx/work/nginx-push-stream-module-0.5.4 --add-dynamic-module=/usr/home/dl/nginx/work/iconv-nginx-module-0.14
Comment 1 Jochen Neumeister freebsd_committer 2021-02-20 09:06:44 UTC
3 modules were updated during the last update. 
Are you using one of them?

https://svnweb.freebsd.org/ports/head/www/nginx/Makefile.extmod?r1=565157&r2=565156&pathrev=565157
Comment 2 Dmytro Lavryk 2021-02-20 09:11:03 UTC
yes. I`m use ngx_brotli
Comment 3 Jochen Neumeister freebsd_committer 2021-02-20 09:15:11 UTC
From the commit: eustas/ngx_brotli was Archived. So switch to google/ngx_brotli

So you check your config with google/ngx_brotli?
Comment 4 Dmytro Lavryk 2021-02-20 09:46:31 UTC
Yes. When I make nginx from ports (with BROTLI_GH_TUPLE=	google:ngx_brotli:9aec15e:brotli in Makefile.extmod) I have a problems.
Comment 5 Dmytro Lavryk 2021-02-21 02:31:15 UTC
Created attachment 222692 [details]
Screen of connection state
Comment 6 Dmytro Lavryk 2021-02-21 02:32:16 UTC
In another server same problem.

Problem nginx:

# nginx -V
nginx version: nginx/1.18.0
built with OpenSSL 1.1.1j  16 Feb 2021
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --user=www --group=www --with-compat --add-module=/usr/ports/www/nginx/work/ngx_cache_purge-23dc16a --modules-path=/usr/local/libexec/nginx --with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx/access.log --with-http_v2_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_realip_module --with-pcre --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-http_image_filter_module=dynamic --with-stream=dynamic --add-dynamic-module=/usr/ports/www/nginx/work/ngx_devel_kit-0.3.1 --add-dynamic-module=/usr/ports/www/nginx/work/ngx_brotli-9aec15e --add-dynamic-module=/usr/ports/www/nginx/work/nchan-1.2.7 --add-dynamic-module=/usr/ports/www/nginx/work/nginx-push-stream-module-0.5.4 --add-dynamic-module=/usr/ports/www/nginx/work/iconv-nginx-module-0.14