summaryrefslogtreecommitdiff
path: root/conf/packet.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/packet.conf')
-rw-r--r--conf/packet.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/packet.conf b/conf/packet.conf
index 3a7ec2c85..1780d1b4c 100644
--- a/conf/packet.conf
+++ b/conf/packet.conf
@@ -10,6 +10,19 @@ debug: no
// How long can a socket stall before closing the connection (in seconds)?
stall_time: 60
+// Linux/Epoll: Maxmimum Events per cycle
+// Default Value:
+// (Maxmimum Supported Connections)/2
+// NOTE: this controls the maximum collected socket-events per-cycle (call to epoll_wait())
+// for example settings this to 32 will allow up to 32 events (incomming data/new connections
+// per server-cycle.
+// NOTE: Recommended Settings is at least half the maxmimum supported connections
+// Settings this to a lower value, may cause lags/delays
+// Depending on available CPU Time
+// NOTE: This Setting is only available on Linux when build using EPoll as event dispatcher!
+//
+//epoll_maxevents: 1024
+
// Maximum allowed size for clients packets in bytes (default: 65535).
// Default Values:
// 24576 (Clients < 20131223)