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 <svardhan_at_siwest.cts.com>
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 <number of threads needed by you>. 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 <chris_at_cae.ca>
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.
Received on Tue Jan 09 1996 - 09:20:15 NZDT