worker_connections and worker_rlimit_nofile
Max
maxbear at gmail.com
Thu Feb 4 11:04:43 MSK 2010
Hello,
I used to use worker_connections but wen I use it, I got a lot of too many
open files in the error log.
Now, I changed it to worker_rlimit_nofile 10240 and the problem has been
solved (I google it and found the solution).
I just want to ask, what's the differences between worker_connections and
worker_rlimit_nofile? Why worker_connections will casue too many open files
problem? Thanks.
#user nobody;
worker_processes 2;
worker_rlimit_nofile 10240;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
# worker_connections 10240;
}
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100204/d2f0134a/attachment.html>
More information about the nginx
mailing list