diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-10-20 11:51:58 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 11:53:48 -0500 |
commit | c72a476b4b7ecadb80185de31236edb303c1a5d0 (patch) | |
tree | c57ac715970c4a3363b28122ce2d3b47fe179b7f /fs/lockd/svclock.c | |
parent | c9233eb7b0b11ef176d4bf68da2ce85464b6ec39 (diff) | |
download | linux-3.10-c72a476b4b7ecadb80185de31236edb303c1a5d0.tar.gz linux-3.10-c72a476b4b7ecadb80185de31236edb303c1a5d0.tar.bz2 linux-3.10-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/svclock.c')
0 files changed, 0 insertions, 0 deletions