Avatar of Kent Dyer
Kent Dyer
Flag for United States of America asked on

Apache Tomcat settings

We have been seeing memory and CPU hit the ceiling with one of our Web servers..

Server Environment:
Windows 2003 (32-bit OS): on VMWare
Intel Xeon CPU: 2.67 GHz
3.75 GB RAM

Java: JDK 1.6.0_17 (yes, we are using the server version of the jvm.dll

Issue: CPU was pegging at 99% for extended periods..

CPU should never operate at over say 70% as we need a bit of overhead for OS other programs, etc.?
Currently, with the Java settings, we have currently set for Apache Tomcat:
-Dcatalina.home=C:\tomcat
-Dcatalina.base=C:\tomcat
-Djava.endorsed.dirs=C:\tomcat\endorsed
-Djava.io.tmpdir=C:\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\tomcat\conf\logging.properties
-XX:MaxPermSize=256m
-Xms1408m
-Xmx1408m
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC

Open in new window


Are there any recommendations that you can suggest from a best-practices and/or operational standpoint?

Thanks,

Kent
Apache Web ServerJavaApplication Servers

Avatar of undefined
Last Comment
for_yan

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
for_yan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Kent Dyer

ASKER
Do we have heavy traffic?  Oh yeah.

Over 100 organizations use this server.

Thanks,

Kent
for_yan

Then probably you want to move to a better  and faster server, maybe some cluster

VMWare means that the same processor also serves other purposes ?

You probably want to have good dedicated server, and in my opinion Unix is more reliable system for such things
Kent Dyer

ASKER
Yes..  At the minimum get on a 64-bit proc so we we can address over the 2GB memory space..

Agreed.

Thanks,

Kent
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
for_yan

Yes, if so many people rely on it, it is definitely worth upgrading.
You'll hardly achieve anything substantial with any palliative measures.