From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076327921124.tru64-unix-managers.marc@archive.invalid> From: Jonas Furrer Date: Tue, 09 Jan 1996 13:52:30 +0000 To: tru64-unix-managers Subject: SUMMARY: pthread_create -> not enough space X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076327921124 My original question was: > We are using Mailworks 1.7A (DU3.2C) with 400 MS-Mail clients. > > Now MS-Mail users can't log in due to the following error : > > A thread could not be created (Error ThreadCreateFailed). > The pthread_create system call returned an error: > (12) Not enough space > Where can I configure something like "max_threads" ? Thanks to: Sundara Vardhan Check out the file param.c in /sys/conf for THREADMAX. If you need to increase the number of threads, then edit /usr/sys/conf/NAME file where NAME is usually your node/machine/system name. In that file add threadmax . Then rebuild the kernel using doconfig. The best is for you to refer the System Administration manual Chapter 5. Hope this solves your problem. Christophe Sawicki There are several ways to increase the maximum number of threads in the kernel. Three of them are given below: (1) use /sbin/sysconfig for proc (see man sysconfig and man sysconfigtabl) (2) add threadmax in /sys/conf/COMPUTER_NAME (3) force THREADMAX in /sys/COMUTER_NAME/param.c (1) may imply the system reboot (I don't recall it, please check it in the doc), (2) and (3) - rebuilding the kernel.