diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-04-18 20:22:18 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-04-18 20:22:18 +0000 |
commit | b1383fe95dd017ac84cae2f2ed23009bc2ef7c06 (patch) | |
tree | 746d1675aa07234f2a1e2e7634668000c8b45ff2 /usr.sbin/nginx | |
parent | 16832da2261ff5d309ad309668c62b09e4d98e93 (diff) |
raise file limit to something more web scale, but lower connections so
there are some files to spare for other things.
Diffstat (limited to 'usr.sbin/nginx')
-rw-r--r-- | usr.sbin/nginx/conf/nginx.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/nginx/conf/nginx.conf b/usr.sbin/nginx/conf/nginx.conf index 8c7ba3ff59b..d6cfc0b554b 100644 --- a/usr.sbin/nginx/conf/nginx.conf +++ b/usr.sbin/nginx/conf/nginx.conf @@ -1,4 +1,4 @@ -# $OpenBSD: nginx.conf,v 1.18 2014/03/27 10:40:42 sthen Exp $ +# $OpenBSD: nginx.conf,v 1.19 2014/04/18 20:22:17 tedu Exp $ # Take note of http://wiki.nginx.org/Pitfalls @@ -14,9 +14,9 @@ worker_processes 1; #pid logs/nginx.pid; - +worker_rlimit_nofile 1024; events { - worker_connections 1024; + worker_connections 800; } |