From: "Vladimir G. Ivanovic" <vladimir@acm.org>
To: da_alchemist@yahoo.com
Cc: linux-smp@vger.kernel.org
Subject: Re: How do I increase threads per user?
Date: Wed, 16 Apr 2003 15:11:15 -0700 [thread overview]
Message-ID: <200304162211.h3GMBFW8008330@bach.leonora.org> (raw)
In-Reply-To: Your message of "Tue, 08 Apr 2003 16:33:44 PDT." <20030408233344.93046.qmail@web12107.mail.yahoo.com>
My understanding is that the 2.4 series kernels do not support many
running many threads at once. You can compile in support for NGPT
(http://www-124.ibm.com/developerworks/oss/pthreads/) with glibc 2.2
which will probably increase your ability to run many threads at once.
With the for the 2.5 series kernels (with glibc 2.3), NPLT
(http://people.redhat.com/drepper/nptl-design.pdf) is available.
--- Vladimir
------------------------------------------------------------------------
Vladimir G. Ivanovic http://leonora.org/~vladimir
2770 Cowper St. vladimir@acm.org
Palo Alto, CA 94306-2447 +1 650 678 8014
>>>>> "da" == da alchemist <da_alchemist@yahoo.com> writes:
> OS: Linux (or Sun Linux)
> Kernel: 2.4.9-31enterprise
> Memory: 2GB
> CPUs: 2
> Java: 1.4.1_01
> I have a dual processor Cobalt LX50 and I am running
> into a thread limit with Java. No matter what I do
> with the Java JVM parameters (heap and stack), I
> cannot get any more than 949 threads. My "top" output
> shows that I am no where near my memory capacity.
> Below is a simple Java program (28 lines long) I have
> used to test this limit. My question is simply how do
> I go about increasing this limit. Is there some kernel
> parameter I can set or maybe have to recompile into
> the kernel? My /proc/sys/kernel/threads-max is 16383.
> I do not believe my ulimit settings are the problem,
> but I will post them anyway. The problem also occurs
> on non-Cobalt (plain old PCs) uniprocessor machines
> maxxing at about 1018 threads.
next prev parent reply other threads:[~2003-04-16 22:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 23:33 How do I increase threads per user? da_alchemist
2003-04-16 22:11 ` Vladimir G. Ivanovic [this message]
2003-04-17 15:14 ` Vladimir G. Ivanovic
2003-04-17 15:48 ` Earle R. Nietzel
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=200304162211.h3GMBFW8008330@bach.leonora.org \
--to=vladimir@acm.org \
--cc=da_alchemist@yahoo.com \
--cc=linux-smp@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