-----BEGIN PGP SIGNED MESSAGE-----

So, spare-threads seems to be waiting listenners, doesnt it? Its always very
very important that you have an ideia about the amount of users  which are
using your application at the same time... Thats the reason for using
threads. Some questions: does your app use SGBD? SGBD has threads
configuration too and needs disk space. Anyway, it seems that TomCat isnt
strong enough for this kind of test or else your hardware/S.O. isnt good
enough. If you  are using NT/2000, try to tune it.
I hope it helps!    

Jos� Euclides J�nior
__________________________________
E-mail: [EMAIL PROTECTED]
            [EMAIL PROTECTED] 
http://euclides.8m.com



- -----Mensagem original-----
De:             Charles Baker [SMTP:[EMAIL PROTECTED]]
Enviada em:             Segunda-feira, 11 de Junho de 2001 12:06
Para:           [EMAIL PROTECTED]
Assunto:                Re: RES: stress test

Spare-threads are idle threads. We want a few idle
threads to quickly answer incoming requests. We don't
want too many idle threads, or else we can negatively
impact performance. So, we can represent the config
below with this pseudo-code in an attempt to make it
more clear:

// Max spare threads
while ( IDLE_THREADS > 20 ) {
    server.killThread();
}

// Min spare threads
while ( IDLE_THREADS < 5 && THREAD_COUNT <= 200 ){
    server.spawnThread();
}
- --- "Jose Euclides da Silva Junior - DIGR.O"
<[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> First of all,
> what does "spare-treads" mean?
> Secondly,
> there are 2 very important parameters that should be
> configurated: delay and
> threads - and 1 important concept: each new group
> will begin after the prior
> one ends. So, you should have enough CPU and memory
> to allow multithreads.
> Finally, if you are testing a web page, this kind of
> tool (in general)
> doesnt simulate the real overhead.
> 
> Regards,
> 
> Jos� Euclides J�nior
> __________________________________
> E-mail: [EMAIL PROTECTED]
>             [EMAIL PROTECTED] 
> http://euclides.8m.com
> 
> 
> 
> - -----Mensagem original-----
> De:           [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Enviada em:           Segunda-feira, 11 de Junho de 2001
> 08:19
> Para:         [EMAIL PROTECTED]
> Assunto:              stress test
> 
> Hi all 
> 
> i am testing tomcat with using  "ap"  which comes
> with apache
> 
> what is ideal test case , ? for example 1000 user ,
> 7 concurrent is ideal ?
> 
> 
> and while i am testing tomcat sometimes it  uses %98
> cpu and never gives it
> back ..
> i configured my server.xml like that 
>  <Parameter
>                 name="max_threads"
>                 value="200"/>
>             <Parameter
>                 name="max_spare_threads"
>                 value="20"/>
>             <Parameter
>                 name="min_spare_threads"
>                 value="5" />
> 
> any idea ? 
> 
> 
> regards .. 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.1
> 
>
iQCVAwUBOyTvmd0YhuJ3BUxtAQFZJQP/czJ45GXaKV+oMMLx4Bpfly2j/q0bXzNI
>
B719dvPKCu+BmB5qmTM4rayKd4qVZGCK+kZSyMSUgqv9RHnOeGcSFywS9MVbRhv7
>
hXzRneAFWWSPAEsWPOWdzYUdY8hlkm3e9X7T+btPNWHRvNrEAPqIwifUGl4vGGxG
> Eo7s29sLgL8=
> =xzb+
> -----END PGP SIGNATURE-----


=====
- -
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1

iQCVAwUBOyUlM90YhuJ3BUxtAQF46wQAjyxCE9Lxd7kmP3eibHeDLM2OenKWoGkA
nyqCceTXvmgTOr1jSdrmbS6KvBZBntIfuUDSIeREWQWJcTJG9uhpHTrGeCE90Xu1
qS6drL+OnNzylKMcT8PmRJ43rcpmFgtsuvK5v/vrdASVU3It8OwfWICIwpUnfgls
Y/pqvIqm5oE=
=G7ka
-----END PGP SIGNATURE-----

Reply via email to