tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jonas Furrer <furrerj () gdr ! telco ! swissptt ! ch>
To: tru64-unix-managers
Subject: SUMMARY:  pthread_create -> not enough space
Date: Tue, 09 Jan 1996 13:52:30 +0000	[thread overview]
Message-ID: <96076327921124.tru64-unix-managers.marc@archive.invalid> (raw)

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@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@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.

                 reply	other threads:[~1996-01-09 13:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox