maxproc
pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count;
pv_maxchunks = MAX(pv_entry_max / _NPCPV, maxproc);
pfs_vncache_hashtbl = hashinit(maxproc / 4, M_PFSVNCACHE, &pfs_vncache_hash);
pv_maxchunks = MAX(pv_entry_max / _NPCPV, maxproc);
pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count;
p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc;
if (nprocs_new >= maxproc - 10) {
nprocs_new >= maxproc) {
SYSCTL_INT(_kern, KERN_MAXPROC, maxproc, CTLFLAG_RDTUN | CTLFLAG_NOFETCH,
&maxproc, 0, "Maximum number of processes");
pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash);
maxthread = MIN(maxproc * max_threads_per_proc, 1000000);
maxthread = MIN(maxproc * max_threads_per_proc, 100000);
tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash);
ncallout = imin(16 + maxproc + maxfiles, 18508);
maxproc = NPROC;
TUNABLE_INT_FETCH("kern.maxproc", &maxproc);
if (maxproc > maxproc_clamp)
maxproc = maxproc_clamp;
if (maxproc > pid_max)
maxproc = pid_max;
maxprocperuid = (maxproc * 9) / 10;
int maxproc; /* maximum # of processes */
physvnodes = maxproc + pgtok(vm_cnt.v_page_count) / 32 +
pv_entry_max = shpgperproc * maxproc + vm_cnt.v_page_count;
extern int nprocs, maxproc; /* Current and max number of procs. */
int mib[2], maxproc;
proclen = sizeof(maxproc);
ATF_REQUIRE_EQ(0, sysctl(mib, 2, &maxproc, &proclen, NULL, 0));
int ch, debug = 0, error, maxproc = 30, retval, saved_errno;
maxproc = atoi(optarg);
while (maxproc > 0 && nchildren >= maxproc) {
"waiting for child process to exit", maxproc);
conf_set_maxproc(int maxproc)
conf->set_maxproc(maxproc);
void conf_set_maxproc(int maxproc);
conf::set_maxproc(int maxproc)
conf_maxproc = maxproc;
while (conf->maxproc() > 0 && nchildren >= conf->maxproc()) {
conf->maxproc());
void set_maxproc(int maxproc);
maxproc: MAXPROC STR
maxproc
int ch, debug = 0, error, iscsi_fd, maxproc = 30, retval, saved_errno,
maxproc = atoi(optarg);
while (maxproc > 0 && nchildren >= maxproc) {
"waiting for child process to exit", maxproc);