Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-17-2004, 12:36 AM   #1
Registered: Jul 2003
Location: China
Distribution: Redhat
Posts: 48

Rep: Reputation: 15
how to calculate shmmax when install Oracle in Linux

I don't know how to calculate the numerical in /proc/sys/kernel/shmmax file when I install Oracle 9.

Does any one pleased to provide formula to make it out.


Last edited by exper; 02-17-2004 at 12:37 AM.
Old 02-17-2004, 05:15 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58

Set shmmax (largest shared memory segment size) to at least half of the RAM size. For example, if your RAM size is 512 MB, then shmmax size should be at least
256 * 1024 * 1024 = 268435456
The default value is 33554432 bytes.
2. Switch to root user, then

echo newsize > /proc/sys/kernel/shmmax
$ echo "268435456" > /proc/sys/kernel/shmmax
$ echo /proc/sys/kernel/shmmax

Hope that helps.



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
Oracle 9i RAC Install on Linux AS gordib259 Linux - Software 2 06-01-2007 10:02 AM
xhost + as user oracle not working, need to see oracle install GUI enzo250gto Linux - Software 2 02-11-2007 11:27 AM
Oracle EM install on RedHat Enterprise Linux 3 gauol Linux - Software 4 07-22-2005 05:34 PM
How to install Oracle on the remote linux server? phuocnh Linux - Software 1 07-05-2005 02:10 PM
how to install oracle 9i on linux 9 dinakar5008 Linux - Newbie 6 01-25-2005 12:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 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