diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-10-20 17:51:58 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 17:53:48 +0100 |
commit | c72a476b4b7ecadb80185de31236edb303c1a5d0 (patch) | |
tree | c57ac715970c4a3363b28122ce2d3b47fe179b7f /usr | |
parent | sunrpc: add sv_maxconn field to svc_serv (try #3) (diff) | |
download | linux-c72a476b4b7ecadb80185de31236edb303c1a5d0.tar.xz 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 'usr')
0 files changed, 0 insertions, 0 deletions