In our production server ,Server have 4GB RAM in that
1.We tried with -Xms512m -Xmx512m then what happed one or two hours after restarting again system hangs up and users not able to get the page.
2.Then we started testing with bigger value that will be most suitable.
Finally we have given -Xms:1576 , -Xmx:1576 ,-Xss128k.
3.Now what is happening is Server is running 3,4 days after that free Heap size comes to 150-200m then Server hangs up.Then after restart lot of heap free space and running fine.
what may be the possibilities for this issue?
Did any gone through situation like this ?
Friends suggest some solutions?
Thanks in advance
I guess, you use 32-bit OS, and this is a problem of JVM instead of JBoss. When you order -Xmx:1576, you allow to allocate _all_ the physically acccessible memory to the heap. As a result, the memory for, say, buffers can't be allocated, and jvm hangs. -Xms does not matter here because linux jvm does not immediately allocate the memory for a heap according to this switch.
We use Sun j2re 1.4.2_xx with the following settings in production without problems on 2-way Xeon Red Hat 7.3 boxes. Here is the run.conf fragment:
COMMON_OPTS="-Xms1500m -Xmx1500m"
SUN_OPTS="-server -Xmn30m -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=90 -XX:TargetSurvivorRatio=60"
SUN_SMP_OPTS="-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=70"
JAVA_OPTS="$COMMON_OPTS $SUN_OPTS $SUN_SMP_OPTS"
Vlad
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
