Double RAM usage after Nginx reload
Christos Chatzaras
chris at cretaforce.gr
Fri Mar 13 14:24:10 UTC 2020
Any idea why the "cache manager process" uses double RAM after the reload?
System:
nginx version: nginx/1.16.1
built with OpenSSL 1.1.1d-freebsd 10 Sep 2019
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 --modules-path=/usr/local/libexec/nginx --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_realip_module --with-pcre --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-cc-opt='-DNGX_HAVE_INET6=0 -I /usr/local/include' --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream=dynamic --add-dynamic-module=/usr/ports/www/nginx/work/nginx-http-auth-digest-cd86418
How to reproduce it:
1) service nginx start
2) top output:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
99240 www 1 20 0 926M 519M kqread 5 0:02 0.65% nginx: worker process (nginx)
4433 www 1 20 0 934M 525M kqread 4 0:00 0.00% nginx: cache manager process (nginx)
3) service nginx reload
4) top output:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
49456 www 1 20 0 930M 523M kqread 6 0:03 0.11% nginx: worker process (nginx)
50868 www 1 20 0 1759M 1028M kqread 2 0:00 0.00% nginx: cache manager process (nginx)
More information about the nginx
mailing list