Re: [cgiwrap-users] rlimit nproc
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2001-12-04 16:56:42
|
Well, you ran "./configure"... it did exactly what it's supposed to. None of those rlimit limit are turned on unless you specfifically request them to be turned on. You need to specify --with-rlimit-nproc or --with-rlimit-nproc=XX As far as what it does, it simply issues the setrlimit() system call prior to executing your script. It's a standard O/S facility. See setrlimit man page on your O/S. -- Nathan On Mon, Dec 03, 2001 at 06:41:43PM -0500, Tuc wrote: > > > > On Mon, Dec 03, 2001 at 05:01:25PM -0500, Tuc wrote: > > > > > > > > Here's a code snip from the cgiwrap web site: > > > > > > > > --with-rlimit-nproc=COUNT > > > > limit number of processes with setrlimit > > > > > > > > That seems to be the entire documentation on this setting that I can > > > > find. So, what is the default value if I don't specify COUNT? > > > > > > > UNLIMITED from what I can tell. It **LOOKS** like the doco says > > > 32, but I checked configure and it seems to imply unlimited. > > > > I just looked at configure, and it should be 32. At least that is what > > the source of configure.in says for nproc, but I have not tried it. > > > > From "./configure" > > checking for limit rlimit-cpu... none > checking for limit rlimit-vmem... none > checking for limit rlimit-as... none > checking for limit rlimit-fsize... none > checking for limit rlimit-data... none > checking for limit rlimit-stack... none > checking for limit rlimit-core... none > checking for limit rlimit-rss... none > checking for limit rlimit-nproc... none > checking for limit rlimit-nofile... none > checking for limit rlimit-memlock... none > > > from config.h > > /* #undef CONF_USE_RLIMIT_ANY */ > /* #undef CONF_USE_RLIMIT_AS */ > /* #undef CONF_USE_RLIMIT_CPU */ > /* #undef CONF_USE_RLIMIT_VMEM */ > /* #undef CONF_USE_RLIMIT_FSIZE */ > /* #undef CONF_USE_RLIMIT_DATA */ > /* #undef CONF_USE_RLIMIT_STACK */ > /* #undef CONF_USE_RLIMIT_CORE */ > /* #undef CONF_USE_RLIMIT_RSS */ > /* #undef CONF_USE_RLIMIT_NPROC */ > /* #undef CONF_USE_RLIMIT_NOFILE */ > /* #undef CONF_USE_RLIMIT_MEMLOCK */ > > > Nathan, can you tell us more what the NPROC actually > is all about? > > Tuc/TTSG Internet Services, Inc. ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 |