aboutsummaryrefslogtreecommitdiff
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorGravatar Jeff Layton <jlayton@redhat.com> 2008-10-20 11:51:58 -0400
committerGravatar J. Bruce Fields <bfields@citi.umich.edu> 2009-01-06 11:53:48 -0500
commitc72a476b4b7ecadb80185de31236edb303c1a5d0 (patch)
treec57ac715970c4a3363b28122ce2d3b47fe179b7f /fs/lockd/host.c
parentsunrpc: add sv_maxconn field to svc_serv (try #3) (diff)
downloadlinux-c72a476b4b7ecadb80185de31236edb303c1a5d0.tar.gz
linux-c72a476b4b7ecadb80185de31236edb303c1a5d0.tar.bz2
linux-c72a476b4b7ecadb80185de31236edb303c1a5d0.zip
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 <jlayton@redhat.com> Acked-by: Neil Brown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd/host.c')
0 files changed, 0 insertions, 0 deletions