Lines Matching defs:max_threads
1117 int max_threads;
1133 max_threads = get_smf_iprop("max_threads", 72, 1, INT_MAX);
1134 if (!rpc_control(RPC_SVC_THRMAX_SET, &max_threads)) {
1143 if (tmp != max_threads) {
1144 syslog(LOG_ERR, "setting max_threads to %d failed, "
1145 "using %d worker threads", max_threads, tmp);
1146 max_threads = tmp;
1153 if (max_threads < reserved_threads)
1156 set_rpcb_rmtcalls_max(max_threads - reserved_threads);