<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- MAILMAN BRAND MARKER --><HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff size=2>Hi
Kemi,</FONT></SPAN></DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff
size=2>I'm</FONT></SPAN><SPAN class=187071720-15072004><FONT face=Arial
color=#0000ff size=2> running OpenCMS on a RH
server with Tomcat 4.1.27 / JDK1.4.2 and I get
the</FONT></SPAN></DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff size=2>same
error message.</FONT></SPAN></DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff size=2>By now
I also use a cron job to avoid problems.</FONT></SPAN></DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff size=2>If I
find any solution I will tell you.</FONT></SPAN></DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=187071720-15072004><FONT face=Arial color=#0000ff
size=2>Daniel</FONT></SPAN></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=187071720-15072004></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=187071720-15072004> </SPAN>-----Ursprüngliche
Nachricht-----<BR><B>Von:</B> opencms-dev-admin@opencms.org
[mailto:opencms-dev-admin@opencms.org]<B>Im Auftrag von </B>Eke,
Kemi<BR><B>Gesendet:</B> Donnerstag, 15. Juli 2004 19:11<BR><B>An:</B>
'opencms-dev@opencms.org'<BR><B>Betreff:</B> [opencms-dev] Possible Memory Leak
in version 5.0.1<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV align=left>
<DIV><FONT face=Arial size=2>Hi List </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am currently running Opencms 5.0.1 on RH
Linux Advanced Server v3, on </FONT></DIV>
<DIV><FONT face=Arial size=2>server hardware with 1 GB of RAM. I have
600 users hitting the site and 5 </FONT></DIV>
<DIV><FONT face=Arial size=2>editors. Every one to two days or so for
the past month or so, I have had to </FONT></DIV>
<DIV><FONT face=Arial size=2>restart Tomcat 4.1.30 as I would get
OutOfMemory errors with it causing </FONT></DIV>
<DIV><FONT face=Arial size=2>OpenCMS to stop functioning. I am aware
that one can add parameters to </FONT></DIV>
<DIV><FONT face=Arial size=2>CATALINA_OPTS to allow Java to use a
certain size of memory viz -Xmx and </FONT></DIV>
<DIV><FONT face=Arial size=2>-Xms. I have now written a "restart" script
for Tomcat which runs overnight </FONT></DIV>
<DIV><FONT face=Arial size=2>via cron: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>#! /bin/bash </FONT></DIV>
<DIV><FONT face=Arial size=2># </FONT></DIV>
<DIV><FONT face=Arial size=2># name: tomcat_refresh.sh </FONT></DIV>
<DIV><FONT face=Arial size=2># description: Tomcat REFRESH Script on
Linux to solve OutOfMemory Errors </FONT></DIV>
<DIV><FONT face=Arial size=2>with Opencms </FONT></DIV>
<DIV><FONT face=Arial size=2># </FONT></DIV>
<DIV><FONT face=Arial size=2># </FONT></DIV>
<DIV><FONT face=Arial size=2># </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>JAVA_HOME=/usr/java/j2sdk1.4.1_02
</FONT></DIV>
<DIV><FONT face=Arial size=2>CATALINA_HOME=/opt/jakarta-tomcat-4.1.27
</FONT></DIV>
<DIV><FONT face=Arial size=2>CATALINA_OPTS=-Dfile.encoding=UTF-8
-Xms128m -Xmx512m </FONT></DIV>
<DIV><FONT face=Arial size=2>export JAVA_HOME CATALINA_HOME
CATALINA_OPTS </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>$CATALINA_HOME/bin/shutdown.sh;
</FONT></DIV>
<DIV><FONT face=Arial size=2>sleep 25; </FONT></DIV>
<DIV><FONT face=Arial size=2>$CATALINA_HOME/bin/startup.sh;
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Has anyone else experienced these memory
problems with Opencms 5.0.1? Are </FONT></DIV>
<DIV><FONT face=Arial size=2>there any other specific optimisations that
can be done to allow the system </FONT></DIV>
<DIV><FONT face=Arial size=2>to run more efficiently that others know
of? I presume the information in </FONT></DIV>
<DIV><FONT face=Arial size=2>this post refers to an older version of
Opencms: </FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://mail.opencms.org/pipermail/opencms-dev/2002q3/002414.html">http://mail.opencms.org/pipermail/opencms-dev/2002q3/002414.html</A>.
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>TIA </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Kemi </FONT></DIV> </DIV></TD>
<TD vAlign=top align=right width=160>
<DIV align=right><IMG alt="Big Lottery Fund corporate logo"
src="http://ce.audiencemail.net/ce10/content/viewer/126552765/128118151/128118152/128118153.gif"
useMap=#BIG_002 border=0 NOSEND="1"><MAP name=BIG_002> <AREA
shape=RECT target=_blank coords=2,325,160,370
href="http://at.audiencemail.net/at10/redirect/129371901:de41c323ce2e7934136569b6cf2b0/http://www.biglotteryfund.org.uk/consultationforum/"></MAP></DIV></TD></TR></TBODY></TABLE><BR><IMG
height=1
src="http://at.audiencemail.net/at10/file/129371900:9caa6ac19abb1a8f543bf2ddd44ac63/?129371900:9caa6ac19abb1a8f543bf2ddd44ac63"
width=1 NOSEND="1"> <BR>This email is confidential and intended solely for the
use of the <BR>individual to whom it is addressed. The contents of this
message will<BR>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.<BR></BLOCKQUOTE></BODY></HTML>