Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-23-2011, 06:46 AM   #1
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Rep: Reputation: 18
memory tuning


I have upgraded my physical memory from 4GB to 16GB for linux server running on centos 4.7

Application server running is Jboss 4.2.3

I need to tune the Jboss to utilize more memory my current setting in run.conf are as follows

JAVA_OPTS="-server -Xmx3072m -Xms3072m -Xss256k -XX:MaxPermSize=512m -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -verbose:gc"

The above was the setting for 4Gb of memory now i ahve 16Gb
can someone help me in tuning to make the server efficient

I am new to Jboss tuning so am seeking assistance
Old 06-23-2011, 01:04 PM   #2
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
parse all command line options by reading their exact documentation to understand. After that you will be able to unterstand what they all do and how they work. Also application server tuning depends heavily on use case, there can be different memory or cpu consumption, so there will be no cover-all answer.
Old 06-23-2011, 06:10 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.3
Posts: 17,548

Rep: Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423
Unless you are running 64 bit, I don't think that's going to help. iirc, a 32 bit user process can only use a max of 4gb (slightly under in fact), even if you run a PAE kernel so that the OS can use all your RAM.

From here you can see that RHEL 4.x is going out of regular support relatively soon
I believe latest is 4.9



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tuning Your CPC945 Memory Controller LXer Syndicated Linux News 0 11-22-2006 09:21 AM
Fine tuning memory consumption binarybob0001 Linux - General 3 04-20-2006 04:41 PM
Processor/memory tuning. lgregg Linux - General 0 03-20-2006 02:14 PM
Regarding MEMORY TUNING hinetvenkat Linux - General 2 08-19-2005 07:58 AM
memory/performance tuning guide? wijnands Linux - Newbie 2 05-07-2004 03:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration