summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 16:41:07 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 16:41:07 +0000
commit7107ec12d8640d35cfe3d5002db1bc1deb33625d (patch)
tree72597b00288c0d895880e24a97cadb8a178b5517 /conf
parentee913368d7162dbe0dd119091f8b468eb7be0f1a (diff)
Flexible SendQ
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11766 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'conf')
-rw-r--r--conf/inspircd.conf.example27
1 files changed, 11 insertions, 16 deletions
diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example
index 1247a5dc3..0b860bb81 100644
--- a/conf/inspircd.conf.example
+++ b/conf/inspircd.conf.example
@@ -241,16 +241,6 @@
# send /nick, /user or /pass)
timeout="10"
- # pingfreq: How often (in seconds) the server tries to ping connecting clients.
- pingfreq="120"
-
- # sendq: Amount of data (in bytes) that the server is allowed to send to the user
- # before they are dropped.
- sendq="262144"
-
- # recvq: Amount of data (in bytes) allowed in a clients queue before they are dropped.
- recvq="8192"
-
# localmax: Maximum local connections per IP (or CIDR mask, see below).
localmax="3"
@@ -295,11 +285,17 @@
# pingfreq: How often (in seconds) the server tries to ping connecting clients.
pingfreq="120"
- # sendq: Amount of data that the server is allowed to send to the user
- # before they are dropped.
- sendq="262144"
+ # hardsendq: maximum amount of data allowed in a client's send queue
+ # before they are dropped. Keep this value higher than the length of
+ # your network's /LIST or /WHO output, or you will have lots of
+ # disconnects from sendq overruns!
+ hardsendq="1048576"
+
+ # softsendq: amount of data in a client's send queue before the server
+ # begins delaying their commands
+ softsendq="8192"
- # recvq: amount of data allowed in a clients queue before they are dropped.
+ # recvq: amount of data allowed in a client's queue before they are dropped.
recvq="8192"
# localmax: Maximum local connections per IP.
@@ -544,8 +540,7 @@
netbuffersize="10240"
# maxwho: Maximum number of results to show in a /who query.
- # It is not recommended to set this above 1024.
- maxwho="128"
+ maxwho="4096"
# somaxconn: The maximum number of connections that may be waiting
# in the accept queue. This is *NOT* the total maximum number of