www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (INFRA-3211) OFBiz instances (both trunk ans stable) are often down
Date Wed, 24 Nov 2010 04:17:14 GMT

    [ https://issues.apache.org/jira/browse/INFRA-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935202#action_12935202

Gavin commented on INFRA-3211:

Problem is you seem to be configuring your jvm settings incorrectly.

The VM is 2.5GB  - more than emough for a couple of demos.

One is configured to have 1GB Xmx and 512MB MaxPermSize -- theres 1.5GB reserved right there.
The second is configured to have 762MB Xmx and 512MB MaxPermSize - theres another 1.2GB
Your JVM settings total 2.7GB - more than the memory of the VM itself, no wonder it is running
out of real swap.

Please, reduce your demos to use MaxPermSize of 128MB each at most, that should be plenty.
You should also try reducing the 1GB Xmx to 762MB but see how reducing the MaxPermSize works


> OFBiz instances (both trunk ans stable) are often down
> ------------------------------------------------------
>                 Key: INFRA-3211
>                 URL: https://issues.apache.org/jira/browse/INFRA-3211
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: VMWare
>            Reporter: Jacques Le Roux
>            Assignee: Gavin
> Since Ubuntu update (one/two month ago?) we experience much problems with OFBiz instances
(both trunk and stable): they are often down. I had a look and found that it's not OFBiz related
but due to the environment.
> We get errors like 
> ________________________________________________________________________________________
>  A fatal error has been detected by the Java Runtime Environment:
>  java.lang.OutOfMemoryError: requested 1073741840 bytes for Chunk::new. Out of swap space?
>   Internal Error (allocation.cpp:215), pid=4901, tid=139855725569808
>   Error: Chunk::new
>  JRE version: 6.0_20-b02
>  Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 )
>  An error report file with more information is saved as:
>  /home/ofbiz/trunk/hs_err_pid4901.log
>  If you would like to submit a bug report, please visit:
>    http://java.sun.com/webapps/bugreport/crash.jsp
> ________________________________________________________________________________________
> There are plenty of examples (hs_err_pid.....log) at the root of both OFBiz demo servers.
I don't think it's a swap space issue, maybe rather a memory issue (we are often running with
only less than 100MB free when both instance are on for a moment). Another 500MB would help
I guess, maybe there are better solutions though. We could also reduce the OFBiz memory footprints
but I think we will then get heap spaces issues (permgen should be ok).
> Also if we could avoid spiders/robots to lurk it would be great...
> Thank you in advance for your much appreciated help

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message