You can change the JVM option, -Xmx to increase the heap size in catalina.sh and see if it can accomidate more requests

Peddireddy Srikanth wrote:

I forgot to give details about my Application and test.
These details might give you people an idea about the problem area.
In this app. users has to enter login ID and pwd in home page which
will be sent to a resource which validates these details, say
"LoginValidation"  this resource will then forward control to the Main
Page of the Application, say "MainPage.jsp" . From main page user can
open/ request different pages(modules of application).
But my test only involves a request to "LoginValidation" followed by
request to main page.
In this app. inorder to get data about certain activities happening on
the server side into the client browser, we keep on refreshing a
hidden frame in mainpage (simply using html meta refresh ) after every
one minute, lets call this page as PollServerForData.jsp.
To simulate this i added a request to  PollServerForData.jsp also in
my test plan after request to the main page (that means every virtual
user will be requesting the PollServerForData.jsp page after every one
minute)
This test worked for 1200 virtual users and failed for when tried with
more than 1200 users .
Will there be any problem for tomcat for maintaining more than 1200
sessions in memory??

regards
Srikanth.P


On 7/14/05, Bhaskar <[EMAIL PROTECTED]> wrote:
You need to check on whether it is giving Outofmemory error is
immediately after starting loadtesting with 1500 users or over period of
time. If it is over period of time then you need to check whether there
are any memory leaks. Or your design for ex., it might happen if you
query db and that ends up resulting in huge number of rows.
BTW., what is the max number of threads you have configured?
and what is the active number of threads? Pbly u can use
Performance-Valve to get such details.

Bhaskar


srikanth peddireddy wrote:

Hi All,

Recently we started load testing our application using Jmeter.
Following error is coming in tomcat while test is run at higher loads like 1500 
virtual users etc

      ======================================

SEVERE: Caught exception (java.lang.OutOfMemoryError) executing org.apache.tomca
[EMAIL PROTECTED], terminating thread
Jun 30, 2005 3:13:53 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run

        ======================================

I already configured the Tomcat using -Xmx option to use upto 2GB of RAM 
(Tomcat is running on a 3GB RAM machine)

Any inputs or pointers to the related resources on this problem??

regards
Srikanth


Disclaimer
------------------------------------------------------------------------------------
This e-mail message may contain confidential, proprietary
or legally privileged information. It should not be used by
anyone who is not the original intended recipient. If you
have erroneously received this message, please delete it
immediately and notify the sender.

The views, opinions, conclusions and other information
expressed in this electronic mail are those of the
individual sender and not endorsed by SDG Software
Technologies Pvt. Ltd. unless otherwise indicated by an
authorised representative independent of this message.

Before opening any attachment please check them for viruses
and defects. SDG Software Technologies Pvt. Ltd. shall not
accept responsibility for any loss or damage arising from
the use of this email or attachment(s).
-------------------------------------------------------------------------------------

---------------------------------
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com


---------------------------------------------------------------------
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]





Reply via email to