From: tedu Date: Fri, 18 Apr 2014 20:22:17 +0000 (+0000) Subject: raise file limit to something more web scale, but lower connections so X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ec931fdd1f86ca4e3f01310bc0d7b269100785c5;p=openbsd raise file limit to something more web scale, but lower connections so there are some files to spare for other things. --- 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; }