diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-05-03 20:35:36 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-22 01:54:21 -0700 |
commit | 721be5f0d1874da3e623b4eeea81952909fdfee2 (patch) | |
tree | 51796f58885b89b0087df70744459f37d274baf2 | |
parent | 99b4c6e1208d39d5938900e3c4f4ebb8f374e08a (diff) | |
download | unicorn-721be5f0d1874da3e623b4eeea81952909fdfee2.tar.gz |
-rw-r--r-- | TUNING | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |