tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muhammad Ali Orakzai <m.orak...@gmail.com>
Subject Web Service Client Response when Old Gen is 100%
Date Wed, 06 Nov 2013 06:43:29 GMT
Hi,

I am using the following environment

Windows Server 2003 32 bit
Apache Tomcat 7.0.27
Netbeans IDE 7.2
Metro 2.0

We have created a SOAP based web service which is calling 2 external SOAP
services. We were getting OutOfMemoryError which was resloved by making the
service object static. Now whenever the server memory reaches 100% one of
the external service response is too slow (takes about 2-3 minutes).
Restarting tomcat resolves the issue but this issue is occurring 25-26
hours interval.

 I am using the following jvm settings

-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat
7.0_Tomcat7Installer
-Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat
7.0_Tomcat7Installer
-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat
7.0_Tomcat7Installer\endorsed
-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat
7.0_Tomcat7Installer\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files\Apache Software
Foundation\Tomcat 7.0_Tomcat7Installer\conf\logging.properties
-XX:MaxPermSize=100m
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=E:\topupfix\
-Xloggc:E:\topupfix\GC.log
-verbose:gc
-XX:+PrintHeapAtGC
-XX:+PrintGCDateStamps
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9004
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message