From: "Peter Wächtler" <pwaechtler@loewe-komp.de>
To: Bill Davidsen <davidsen@tmr.com>
Cc: James Bourne <jbourne@MtRoyal.AB.CA>,
Davide Libenzi <davidel@xmailserver.org>,
David Schwartz <davids@webmaster.com>,
joeja@mindspring.com,
"linux-kernel@vger.redhat.com" <linux-kernel@vger.kernel.org>
Subject: Re: max number of threads on a system
Date: Mon, 25 Mar 2002 10:10:49 +0100 [thread overview]
Message-ID: <3C9EE999.4070106@loewe-komp.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0203220840280.14699-100000@skuld.mtroyal.ab.ca> <Pine.LNX.3.96.1020322221213.24536A-100000@gatekeeper.tmr.com>
Bill Davidsen wrote:
> On Fri, 22 Mar 2002, James Bourne wrote:
>
>
>>One thing to note here, using pthreads there is a limit of 1024
>>threads per process. There are patches to glibc to increase this
>>to a larger number (4096 or 8192).
>>
>
> Haven't checked to see the limit in NGPT, but I haven't hit it ;-)
>
There is another limit creeping in: pthread mmap()s 2 MB
of stack for each thread. So you run out of address space
on 32 bit systems with threads > 1024 (and smaller)
next prev parent reply other threads:[~2002-03-25 9:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-22 1:05 max number of threads on a system joeja
2002-03-22 5:49 ` David Schwartz
2002-03-22 6:02 ` Davide Libenzi
2002-03-22 15:34 ` Bill Davidsen
2002-03-22 15:42 ` James Bourne
2002-03-23 3:14 ` Bill Davidsen
2002-03-25 9:10 ` Peter Wächtler [this message]
2002-03-22 17:35 ` Davide Libenzi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C9EE999.4070106@loewe-komp.de \
--to=pwaechtler@loewe-komp.de \
--cc=davidel@xmailserver.org \
--cc=davids@webmaster.com \
--cc=davidsen@tmr.com \
--cc=jbourne@MtRoyal.AB.CA \
--cc=joeja@mindspring.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox