You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Amrhein, Thomas" <ta...@debis.com> on 2000/06/21 11:04:43 UTC
Stability: Tomcat crashes while making load test
Hi,
I made a load test with Tomcat 3.1.
I think it could be very interesting for all to know.
Tomcat crashes after 21 minutes.
My settings were the following:
Server: Tomcat 3.1 with Apache 1.3.12
Machine: Win NT 4 SP5, Intel 350MHz, 128MB RAM
The Testclients were running under the same machine.
(We need our 'real' Webserver machine running under Linux for
a presentation today, so I did not test that one. But I will in
future.)
Test: 12 virtual clients were making requests on one jsp-page
which includes four jsp:include tags. Reload was on but no changes
were made during testing.
Each client executes the following js in a loop:
// begin javascript
wlGlobals.GetContents="Yes"
wlHttp.Get("http://mymachine/operator/gvm/auswahlgvuebersicht.jsp")
Sleep(1000)
// end javascript
Result:
Successful rounds (110-140 per 20 sec) for the first 320 seconds.
Then an up and down (more down) of the number of successful
rounds (40-90).
After second 1320, no HTTP-Request was successful any more.
I think Tomcat 3.1 crashed. I left work after starting the test and
today no Tomcat is running.
Did anyone else made some load testing? Perhaps in a different
environment? What are your results?
What are your opinions?
In hope that Tomcat will be more stable (but I know that it really
will be).
Thomas
PS: BTW, does exist an actual release plan for Tomcat 3.2? The one
in the CVS is two month old.
Re: Stability: Tomcat crashes while making load test
Posted by Christoph Kulla <ku...@metabox.de>.
Hi,
"Amrhein, Thomas" wrote:
>
> Hi,
>
> I made a load test with Tomcat 3.1.
> I think it could be very interesting for all to know.
>
> Tomcat crashes after 21 minutes.
I've noticed a simliar behauviour of Tomcat. After doing thousands of request
with jmeter the jvm memory goes slowly down till the OutOfMemory Exception.
First I thought, each request creates a new session object and so the memory
is
going down. But when setting the session timeout to one minute nothing
changes.
The next possible memory leak is the oracle thin driver that we are using. But
I
haven't the time to look at the problem in more detail. Maybe someone should
do
a load test with a simple servlet (Hello World).
We are using a Linux Machine with Kernel 2.2.?, and the IBM 1.3 JVM with 50 MB
heap size.
Regards
Christoph
+---------------------------------------------------------------------------+
| Dipl.-Inf. Christoph Kulla mailto:kulla@metabox.de |
| Met@box AG http://www.metabox.de |
| Daimlerring 37 |
| 31135 Hildesheim Phone: +49-5121-7533-0 |
| Germany Fax: +49-5121-7533-78 |
+---------------------------------------------------------------------------+
Re: installing tomcat
Posted by Jean-Baptiste Marchand <jb...@alternative-advice.com>.
>>>>> "Abhishek" == Abhishek Rungta <ab...@hotmail.com> writes:
[...]
Abhishek> reporting any error. Can anybody tell me how to
Abhishek> determine if it has really started and if the
Abhishek> installation is OK ?
Just point your favorite web browser to http://localhost:8080 and
that should work.
Jean-Baptiste Marchand
--
Jean-Baptiste.Marchand@Alternative-Advice.com
installing tomcat
Posted by Abhishek Rungta <ab...@hotmail.com>.
Hiii..
I have just downloaded and installed TomCat v 3.1 on my server which is
running RedHat Linux.
I installed using binaries. The question might seema bit stupid, since i
have never installed from binaries directly.
I just copied the tar zipped file to /usr/local
unzipped it... and thats it
then i went to the directory it created as jakarta-tomcat
in that directory i gave the command ./bin/tomcat.sh start
It started and it asked me to check the log file for any errors. i checked
the log files. it does not seemed like reporting any error.
Can anybody tell me how to determine if it has really started and if the
installation is OK ?
Thanx in advance.
Abhishek Rungta * Outsourced Software
Development
Indus Net Technologies * WebHosting ($4.99
only)
Phone : 91-33-2201718 2210896 * Web Designing & Promotion
http://www.talash.net * Domain Registration
($14.99 only)
Re: win 98 and tomcat ?
Posted by Arion <ar...@talentinfo.com.hk>.
Hi!
In autoexec.bat, add
set TOMCAT_HOME = <you tomcat home>
Arion
Abhishek Rungta wrote:
> Hiii
>
> Can we run Tomcat on Win98 which is running Personal Web Server ?
> If yes.. how.. i am getting an error message 'Tomcat home not found'
>
> Thanx in advance ...
>
> Abhishek Rungta * Outsourced Software
> Development
> Indus Net Technologies * WebHosting ($4.99
> only)
> Phone : 91-33-2201718 2210896 * Web Designing & Promotion
> http://www.talash.net * Domain Registration
> ($14.99 only)
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
win 98 and tomcat ?
Posted by Abhishek Rungta <ab...@hotmail.com>.
Hiii
Can we run Tomcat on Win98 which is running Personal Web Server ?
If yes.. how.. i am getting an error message 'Tomcat home not found'
Thanx in advance ...
Abhishek Rungta * Outsourced Software
Development
Indus Net Technologies * WebHosting ($4.99
only)
Phone : 91-33-2201718 2210896 * Web Designing & Promotion
http://www.talash.net * Domain Registration
($14.99 only)
Re: Stability: Tomcat crashes while making load test
Posted by Pierre Neihouser <pi...@lionet.ie>.
Hi,
Are you using NT Server or Workstation? I did some benchmarking (it wasn't
Tomcat benchmarking...), and I got the same behaviour than what you described
with Workstation. It looks like Microsoft voluntarily crippled the TCP/IP
stack of Workstation so you can't use it as a server...
Pierre
"Amrhein, Thomas" wrote:
> Hi,
>
> I made a load test with Tomcat 3.1.
> I think it could be very interesting for all to know.
>
> Tomcat crashes after 21 minutes.
> My settings were the following:
>
> Server: Tomcat 3.1 with Apache 1.3.12
> Machine: Win NT 4 SP5, Intel 350MHz, 128MB RAM
>
> The Testclients were running under the same machine.
> (We need our 'real' Webserver machine running under Linux for
> a presentation today, so I did not test that one. But I will in
> future.)
>
> Test: 12 virtual clients were making requests on one jsp-page
> which includes four jsp:include tags. Reload was on but no changes
> were made during testing.
> Each client executes the following js in a loop:
>
> // begin javascript
> wlGlobals.GetContents="Yes"
> wlHttp.Get("http://mymachine/operator/gvm/auswahlgvuebersicht.jsp")
> Sleep(1000)
> // end javascript
>
> Result:
> Successful rounds (110-140 per 20 sec) for the first 320 seconds.
> Then an up and down (more down) of the number of successful
> rounds (40-90).
> After second 1320, no HTTP-Request was successful any more.
> I think Tomcat 3.1 crashed. I left work after starting the test and
> today no Tomcat is running.
>
> Did anyone else made some load testing? Perhaps in a different
> environment? What are your results?
> What are your opinions?
>
> In hope that Tomcat will be more stable (but I know that it really
> will be).
>
> Thomas
>
> PS: BTW, does exist an actual release plan for Tomcat 3.2? The one
> in the CVS is two month old.
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
RE: Stability: Tomcat crashes while making load test
Posted by Rhett Guthrie <rh...@axyssolutions.com>.
I saw this back on 3.0. Your clients are probably intranet, right? If so
then the network (probably 100Mb) is not a bottleneck and your servers is
thrashing on threads. I recommend setting your thread pool size to a fixed
low number, say 20. Not only will scalability improve, but your performance
will be much better.
-rg
> -----Original Message-----
> From: Amrhein, Thomas [mailto:tamrhein@debis.com]
> Sent: Wednesday, June 21, 2000 4:05 AM
> To: tomcat-user@jakarte.apache.org
> Subject: Stability: Tomcat crashes while making load test
>
>
> Hi,
>
> I made a load test with Tomcat 3.1.
> I think it could be very interesting for all to know.
>
> Tomcat crashes after 21 minutes.
> My settings were the following:
>
> Server: Tomcat 3.1 with Apache 1.3.12
> Machine: Win NT 4 SP5, Intel 350MHz, 128MB RAM
>
> The Testclients were running under the same machine.
> (We need our 'real' Webserver machine running under Linux for
> a presentation today, so I did not test that one. But I will in
> future.)
>
> Test: 12 virtual clients were making requests on one jsp-page
> which includes four jsp:include tags. Reload was on but no changes
> were made during testing.
> Each client executes the following js in a loop:
>
> // begin javascript
> wlGlobals.GetContents="Yes"
> wlHttp.Get("http://mymachine/operator/gvm/auswahlgvuebersicht.jsp")
> Sleep(1000)
> // end javascript
>
> Result:
> Successful rounds (110-140 per 20 sec) for the first 320 seconds.
> Then an up and down (more down) of the number of successful
> rounds (40-90).
> After second 1320, no HTTP-Request was successful any more.
> I think Tomcat 3.1 crashed. I left work after starting the test and
> today no Tomcat is running.
>
> Did anyone else made some load testing? Perhaps in a different
> environment? What are your results?
> What are your opinions?
>
> In hope that Tomcat will be more stable (but I know that it really
> will be).
>
> Thomas
>
> PS: BTW, does exist an actual release plan for Tomcat 3.2? The one
> in the CVS is two month old.
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>