From ec931fdd1f86ca4e3f01310bc0d7b269100785c5 Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 18 Apr 2014 20:22:17 +0000 Subject: [PATCH] raise file limit to something more web scale, but lower connections so there are some files to spare for other things. --- usr.sbin/nginx/conf/nginx.conf | 6 +++--- 1 file 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; } -- 2.20.1