AW: [opencms-dev] Possible Memory Leak in version 5.0.1

Daniel Reiberg d.reiberg at networkplan.de
Thu Jul 15 22:30:02 CEST 2004


Hi Kemi,

I'm running OpenCMS on a RH server with Tomcat 4.1.27 / JDK1.4.2 and I get
the
same error message.
By now I also use a cron job to avoid problems.
If I find any solution I will tell you.
Regards,
Daniel

 -----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]Im
Auftrag von Eke, Kemi
Gesendet: Donnerstag, 15. Juli 2004 19:11
An: 'opencms-dev at opencms.org'
Betreff: [opencms-dev] Possible Memory Leak in version 5.0.1


        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.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02.06.2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040715/3482ccb1/attachment.htm>


More information about the opencms-dev mailing list