https://bz.apache.org/bugzilla/show_bug.cgi?id=69608

            Bug ID: 69608
           Summary: JSP Servlet engine is garbage collected leading to
                    Denial of service
           Product: Tomcat 10
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Servlet
          Assignee: dev@tomcat.apache.org
          Reporter: prady...@gmail.com
  Target Milestone: ------

Tomcat's JSP servlet engine is garbage collected typically within 12-36 hours
if large amounts of RAM is allocated using Xms and Xmx flags, in my case I was
using 2GB min and 6GB max.

It leads to pages loading forever or no response from server or Denial of
Service while the java classes in the web applications runs just fine.

It's resolved using ZGC, now I'm using -
export CATALINA_OPTS="-Xms10g -Xmx10g -XX:+UseZGC -XX:+ZGenerational"

It's a very old problem and generally found in tomcat 6,7,8,9,10,11.

Saw this old post -
https://serverfault.com/questions/281515/periodic-unresponsiveness-in-tomcat

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to