From: Jeff Layton Date: Mon, 20 Oct 2008 15:51:58 +0000 (-0400) Subject: lockd: set svc_serv->sv_maxconn to a more reasonable value (try #3) X-Git-Tag: v2.6.29-rc1~177^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72a476b4b7ecadb80185de31236edb303c1a5d0;p=pandora-kernel.git lockd: set svc_serv->sv_maxconn to a more reasonable value (try #3) The default method for calculating the number of connections allowed per RPC service arbitrarily limits single-threaded services to 80 connections. This is too low for services like lockd and artificially limits the number of TCP clients that it can support. Have lockd set a default sv_maxconn value to 1024 (which is the typical default value for RLIMIT_NOFILE. Also add a module parameter to allow an admin to set this to an arbitrary value. Signed-off-by: Jeff Layton Acked-by: Neil Brown Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed