Great!!!

Needless to say on a 64bit machine. And are you usinge an enterprise kernel
(from Red Hat Enterprise or CentOS one)?

Thank you
Caveman



On Mon, Apr 15, 2013 at 9:38 AM, Knut Staring <knu...@gmail.com> wrote:

> This discussion can be of interest to DHIS2 administrators as well.
>
> ---------- Forwarded message ----------
> From: James Arbaugh <jarba...@hashaiti.org>
> Date: Sun, Apr 14, 2013 at 10:25 PM
> Subject: RE: Improving Tomcat memory parameters
> To: implement...@openmrs.org
>
>
> Hi Ellen,****
>
> ** **
>
> We ran into those painful problems in the past too.  One thing we did was
> added a crontab job to restart tomcat automatically during the night twice
> a week as “preventative” maintenance.****
>
> ** **
>
> FYI: our production server (with 46GB physical memory) runs stable with
> the following tomcat configuration…****
>
> CATALINA_OPTS="-Xms10240m -XX:PermSize=6144m -XX:MaxPermSize=6144m
> -XX:NewSize=4096m"****
>
> ** **
>
> Thanks,****
>
> James****
>
> ** **
>
> *From:* implement...@openmrs.org [mailto:implement...@openmrs.org] *On
> Behalf Of *Ellen Ball
> *Sent:* Thursday, April 11, 2013 5:33 PM
> *To:* implement...@openmrs.org
> *Subject:* Improving Tomcat memory parameters
> *Importance:* Low****
>
> ** **
>
> We've experienced the pain of tomcat crashing on an OpenMRS 1.9.3
> production server with this memory error:  "Java.lang.OutOfMemoryError:
>  PermGen"****
>
>    - The server has 32GB of RAM.  ****
>    - tomcat is  using JAVA_OPTS = "-Xmx512m -Xms512m -XX:PermSize=256m
>    -XX:MaxPermSize=256m -XX:NewSize=128m"****
>
> Has anyone else seen this error?  Has anyone experimented with increased
> memory parameter values?  It seems that the Xmx and Xms values should be
> the same for a server ("In a server environment, you normally want Xms
> and Xmx set to the same value to avoid heap thrashing.").  The heap space
> shouldn't be too high, but if anyone know the optimal size that would be
> helpful.****
>
> ** **
>
> Thanks,****
>
> ** **
>
> Ellen Ball****
>
> Partners In Health****
>
> ** **
>
>  ****
>
> --
> OpenMRS Implementers: http://go.openmrs.org/implementers
> Post: implement...@openmrs.org
> Unsubscribe: implementers+unsubscr...@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
>
>  ****
>
> --
> OpenMRS Implementers: http://go.openmrs.org/implementers
> Post: implement...@openmrs.org
> Unsubscribe: implementers+unsubscr...@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
>
>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to