Bump the default kern.rpc.gss.client_max from 128 to 1024.

The old value resulted in bad performance, with high kernel
and gssd(8) load, with more than ~64 clients; it also triggered
crashes, which are to be fixed by a different patch.

PR:		235582
Discussed with:	rmacklem@
MFC after:	2 weeks
This commit is contained in:
Edward Tomasz Napierala 2019-02-19 11:07:02 +00:00
parent 52eb49951a
commit e998861bbb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344276

View File

@ -170,7 +170,7 @@ struct svc_rpc_gss_cookedcred {
};
#define CLIENT_HASH_SIZE 256
#define CLIENT_MAX 128
#define CLIENT_MAX 1024
u_int svc_rpc_gss_client_max = CLIENT_MAX;
u_int svc_rpc_gss_client_hash_size = CLIENT_HASH_SIZE;