[Midnightbsd-cvs] src [7355] trunk/sys/sys/socket.h: double the max socket queue length by default to 256.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Nov 1 14:03:22 EST 2015


Revision: 7355
          http://svnweb.midnightbsd.org/src/?rev=7355
Author:   laffer1
Date:     2015-11-01 14:03:22 -0500 (Sun, 01 Nov 2015)
Log Message:
-----------
double the max socket queue length by default to 256. this is still quite low for servers, but even desktops are running many apps that communicate with sockets.

Modified Paths:
--------------
    trunk/sys/sys/socket.h

Modified: trunk/sys/sys/socket.h
===================================================================
--- trunk/sys/sys/socket.h	2015-11-01 19:02:08 UTC (rev 7354)
+++ trunk/sys/sys/socket.h	2015-11-01 19:03:22 UTC (rev 7355)
@@ -424,7 +424,7 @@
 /*
  * Maximum queue length specifiable by listen.
  */
-#define	SOMAXCONN	128
+#define	SOMAXCONN	256
 
 /*
  * Message header for recvmsg and sendmsg calls.



More information about the Midnightbsd-cvs mailing list