Lax / traffic-accounting-nginx-module

Monitor the incoming and outgoing traffic metrics in realtime for NGINX
https://github.com/Lax/traffic-accounting-nginx-module
BSD 2-Clause "Simplified" License
280 stars 77 forks source link

Release 2.0 = signal 17 (SIGCHLD) received #39

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi, After updated the release of this module to 2.0, I obtain signal 17 (SIGCHLD) received

nginx version: nginx/1.15.7
built by gcc 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
built with OpenSSL 1.1.1c  28 May 2019
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=
/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=
/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_gunzip_module --w
ith-http_gzip_static_module --with-http_mp4_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with
-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-pcre-jit --with-http_geoip_module=dynamic --with-http_image_filter_module=dynamic --with-http_perl_module=dynamic --with-http_xslt_module
=dynamic --add-module=../../SOURCES/headers-more-nginx-module --add-module=../../SOURCES/naxsi/naxsi_src --add-module=../../SOURCES/nchan --add-module=../../SOURCES/nginx_circle_gif --add-module=../../SOURCES/nginx-ct --add-module=../../S
OURCES/nginx-http-rdns --add-module=../../SOURCES/nginx-log-zmq --add-module=../../SOURCES/nginx-openssl-version --add-module=../../SOURCES/nginx-push-stream-module --add-module=../../SOURCES/nginx-upload-progress-module --add-module=../.
./SOURCES/ngx_cache_purge --add-module=../../SOURCES/ngx_brotli --add-module=../../SOURCES/traffic-accounting-nginx-module --add-module=../../SOURCES/ngx_http_auth_pam_module --add-module=../../SOURCES/ngx_http_internal_redirect --add-mod
ule=../../SOURCES/ngx_log_if --add-module=../../SOURCES/ngx-fancyindex --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DT
CP_FASTOPEN=23 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie' --with-openssl=../../SOURCES/openssl --with-openssl-opt=enable-tls1_3 --with-debug

Output from error.log :

2019/06/27 04:21:19 [notice] 32881#32881: signal 17 (SIGCHLD) received from 33173
2019/06/27 04:21:19 [alert] 32881#32881: worker process 33173 exited on signal 11
2019/06/27 04:21:19 [debug] 32881#32881: shmtx forced unlock
2019/06/27 04:21:19 [debug] 32881#32881: shmtx forced unlock
2019/06/27 04:21:19 [debug] 32881#32881: shmtx forced unlock
2019/06/27 04:21:19 [debug] 32881#32881: wake up, sigio 0
2019/06/27 04:21:19 [debug] 32881#32881: reap children
2019/06/27 04:21:19 [debug] 32881#32881: child: 0 33173 e:0 t:1 d:0 r:1 j:0
2019/06/27 04:21:19 [debug] 32881#32881: channel 3:9
2019/06/27 04:21:19 [notice] 32881#32881: start worker process 33174
2019/06/27 04:21:19 [debug] 32881#32881: sigsuspend
2019/06/27 04:21:19 [debug] 33174#33174: add cleanup: 00005610D7C8C588
2019/06/27 04:21:19 [debug] 33174#33174: malloc: 00005610D7C7A430:8
2019/06/27 04:21:19 [debug] 33174#33174: notify eventfd: 11
2019/06/27 04:21:19 [debug] 33174#33174: eventfd: 12
2019/06/27 04:21:19 [debug] 33174#33174: testing the EPOLLRDHUP flag: success
2019/06/27 04:21:19 [debug] 33174#33174: malloc: 00005610D7C6AE80:6144
2019/06/27 04:21:19 [debug] 33174#33174: malloc: 00007F18C9C84010:253952
2019/06/27 04:21:19 [debug] 33174#33174: malloc: 00005610D7C90B70:98304
2019/06/27 04:21:19 [debug] 33174#33174: malloc: 00005610D7CA8B80:98304
2019/06/27 04:21:19 [debug] 33174#33174: epoll add event: fd:6 op:1 ev:00002001
2019/06/27 04:21:19 [debug] 33174#33174: REAPER: start reaper memstore message with tick time of 5 sec
2019/06/27 04:21:19 [debug] 33174#33174: REAPER: start reaper memstore nobuffer message with tick time of 2 sec
2019/06/27 04:21:19 [debug] 33174#33174: REAPER: start reaper chanhead with tick time of 4 sec
2019/06/27 04:21:19 [debug] 33174#33174: REAPER: start reaper chanhead churner with tick time of 10 sec
2019/06/27 04:21:19 [debug] 33174#33174: epoll add event: fd:7 op:1 ev:00002001
2019/06/27 04:21:19 [debug] 33174#33174: MEMSTORE:00: init memstore worker pid:33174 slot:0 max workers :1 or 1
2019/06/27 04:21:19 [debug] 33174#33174: shmtx lock
2019/06/27 04:21:19 [debug] 33174#33174: MEMSTORE:00: found my procslot (ngx_process_slot 0, procslot 0)
2019/06/27 04:21:19 [debug] 33174#33174: MEMSTORE:00: shm: 00005610D7C7A350, shdata: 00007F18BAD40000
2019/06/27 04:21:19 [debug] 33174#33174: shmtx unlock
2019/06/27 04:21:19 [debug] 33174#33174: WEBSOCKET_PUBLISHER:init WS publisher llist
2019/06/27 04:21:19 [debug] 33174#33174: malloc: 00005610D7C7A200:152
2019/06/27 04:21:19 [debug] 33174#33174: THINGCACHE: init fd_cache 00005610D7C7A200
2019/06/27 04:21:19 [notice] 32881#32881: signal 17 (SIGCHLD) received from 33174
2019/06/27 04:21:19 [alert] 32881#32881: worker process 33174 exited on signal 11
2019/06/27 04:21:19 [debug] 32881#32881: shmtx forced unlock
2019/06/27 04:21:19 [debug] 32881#32881: shmtx forced unlock
2019/06/27 04:21:19 [debug] 32881#32881: shmtx forced unlock
2019/06/27 04:21:19 [debug] 32881#32881: wake up, sigio 0
2019/06/27 04:21:19 [debug] 32881#32881: reap children
2019/06/27 04:21:19 [debug] 32881#32881: child: 0 33174 e:0 t:1 d:0 r:1 j:0
2019/06/27 04:21:19 [debug] 32881#32881: channel 3:9
2019/06/27 04:21:19 [notice] 32881#32881: start worker process 33175

With the module version 1.2, all are fine :

2019/06/27 04:39:55 [debug] 32650#32650: bind() 0.0.0.0:80 #6
2019/06/27 04:39:55 [notice] 32650#32650: OpenSSL: Built with [OpenSSL 1.1.1c  28 May 2019] runtime is [OpenSSL 1.1.1c  28 May 2019]
2019/06/27 04:39:55 [notice] 32650#32650: using the "epoll" event method
2019/06/27 04:39:55 [debug] 32650#32650: counter: 00007F30F807A080, 1
2019/06/27 04:39:55 [notice] 32650#32650: ngx_http_push_stream_module will not be used with this configuration.
2019/06/27 04:39:55 [notice] 32650#32650: nginx/1.15.7
2019/06/27 04:39:55 [notice] 32650#32650: built by gcc 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
2019/06/27 04:39:55 [notice] 32650#32650: OS: Linux 4.19.0-5-amd64
2019/06/27 04:39:55 [notice] 32650#32650: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/06/27 04:39:55 [debug] 32651#32651: write: 9, 00007FFE6171F9E0, 6, 0
2019/06/27 04:39:55 [debug] 32651#32651: setproctitle: "nginx: master process nginx-debug -c /etc/nginx/nginx.conf"
2019/06/27 04:39:55 [notice] 32651#32651: start worker processes
2019/06/27 04:39:55 [debug] 32651#32651: channel 3:9
2019/06/27 04:39:55 [notice] 32651#32651: start worker process 32652
2019/06/27 04:39:55 [debug] 32651#32651: sigsuspend
2019/06/27 04:39:55 [debug] 32652#32652: add cleanup: 000055CA4A0D0570
2019/06/27 04:39:55 [debug] 32652#32652: malloc: 000055CA4A0BE430:8
2019/06/27 04:39:55 [debug] 32652#32652: notify eventfd: 11
2019/06/27 04:39:55 [debug] 32652#32652: eventfd: 12
2019/06/27 04:39:55 [debug] 32652#32652: testing the EPOLLRDHUP flag: success
2019/06/27 04:39:55 [debug] 32652#32652: malloc: 000055CA4A0AEE80:6144
2019/06/27 04:39:55 [debug] 32652#32652: malloc: 00007F30F8016010:253952
2019/06/27 04:39:55 [debug] 32652#32652: malloc: 000055CA4A0D4B70:98304
2019/06/27 04:39:55 [debug] 32652#32652: malloc: 000055CA4A0ECB80:98304
2019/06/27 04:39:55 [debug] 32652#32652: epoll add event: fd:6 op:1 ev:00002001
2019/06/27 04:39:55 [debug] 32652#32652: REAPER: start reaper memstore message with tick time of 5 sec
2019/06/27 04:39:55 [debug] 32652#32652: REAPER: start reaper memstore nobuffer message with tick time of 2 sec
2019/06/27 04:39:55 [debug] 32652#32652: REAPER: start reaper chanhead with tick time of 4 sec
2019/06/27 04:39:55 [debug] 32652#32652: REAPER: start reaper chanhead churner with tick time of 10 sec
2019/06/27 04:39:55 [debug] 32652#32652: epoll add event: fd:7 op:1 ev:00002001
2019/06/27 04:39:55 [debug] 32652#32652: MEMSTORE:00: init memstore worker pid:32652 slot:0 max workers :1 or 1
2019/06/27 04:39:55 [debug] 32652#32652: shmtx lock
2019/06/27 04:39:55 [debug] 32652#32652: MEMSTORE:00: found my procslot (ngx_process_slot 0, procslot 0)
2019/06/27 04:39:55 [debug] 32652#32652: MEMSTORE:00: shm: 000055CA4A0BE350, shdata: 00007F30E90D2000
2019/06/27 04:39:55 [debug] 32652#32652: shmtx unlock
2019/06/27 04:39:55 [debug] 32652#32652: WEBSOCKET_PUBLISHER:init WS publisher llist
2019/06/27 04:39:55 [debug] 32652#32652: malloc: 000055CA4A0BE200:152
2019/06/27 04:39:55 [debug] 32652#32652: THINGCACHE: init fd_cache 000055CA4A0BE200
2019/06/27 04:39:55 [debug] 32652#32652: epoll add event: fd:9 op:1 ev:00002001
2019/06/27 04:39:55 [debug] 32652#32652: setproctitle: "nginx: worker process"
2019/06/27 04:39:55 [debug] 32652#32652: worker cycle
2019/06/27 04:39:55 [debug] 32652#32652: epoll timer: -1

Have you any idea how to fix it ?

Regards

Lax commented 5 years ago

I'm trying to reproduce the issue, however, the problem didn't appear with a default Nginx config. Can you post your Nginx config file? @colundrum

ghost commented 5 years ago

Hello, This is my output of nginx -V

nginx version: nginx/1.15.7
built by gcc 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)
built with OpenSSL 1.1.1c  28 May 2019
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-pcre-jit --with-http_geoip_module=dynamic --with-http_image_filter_module=dynamic --with-http_perl_module=dynamic --with-http_xslt_module=dynamic --add-module=../../SOURCES/headers-more-nginx-module --add-module=../../SOURCES/naxsi/naxsi_src --add-module=../../SOURCES/nchan --add-module=../../SOURCES/nginx_circle_gif --add-module=../../SOURCES/nginx-ct --add-module=../../SOURCES/nginx-http-rdns --add-module=../../SOURCES/nginx-log-zmq --add-module=../../SOURCES/nginx-openssl-version --add-module=../../SOURCES/nginx-push-stream-module --add-module=../../SOURCES/nginx-upload-progress-module --add-module=../../SOURCES/ngx_cache_purge --add-module=../../SOURCES/ngx_brotli --add-module=../../SOURCES/traffic-accounting-nginx-module --add-module=../../SOURCES/ngx_http_auth_pam_module --add-module=../../SOURCES/ngx_http_internal_redirect --add-module=../../SOURCES/ngx_log_if --add-module=../../SOURCES/ngx-fancyindex --add-module=../../SOURCES/ngx_devel_kit --add-module=../../SOURCES/lua-nginx-module --add-module=../../SOURCES/form-input-nginx-module --add-module=../../SOURCES/set-misc-nginx-module --add-module=../../SOURCES/encrypted-session-nginx-module --add-module=../../SOURCES/testcookie-nginx-module --add-module=../../SOURCES/ngx_dynamic_etag --add-module=../../SOURCES/stream-lua-nginx-module --add-module=../../SOURCES/srcache-nginx-module --add-module=../../SOURCES/memc-nginx-module --add-module=../../SOURCES/rds-csv-nginx-module --add-module=../../SOURCES/rds-json-nginx-module --add-module=../../SOURCES/ngx_postgres --add-module=../../SOURCES/nginx-static-etags --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DTCP_FASTOPEN=23 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie' --with-openssl=../../SOURCES/openssl --with-openssl-opt=enable-tls1_3

No problem with version v1.2 :

TCP FASTOPEN : activated
OpenSSL : OpenSSL_1_1_1c
Modules version (branch or tag) :
- cache_purge            : 2.3
- devel_kit              : v0.3.0
- dynamic_etag           : 0.0.3
- encrypted_session      : v0.08
- fancyindex             : v0.4.3
- headers-more           : v0.33
- http_auth_pam          : v1.5.1
- http_internal_redirect : v0.6
- lua                    : v0.10.15
- memc                   : v0.19
- nchan                  : v1.2.6
- openssl-version        : v0.04
- push-stream-module     : 0.5.4
- rds_csv                : v0.09
- rds_json               : v0.15
- set_misc               : v0.32
- srcache                : v0.31
- stream-lua             : v0.0.7
- traffic_accounting     : v1.2

- brotli : MASTER @ bfd2885b2da4d763fed18f49216bb935223cd34b
- naxsi : MASTER @ d3cbf8a5b055c3d6ae17be37797ecb82d0a4956c
- nginx-upload-progress-module : MASTER @ afb2d31d1277c50bd6215c470ba94b843349e250
- circle_gif : MASTER @ 4631d75be7b5c46aef7fee2438eec84081bb406b
- http-rdns : MASTER @ a32deecaf1fa4be4bd445c2b770283d20bf61da6
- log_if : MASTER @ 3a78876fed0bb7e497bfd41c25afba3c2535d87f
- log-zmq : MASTER @ b8e18592491c8c9c2a4aae4a2f3eec377f753610
- ct : MASTER @ 93e9884764b77300236fd878ae284f2a40314f38
- testcookie-nginx-module : MASTER @ 3e0a32f611dc98406f0ae8b1fce12673dbc62eaf
- form-input-nginx-module : MASTER @ 2c94e74671f006d1897de062b5c774f7e0e5ff74
- ngx_postgres : MASTER @ 7950a250e9bc99967d83c57fbbadb9d0d6d5c4bf
- nginx-static-etags : MASTER @ 424e7b0eadbaea822707d1855e4b5ff737c0189c

If I change traffic_accounting to v2.0, I obtain signal 17 (SIGCHLD)

If you want to reproduce it more easily, you can look my 2 repositories :

I use this way to compile and test inside the same docker :

mkdir -p /tmp/shared
docker run -it --rm -u root -v /tmp/shared:/shared colundrum/centos-builder-custom_nginx_rpms:develop
su - builder && ./run.sh
after, CTRL+D and yum install /shared/nginx-1*.rpm

The branch master is only for CI/CD because I have all I need to release in GitHub pages using var env.

You'll need to add lua_load_resty_core off in nginx.conf (inside http {}) … for me it's in Ansible about my config.

Regards

vanrox commented 3 years ago

Can not get nginx-1.20.1 (source install) to work with traffic-accounting-nginx-module v2.0 (source install) on CentOS 7.9.2009. Using most basic config as follows:

load_module modules/ngx_http_accounting_module.so; worker_processes 1; error_log logs/error.log debug; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; accounting on; accounting_log logs/http-accounting.log debug; accounting_id $hostname; sendfile on; keepalive_timeout 65; server { listen 8008; server_name localhost; location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } }

error.log extract:

2021/07/22 21:38:02 [debug] 218908#218908: bind() 0.0.0.0:8008 #7 2021/07/22 21:38:02 [notice] 218908#218908: using the "epoll" event method 2021/07/22 21:38:02 [debug] 218908#218908: counter: 00007F8B32CCE080, 1 2021/07/22 21:38:02 [notice] 218908#218908: nginx/1.20.1 2021/07/22 21:38:02 [notice] 218908#218908: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 2021/07/22 21:38:02 [notice] 218908#218908: OS: Linux 3.10.0-1160.11.1.el7.x86_64 2021/07/22 21:38:02 [notice] 218908#218908: getrlimit(RLIMIT_NOFILE): 1024:4096 2021/07/22 21:38:02 [debug] 218910#218910: write: 8, 00007FFC08473C40, 7, 0 2021/07/22 21:38:02 [debug] 218910#218910: setproctitle: "nginx: master process /opt/nginx/sbin/nginx -c /opt/nginx/conf/nginx.conf" 2021/07/22 21:38:02 [notice] 218910#218910: start worker processes 2021/07/22 21:38:02 [debug] 218910#218910: channel 3:8 2021/07/22 21:38:02 [notice] 218910#218910: start worker process 218911 2021/07/22 21:38:02 [debug] 218910#218910: sigsuspend 2021/07/22 21:38:02 [debug] 218911#218911: add cleanup: 0000559957DDFCD0 2021/07/22 21:38:02 [debug] 218911#218911: malloc: 0000559957DE4260:8 2021/07/22 21:38:02 [debug] 218911#218911: notify eventfd: 10 2021/07/22 21:38:02 [debug] 218911#218911: eventfd: 11 2021/07/22 21:38:02 [debug] 218911#218911: testing the EPOLLRDHUP flag: success 2021/07/22 21:38:02 [debug] 218911#218911: malloc: 0000559957DC3E30:6144 2021/07/22 21:38:02 [debug] 218911#218911: malloc: 00007F8B32C64010:245760 2021/07/22 21:38:02 [debug] 218911#218911: malloc: 0000559957DE44E0:98304 2021/07/22 21:38:02 [debug] 218911#218911: malloc: 0000559957DFC4F0:98304 2021/07/22 21:38:02 [debug] 218911#218911: epoll add event: fd:7 op:1 ev:00002001 2021/07/22 21:38:02 [notice] 218910#218910: signal 17 (SIGCHLD) received from 218911 2021/07/22 21:38:02 [alert] 218910#218910: worker process 218911 exited on signal 11 2021/07/22 21:38:02 [debug] 218910#218910: shmtx forced unlock 2021/07/22 21:38:02 [debug] 218910#218910: wake up, sigio 0 2021/07/22 21:38:02 [debug] 218910#218910: reap children 2021/07/22 21:38:02 [debug] 218910#218910: child: 0 218911 e:0 t:1 d:0 r:1 j:0 2021/07/22 21:38:02 [debug] 218910#218910: channel 3:8 2021/07/22 21:38:02 [notice] 218910#218910: start worker process 218912 2021/07/22 21:38:02 [debug] 218910#218910: sigsuspend 2021/07/22 21:38:02 [debug] 218912#218912: add cleanup: 0000559957DDFCD0 2021/07/22 21:38:02 [debug] 218912#218912: malloc: 0000559957DE4260:8 2021/07/22 21:38:02 [debug] 218912#218912: notify eventfd: 10 2021/07/22 21:38:02 [debug] 218912#218912: eventfd: 11 2021/07/22 21:38:02 [debug] 218912#218912: testing the EPOLLRDHUP flag: success 2021/07/22 21:38:02 [debug] 218912#218912: malloc: 0000559957DC3E30:6144 2021/07/22 21:38:02 [debug] 218912#218912: malloc: 00007F8B32C64010:245760 2021/07/22 21:38:02 [debug] 218912#218912: malloc: 0000559957DE44E0:98304 2021/07/22 21:38:02 [debug] 218912#218912: malloc: 0000559957DFC4F0:98304 2021/07/22 21:38:02 [debug] 218912#218912: epoll add event: fd:7 op:1 ev:00002001 2021/07/22 21:38:02 [notice] 218910#218910: signal 17 (SIGCHLD) received from 218912 2021/07/22 21:38:02 [alert] 218910#218910: worker process 218912 exited on signal 11 2021/07/22 21:38:02 [debug] 218910#218910: shmtx forced unlock 2021/07/22 21:38:02 [debug] 218910#218910: wake up, sigio 0 2021/07/22 21:38:02 [debug] 218910#218910: reap children 2021/07/22 21:38:02 [debug] 218910#218910: child: 0 218912 e:0 t:1 d:0 r:1 j:0 2021/07/22 21:38:02 [debug] 218910#218910: channel 3:8 2021/07/22 21:38:02 [notice] 218910#218910: start worker process 218913 2021/07/22 21:38:02 [debug] 218910#218910: sigsuspend 2021/07/22 21:38:02 [debug] 218913#218913: add cleanup: 0000559957DDFCD0 2021/07/22 21:38:02 [debug] 218913#218913: malloc: 0000559957DE4260:8 2021/07/22 21:38:02 [debug] 218913#218913: notify eventfd: 10 2021/07/22 21:38:02 [debug] 218913#218913: eventfd: 11 2021/07/22 21:38:02 [debug] 218913#218913: testing the EPOLLRDHUP flag: success 2021/07/22 21:38:02 [debug] 218913#218913: malloc: 0000559957DC3E30:6144 2021/07/22 21:38:02 [debug] 218913#218913: malloc: 00007F8B32C64010:245760 2021/07/22 21:38:02 [debug] 218913#218913: malloc: 0000559957DE44E0:98304 2021/07/22 21:38:02 [debug] 218913#218913: malloc: 0000559957DFC4F0:98304 2021/07/22 21:38:02 [debug] 218913#218913: epoll add event: fd:7 op:1 ev:00002001 2021/07/22 21:38:02 [notice] 218910#218910: signal 17 (SIGCHLD) received from 218913 2021/07/22 21:38:02 [alert] 218910#218910: worker process 218913 exited on signal 11 2021/07/22 21:38:02 [debug] 218910#218910: shmtx forced unlock 2021/07/22 21:38:02 [debug] 218910#218910: wake up, sigio 0 2021/07/22 21:38:02 [debug] 218910#218910: reap children 2021/07/22 21:38:02 [debug] 218910#218910: child: 0 218913 e:0 t:1 d:0 r:1 j:0 2021/07/22 21:38:02 [debug] 218910#218910: channel 3:8 2021/07/22 21:38:02 [notice] 218910#218910: start worker process 218914 2021/07/22 21:38:02 [debug] 218910#218910: sigsuspend 2021/07/22 21:38:02 [debug] 218914#218914: add cleanup: 0000559957DDFCD0 2021/07/22 21:38:02 [debug] 218914#218914: malloc: 0000559957DE4260:8 2021/07/22 21:38:02 [debug] 218914#218914: notify eventfd: 10 2021/07/22 21:38:02 [debug] 218914#218914: eventfd: 11 2021/07/22 21:38:02 [debug] 218914#218914: testing the EPOLLRDHUP flag: success 2021/07/22 21:38:02 [debug] 218914#218914: malloc: 0000559957DC3E30:6144 2021/07/22 21:38:02 [debug] 218914#218914: malloc: 00007F8B32C64010:245760 2021/07/22 21:38:02 [debug] 218914#218914: malloc: 0000559957DE44E0:98304 2021/07/22 21:38:02 [debug] 218914#218914: malloc: 0000559957DFC4F0:98304 2021/07/22 21:38:02 [debug] 218914#218914: epoll add event: fd:7 op:1 ev:00002001 2021/07/22 21:38:02 [notice] 218910#218910: signal 17 (SIGCHLD) received from 218914 2021/07/22 21:38:02 [alert] 218910#218910: worker process 218914 exited on signal 11 2021/07/22 21:38:02 [debug] 218910#218910: shmtx forced unlock 2021/07/22 21:38:02 [debug] 218910#218910: wake up, sigio 0 2021/07/22 21:38:02 [debug] 218910#218910: reap children 2021/07/22 21:38:02 [debug] 218910#218910: child: 0 218914 e:0 t:1 d:0 r:1 j:0 2021/07/22 21:38:02 [debug] 218910#218910: channel 3:8 2021/07/22 21:38:02 [notice] 218910#218910: start worker process 218915

http-accounting.log extract.

2021/07/22 21:38:02 [notice] 218911#218911: pid:218911|start http traffic accounting 2021/07/22 21:38:02 [notice] 218912#218912: pid:218912|start http traffic accounting 2021/07/22 21:38:02 [notice] 218913#218913: pid:218913|start http traffic accounting 2021/07/22 21:38:02 [notice] 218914#218914: pid:218914|start http traffic accounting 2021/07/22 21:38:02 [notice] 218915#218915: pid:218915|start http traffic accounting 2021/07/22 21:38:02 [notice] 218916#218916: pid:218916|start http traffic accounting 2021/07/22 21:38:02 [notice] 218917#218917: pid:218917|start http traffic accounting 2021/07/22 21:38:02 [notice] 218918#218918: pid:218918|start http traffic accounting 2021/07/22 21:38:02 [notice] 218920#218920: pid:218920|start http traffic accounting 2021/07/22 21:38:02 [notice] 218921#218921: pid:218921|start http traffic accounting 2021/07/22 21:38:02 [notice] 218922#218922: pid:218922|start http traffic accounting 2021/07/22 21:38:02 [notice] 218923#218923: pid:218923|start http traffic accounting 2021/07/22 21:38:02 [notice] 218924#218924: pid:218924|start http traffic accounting 2021/07/22 21:38:02 [notice] 218926#218926: pid:218926|start http traffic accounting

Any ideas as to why this does not work?