From: Jeffrey Altman Date: Fri, 12 Sep 2008 15:32:23 +0000 (+0000) Subject: windows-service-procs-20080912 X-Git-Tag: openafs-devel-1_5_61~824 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=fd55471b57bce441454d7b3c72c7be6a66aad65d windows-service-procs-20080912 LICENSE MIT if we are going to use hot threads it would be useful if there were some additional server threads available to become listeners as needed. --- diff --git a/src/WINNT/afsd/afsd_init.c b/src/WINNT/afsd/afsd_init.c index 376be0b..a056519 100644 --- a/src/WINNT/afsd/afsd_init.c +++ b/src/WINNT/afsd/afsd_init.c @@ -1350,6 +1350,9 @@ int afsd_InitCM(char **reasonP) *reasonP = "unknown error"; return -1; } + rx_SetMinProcs(serverp, 2); + rx_SetMaxProcs(serverp, 4); + rx_SetCheckReach(serverp, 1); nullServerSecurityClassp = rxnull_NewServerSecurityObject(); serverp = rx_NewService(0, RX_STATS_SERVICE_ID, "rpcstats", @@ -1359,6 +1362,8 @@ int afsd_InitCM(char **reasonP) *reasonP = "unknown error"; return -1; } + rx_SetMinProcs(serverp, 2); + rx_SetMaxProcs(serverp, 4); /* start server threads, *not* donating this one to the pool */ rx_StartServer(0);