LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 18
memory tuning


Hi

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
mesiol
Member
 
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
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
http://www.redhat.com/archives/nahan.../msg00015.html
http://www.redhat.com/rhel/compare/#note_3

From here you can see that RHEL 4.x is going out of regular support relatively soon http://www.redhat.com/rhel/compare/#note_3.
I believe latest is 4.9

HTH
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 PM.

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