NPM stops working, no errors on logs in unraid. Inside of appdata/logs there is a fallback_error.log expressing
512 worker_connections are not enough, reusing connections" over and over.
Expected Behavior
20 seconds after reboot.
Steps To Reproduce
Rebooting, and waiting.
Environment
OS: Unraid
OS version: 6:12:10
CPU:Intel
Docker version:
Device model:
Browser/OS :chrome
Container creation
I used the community apps.
"NginxProxyManager by jlesage"
Here is the top part of the nginx.conf from inside of the container, this helped extend my crash to days and not seconds.
"# run nginx in foreground
daemon off;
pid /run/nginx/nginx.pid;
user npm;
Set number of worker processes automatically based on number of CPU cores.
worker_processes 32768;
Enables the use of JIT for regular expressions to speed-up their processing.
pcre_jit on;
error_log /data/logs/fallback_error.log warn;
Includes files with directives to load dynamic modules.
include /etc/nginx/modules/*.conf;
Custom
include /data/nginx/custom/root_top[.]conf;
events {
include /data/nginx/custom/events[.]conf;
worker_connections 20000;
}
Current Behavior
NPM stops working, no errors on logs in unraid. Inside of appdata/logs there is a fallback_error.log expressing 512 worker_connections are not enough, reusing connections" over and over.
Expected Behavior
20 seconds after reboot.
Steps To Reproduce
Rebooting, and waiting.
Environment
Container creation
I used the community apps. "NginxProxyManager by jlesage"
Container log
Container inspect
Anything else?
Here is the top part of the nginx.conf from inside of the container, this helped extend my crash to days and not seconds. "# run nginx in foreground
daemon off;
pid /run/nginx/nginx.pid;
user npm;
Set number of worker processes automatically based on number of CPU cores.
worker_processes 32768;
Enables the use of JIT for regular expressions to speed-up their processing.
pcre_jit on;
error_log /data/logs/fallback_error.log warn;
Includes files with directives to load dynamic modules.
include /etc/nginx/modules/*.conf;
Custom
include /data/nginx/custom/root_top[.]conf;
events {
include /data/nginx/custom/events[.]conf;
worker_connections 20000;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
server_tokens off;
tcp_nopush on;
tcp_nodelay on;
client_body_temp_path /var/tmp/nginx/body 1 2;
keepalive_timeout 90s;
proxy_connect_timeout 90s;
proxy_send_timeout 90s;
proxy_read_timeout 90s;
ssl_prefer_server_ciphers on;
gzip on;
proxy_ignore_client_abort off;
client_max_body_size 2000m;
server_names_hash_bucket_size 1024;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding "";
proxy_cache off;
proxy_cache_path /var/lib/nginx/cache/public levels=1:2 keys_zone=public-cache:30m max_size=192m;
proxy_cache_path /var/lib/nginx/cache/private levels=1:2 keys_zone=private-cache:5m max_size=1024m;