Fresh install of Gentoo (64bit) and nginx. Starting nginx, getting a warning: # /etc/init.d/nginx start * Checking nginx' configuration ... the configuration file /etc/nginx/nginx.conf syntax is ok [warn]: 8192 worker_connections are more than open file resource limit: 1024 configuration file /etc/nginx/nginx.conf test is successful [ ok ] * Starting nginx ... [warn]: 8192 worker_connections are more than open file resource limit: 1024 When changing limits with ulimit: # ulimit -n 8192 it works, making it permanent in /etc/security/limits.conf: * soft nofile 8192 * hard nofile 8192 Reproducible: Always Steps to Reproduce: 1. Start nginx Actual Results: # /etc/init.d/nginx start * Checking nginx' configuration ... the configuration file /etc/nginx/nginx.conf syntax is ok [warn]: 8192 worker_connections are more than open file resource limit: 1024 configuration file /etc/nginx/nginx.conf test is successful [ ok ] * Starting nginx ... [warn]: 8192 worker_connections are more than open file resource limit: 1024 Expected Results: Shouldn't the default configuration be working with an default install of Gentoo?
Probably we should stick with 1024 in nginx config file. Or finally update defaults?
fixed, thanks