]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-service-procs-20080912
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 12 Sep 2008 15:41:30 +0000 (15:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 12 Sep 2008 15:41:30 +0000 (15:41 +0000)
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

index 376be0b464313d06e91e794f96d2265481a9a37b..a056519a62adf50072eb670ca871a75b16afa27b 100644 (file)
@@ -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);