[opencms-dev] Possible Memory Leak in version 5.0.1

Eke, Kemi kemi.eke at biglotteryfund.org.uk
Thu Jul 15 19:11:01 CEST 2004


Hi List

I am currently running Opencms 5.0.1 on RH Linux Advanced Server v3, on
server hardware with 1 GB of RAM. I have 600 users hitting the site and 5
editors. Every one to two days or so for the past month or so, I have had to
restart Tomcat 4.1.30 as I would get OutOfMemory errors with it causing
OpenCMS to stop functioning.  I am aware that one can add parameters to
CATALINA_OPTS to allow Java to use a certain size of memory viz -Xmx and
-Xms. I have now written a "restart" script for Tomcat which runs overnight
via cron:

#! /bin/bash
#
# name:         tomcat_refresh.sh
# description:  Tomcat REFRESH Script on Linux to solve OutOfMemory Errors
with Opencms
#
#
#
 

JAVA_HOME=/usr/java/j2sdk1.4.1_02
CATALINA_HOME=/opt/jakarta-tomcat-4.1.27
CATALINA_OPTS=-Dfile.encoding=UTF-8 -Xms128m -Xmx512m
export JAVA_HOME CATALINA_HOME CATALINA_OPTS
 

$CATALINA_HOME/bin/shutdown.sh;
sleep 25;
$CATALINA_HOME/bin/startup.sh;

Has anyone else experienced these memory problems with Opencms 5.0.1? Are
there any other specific optimisations that can be done to allow the system
to run more efficiently that others know of? I presume the information in
this post refers to an older version of Opencms:
http://mail.opencms.org/pipermail/opencms-dev/2002q3/002414.html.

TIA 

Kemi


This email is confidential and intended solely for the use of the 
individual to whom it is addressed. The contents of this message will
not be in any way binding upon the Big Lottery Fund. Opinions, conclusions, contractual obligations and other information in this message, in so far as they relate to the official business of the Big Lottery Fund, must be specifically confirmed in writing by the Big Lottery Fund. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040715/ce338617/attachment.htm>


More information about the opencms-dev mailing list