LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 12: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 12:37 AM.
 
Old 02-17-2004, 05:15 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 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
Open Source Consulting | Domain Registration