add -XX:+HeapDumpOnOutOfMemoryError to your JAVA_OPTS, then you can zip up the file that gets generated, make it available to us and I'll take a look at it

Filip

acec acec wrote:
Hi,
I tested tomcat 6.0.10 using jmeter. I found the
following problem.

I defined three thread groups:
============================First
thread-group============================
thread Properties:
  Number of Threads(users): 50
  Ramp-Up Period(in seconds): 10
  Loop Count: 1000

HTTP Request
  path: /examples/servlets/servlet/HelloWorldExample

Constant Timer
  Thread Delay (in milliseconds): 10

============================Second
thread-group============================
thread Properties:
  Number of Threads(users): 50
  Ramp-Up Period(in seconds): 10
  Loop Count: 1000

HTTP Request
  path: /examples/jsp/tagplugin/foreach.jsp

Constant Timer
  Thread Delay (in milliseconds): 10

============================Third
thread-group============================
thread Properties:
  Number of Threads(users): 1
  Ramp-Up Period(in seconds): 1
  Loop Count: 1000

HTTP Request
  path: /manager/status
  Send parameter with request: XML(Name) true(Value)

Constant Timer
  Thread Delay (in milliseconds): 1000
===========================================================================

I found tomcat 6.0.10 will use 100% CPU in a few
minutes, then I stop sending http request in jmeter.
After that, I accessed another jsp page:
/examples/jsp/jsp2/el/basic-arithmetic.jsp in web
browser , but tomcat gave me the following response:

HTTP Status 500 -
type Exception report
message description The server encountered an internal error
() that prevented it from fulfilling this request.
exception javax.servlet.ServletException:
java.lang.OutOfMemoryError: Java heap space
                
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
                
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause java.lang.OutOfMemoryError: Java heap space

note The full stack trace of the root cause is
available in the Apache Tomcat/6.0.10 logs.

I installed Tomcat 5.5.20 and did the same testing, I
could not produce this problem on tomcat 5.5.20.
Thanks.
Arden

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to