Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337639 - www-servers/nginx-0.8.49: 8192 worker_connections are more than open file resource limit: 1024
Summary: www-servers/nginx-0.8.49: 8192 worker_connections are more than open file res...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 12:48 UTC by Jonas Björk
Modified: 2010-09-19 08:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Björk 2010-09-16 12:48:22 UTC
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?
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-09-17 06:47:18 UTC
Probably we should stick with 1024 in nginx config file. Or finally update defaults?
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2010-09-19 08:37:50 UTC
fixed, thanks