about summary refs log tree commit homepage
path: root/TUNING
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-05-03 20:35:36 -0700
committerEric Wong <normalperson@yhbt.net>2009-05-03 20:36:15 -0700
commit9af6edf6af212c1fcaccb1999b66dfd89ccfb693 (patch)
tree8932c0886e4a878b31f6ca0745a19f1d3bbb47ac /TUNING
parent1ffc1671d659e03d6fbf82864734bafa1f4fb35b (diff)
downloadunicorn-9af6edf6af212c1fcaccb1999b66dfd89ccfb693.tar.gz
Diffstat (limited to 'TUNING')
-rw-r--r--TUNING4
1 files changed, 4 insertions, 0 deletions
diff --git a/TUNING b/TUNING
index c0f633b..6445fd4 100644
--- a/TUNING
+++ b/TUNING
@@ -43,6 +43,10 @@ WARNING: Do not change system parameters unless you know what you're doing!
   size of :rcvbuf and :sndbuf respectively. This is mostly only useful
   for UNIX domain sockets which do not have auto-tuning buffer sizes.
 
+* For load testing/benchmarking with UNIX domain sockets, you should
+  consider increasing net.core.somaxconn or else nginx will start
+  failing to connect under heavy load.
+
 * If you're running out of local ports, consider lowering
   net.ipv4.tcp_fin_timeout to 20-30 (default: 60 seconds).  Also
   consider widening the usable port range by changing