Oh, I'm not "blaming" either one.  Normally, our server is quite
adequate to handle the expected user load.  Every now and then we get a
"perfect storm" of too many users asking for too many large-memory
requests, and an OOME happens.  We're investigating ways to increase
capacity, but in the mean time, automating recovery would help keep the
3am phone calls from happening.

We're running Java 6 and Tomcat 6.  It's definitely heap space that's
running out, and we're actively profiling various load scenarios to spot
the most likely targets for memory-use reduction.  But again, a
short-term technique to automate the restart would help a lot.

-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 10:00 AM
To: Tomcat Users List
Subject: RE: Recovery from OutOfMemoryError?

> From: Craig Berry [mailto:[EMAIL PROTECTED] 
> Subject: RE: Recovery from OutOfMemoryError?
> 
> Fixing the bug would be cool, but the "bug" is actually just too many
> users contending for the same heap space

Let's put it another way: your webapp and/or JVM configuration aren't
set up properly to handle the number of users you have; don't blame it
on the users (or Tomcat).

What JVM do you have installed?  What version of Tomcat?  What OS?  Are
you sure you're out of heap space, or is some other resource being
exhausted, such as file handles?  If it's really heap space, is it the
PermGen?  Do you have a memory leak in your webapp?  Have you profiled
what's going on to see the real cause of the problem?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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