- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Oracle/RedHat6.2 and Kernel Parameters
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2001 02:20 PM
тАО03-15-2001 02:20 PM
Oracle/RedHat6.2 and Kernel Parameters
If not, I will need to edit the appropriate header files. I have some questions regarding the format and some comments in the files.
#define SHMMAX 0x2000000 /* max shared seg size (bytes) */
/* Try not to change the default shipped SHMMAX - people rely on it */
For SHMMAX, can the comment be ignored and what format can the value be in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2001 04:46 AM
тАО03-19-2001 04:46 AM
Re: Oracle/RedHat6.2 and Kernel Parameters
The format for max shared memory is in hex, thus 0x... The parameter should be changed only if you work with really big databases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2001 08:12 PM
тАО03-21-2001 08:12 PM
Re: Oracle/RedHat6.2 and Kernel Parameters
issue this command as root:
echo 2147483647 > /proc/sys/kernel/shmmax
I use 2^31-1. I suggest you try several value until you get the largest value possible for your server.
Someone gave me larger value than that, but my server cannot accept it and I start divide the value by two. If the new value ca not be accepted, I divide it again by two, and so on.
You know if the value is accepted by issuing this command:
cat /proc/sys/kernel/shmmax
if the output is NOT -1 and similar with value you assigned, then the kernel accept the new value.
You should upgrade your kernel, if you can not not find /proc/sys/kernel/shmmax or you can not assign any value.
Make sure to add the command to rc.local (or elsewhere, depends on your server config), so that the changes always take effect when server restart and before database startup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2001 02:06 PM
тАО03-22-2001 02:06 PM
Re: Oracle/RedHat6.2 and Kernel Parameters
I'm not familiar with this syntax for hex. How do you calcualte it.
-Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 10:13 PM
тАО03-27-2001 10:13 PM
Re: Oracle/RedHat6.2 and Kernel Parameters
man ascii gives you the hexadecimal equivalent of decimals from 0 to 26 and also 127.
You can use the od command on your linux system to compute the hexadecimal equivalent of any decimals.
Alternatively, if you have a Windows PC, you can run "calc" to perform the translation between hexadecimal and decimal numbers.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com