Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 22:58:15 +0100
From:      Uwe Heber <uwe@d2ux.org>
To:        freebsd-questions@freebsd.org
Cc:        Matthias Petermann <matthias@petermann-it.de>
Subject:   FreeBSD9.2: Tomcat process with very high memory allocation
Message-ID:  <5293C7F7.6040503@d2ux.org>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello FreeBSD team,

we are hosting a Java web application on our FreeBSD 9.2 server on which
Tomcat 7.0 is used as runtime environment.

During monitoring the Java process we have found out the Java process
allocates 9GB of memory:

39819 www          35  20    0  9051M   439M uwait   4   0:31  0.00% jsvc

www    39819  0.0  1.4 9268296 449704 ??  IJ    4:05PM 0:30.60
/usr/local/bin/jsvc -java-home /usr/local/openjdk6 -server -user www
-pidfile /var/run/tomcat7.pid -wait 30 -out

For this reason, we have reconfigured the Tomcat by setting up the
minimum and maximum heap size in file /usr/local/<TOMCAT>/bin/setenv.sh
with following values:


CATALINA_OPTS="$CATALINA_OPTS -Xms128m"
CATALINA_OPTS="$CATALINA_OPTS -Xmx512m"

After the Tomcat reboot the allocation remains at this very high
consumption.

Our question at this point:
[1] Is this problem already known?
[2] What are possible options regarding the setup which could solve the
problem?

If you need further information, please do not hesitate to contact us.

Thanks for your support.

-- 
Best regards,
Uwe



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5293C7F7.6040503>