https://issues.apache.org/bugzilla/show_bug.cgi?id=44516

           Summary: Getting "Insufficient memory" frequently in Tomcat
                    5.5.23
           Product: Tomcat 5
           Version: 5.5.23
          Platform: Sun
        OS/Version: SunOS
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Connector:AJP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We are getting "Insufficient memory" frequently in Web Application running in
Tomcat 5.5.23.
The Memory and CPU Utilization by Tomcat Java process is increasing towards
high over the period of time 4-5 hours after starting the server.
The Memory component (RES & SIZE) both are increasing (1765M 1052M).
After that Sever getting crashed and throwing "System Error: #1400008:
Insufficient memory"

We have 16G physical memory in the system and here is the Tomcat java process
stack and Error stack provided below.

Memory: 16G phys mem, 2436M free mem, 5000M total swap, 5000M free swap

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
26581 webadmin 70 59 0 1765M 1052M sleep 26:00 1.05% java

Notice: #4000050: Listening on MX_DEBUG_PORT 52117
System Error: #1400008: Insufficient memory
System Error: #1400008: Insufficient memory
System Error: #1400008: Insufficient memory


Application is using TWO WEB and TWO APP servers running on "sun4v sparc
SUNW,Sun-Fire-T200" Hardware.
Each Web server box has one instance of Apache 2.2.3 and each App server box
has one instance of Tomcat 5.5.23.
Both Apache and Tomcat are coolstack binery version downloaded from SUM web
site.

NOTE: Apache config file (workers.properties) is being used to communicate
between Web and App servers with cross connection.
Each WEB server is communicates to two App servers.

Server details:
APP Server: lxks3e & lxks4e
WEB Server: wex6e & wex7e

Environment details:
App Server : sun4v sparc SUNW,Sun-Fire-T200 (2 app servers)
Web Server : sun4v sparc SUNW,Sun-Fire-T200 (2 web servers)
OS Release : 5.10

Tomcat/ Apache/JDK ( Web Server : Apache/2.2.3 , App Server : Tomcat/5.5.23,
http 1.1 )
JRE_HOME: /usr/jdk1.5.0_13
Server version: Apache Tomcat/5.5.23(coolstack binary)
JDK Version Used : JDK1.5.0_13
JVM Version: 1.5.0_13-b05
JVM Vendor: Sun

In the Tomcat startup script we are using the following "MX_JAVA_OPTIONS"
parameter.

MX_JAVA_OPTIONS="-server -Xss512k -Xms1280m -Xmx1280m -Djava.awt.headless=true
-XX:NewSize=640m -XX:MaxNewSize=640m -XX:SurvivorRatio=3 -XX:PermSize=92m
-XX:MaxPermSize=256m -XX:+UseParallelGC -XX:ParallelGCThreads=2
-XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=31"

Please suggest how we can resolve this issue. Any help will be highly
appreciated.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to