From 3877be5788274d3f6a4cbe7149a76e9d244c1d1e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 12 Sep 2008 15:41:30 +0000 Subject: [PATCH] DEVEL15-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. (cherry picked from commit fd55471b57bce441454d7b3c72c7be6a66aad65d) --- src/WINNT/afsd/afsd_init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/WINNT/afsd/afsd_init.c b/src/WINNT/afsd/afsd_init.c index 376be0b464..a056519a62 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);