From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210556.tru64-unix-managers.marc@archive.invalid> From: William Whitehead Date: Wed, 19 Nov 1997 18:02:30 +0000 To: tru64-unix-managers Subject: SUMMARY: running out of processes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210556 Many thanks to all of those who helped. There were a lot of suggestions about using /etc/sysconfigtab for modifying. That would have worked, but my problem was elsewhere. Juergen, quoted below, helped me figure out my problem. The problem occurred because I had changed the system name when I upgraded my server from 3.2c to 3.2g a few months ago. This copied the default files to the new /sys/SYSNAME directory. But it changed the kernel based on my /sys/OLDSYSNAME files. Thus when I recompiled using /sys/SYSNAME I got the default files. I had to change the MAXUSERS in the confdef.h file in /sys/SYSNAME. It was set to 32, and I changed it to 256. This appears to have done it. It checked the value with /sys/OLDSYSNAME/confdef.h and that value was set to 256. Below is the explaination about the max processes. ************************************************************************ Hi, I posted this a while ago. It should solve your problem. Juergen --------------------------------------------------------------------- Hi fellas, I received a few answers which helped me solve my problem. Although the value max-proc-per-user is dynamically configurable, the overall maximum number of processes is not. The max number of processes is a static kernel variable. It is determined the following way: NPROC = maxusers * 8 +20 where "NPROC" is the overall maximum number of processes and "maxusers" is the variable defined in /sys/conf/YourMachineName. NPROC is defined in /sys/YourMachineName/param.c. Thus NPROC is statically compiled into the kernel. To increase it I had to recompile the kernel and boot. I set maxusers from 32 to 128 and now it works. My overall max number of processes increased from 276 to 1044 which should be enough. As far as I understand there are at least two more possibilities to increase the number which I have not verified: -You can add a variable "maxproc" to /sys/conf/YourMachineName, like maxproc 512 or so. -You can redefine NPROC by changing "#define NPROC (20 + 8 * MAXUSERS)" in /sys/YourMachineName/param.c. No matter what you do, you have to recompile the kernel and reboot. ********************************************************************** Die Deutsche Bibliothek Juergen Bock Adickesallee 1 069-1525-1728 60322 Frankfurt bock@dbf.ddb.de LEBBE GEHT WEIDER ********************************************************************** Thanks again! Bill ====================================================================== William (Bill) Whitehead | Ph:(801)378-3266 Fax:(801)378-6708 | Library Information Systems | Email: | 2840 HBLL | mailto:william_whitehead@byu.edu | Provo, UT 84602 | Home Page | | http://www.lib.byu.edu/~wbw | ======================================================================