- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linux/shmmax
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
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
тАО12-31-2003 01:49 AM
тАО12-31-2003 01:49 AM
I need to increase the shmmax param. error=ORA-27123 (unable to attach to shared memory segment. Running on an intel E800 with 512 RAM.
1) how can I see the value of shmmax
2) how can I change it
Is it something like echo 'Value' /proc/sys/kernel/shmmax ???
But still, how do I see the current value?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2003 02:47 AM
тАО12-31-2003 02:47 AM
SolutionBut cat /proc/sys/kernel/shmmax will show you the content.
Echo 3355442 > /proc/sys/kernel/shmmax will change the value.
Recompiling the kernel is required to change it on each reboot.
Don't forget that shmmax should be around 25 % of physical memory (/proc/meminfo/Mem). You may need to increase it on runngin Oracle.
Close to celebrate new year here ! Happy new Year to you Robert !
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2003 02:53 AM
тАО12-31-2003 02:53 AM
Re: Linux/shmmax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2003 03:45 AM
тАО12-31-2003 03:45 AM
Re: Linux/shmmax
But you can add a script at boot time to echo the right value to shmmax file, it's easier than a full recompilation.
Just write a script called say myshmmax, which containt the echo command (echo you value > /proc/sys/kernel/shmmax).
Add it to /etc/rc.d/init.d
Link it in rc5.d or rc3.d with S'anumber'myshmmax, where 'anumber' is an available number you won't see used in rc3.d or rc5.d.
Thanks for your wishes !
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2003 07:23 PM
тАО12-31-2003 07:23 PM
Re: Linux/shmmax
Regarding kernel compilation for changing kernel params - we don't need this for 2.4 kernel; RH and Oracle don't recommend do it now.
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2004 09:28 AM
тАО01-02-2004 09:28 AM
Re: Linux/shmmax
# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
net.ipv4.ip_local_port_range = 1024 65000
# Disables the magic-sysrq key
kernel.sysrq = 0
#Oracle 9i release 2 parameters
kernel.sem= 250 32000 100 128
fs.file-max=65536
kernel.shmmax=2147483648
kernel.shmmni=4096
kernel.shmall=2097152
fs.aio-max-size=2147483648
You don't even have to reboot, just do a sysctl -p
One other thing, when setting up a server for Oracle, I always use Oracle's Pre-Flight check script which verify's everything is setup correct in the environment before installation is attempted.. I've included it..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2004 04:35 PM
тАО03-22-2004 04:35 PM
Re: Linux/shmmax
Can you please tell me what the
Oracle's Pre-Flight check script and how do you run it? Thanks in advance.
RahulD.