The actual max. concurrent threads depend on your testcase itself, your
JMeter heap settings (Xmx and Xms) and thread stack size (Xss) settings.
Here is an interesting link with some numbers:
http://www.egilh.com/blog/archive/2006/06/09/2811.aspx
My experiences with JMeter on 32-bit JVM 1.5 is that with:
HEAP="-Xms64m -Xmx512m"
... the maximum number of concurrent threads per JMeter instance is
probably around 1500-2200 threads.
If I recall correctly, here are the default thread stack space
allocations for different 32-bit JVMs:
Java 1.4 - 256 KB
Java 1.5 - 1 MB
Java 1.6 - 312 KB
Another approach I've had success with for several years is to run
multiple JMeter instances in parallel. I use a Perl script that forks
separate processes, each of which runs JMeter with a different testcase.
Currently, I run 28 instances with about 9000-10000 concurrent Java
threads successfully on a single 3.2 GHz P4 with 3 GB RAM and JVM 1.5.
Kind regards,
Sonam Chauhan
--
Corporate Express Australia Ltd.
Phone: +61-2-93350725, Email: [EMAIL PROTECTED]
-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 October 2007 7:34 AM
To: JMeter Users List
Subject: Re: Open threads limit
On 11/10/2007, Christiaan Lamprecht <[EMAIL PROTECTED]>
wrote:
> Is there a hard limit (i.e. not performance related) to the number of
> concurrent threads JMeter can keep open? (e.g. maximum number of
> file-descriptors per process allowed)
JMeter does not apply any limits; the OS may.
> In the example below a
> thread/user only runs for 10 seconds. One new thread is created every
> second and so there are always 10 threads open/active at any one time.
> Is there a hard limit to the number of concurrent threads JMeter can
> keep open like this?
>
> Test Plan
> Thread Group (users 100, ramp 100, count 100)
> HTTP Request HTTPClient (SSL request - KeepAlive enabled)
Not sure if KeepAlive works for SSL, but if it does, then you should
ensure that the last request in the thread has the this disabled.
> Uniform Random Timer (Offset 100, dev 2)
>
>
> PS: I'm running JMeter on Linux
>
> Thanks again
> Christiaan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]