LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 02-17-2004, 01:36 AM   #1
exper
Member
 
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.

Thanks

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

Rep: Reputation: 57
Quote:
1.

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
Example:
Code:
$ echo "268435456" > /proc/sys/kernel/shmmax
$ echo /proc/sys/kernel/shmmax
268435456
http://otn.oracle.com/sample_code/tu...onRedHat8.html

Hope that helps.

Håkan
 
  


Reply


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


All times are GMT -5. The time now is 07:07 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration