LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-10-2010, 03:47 PM   #1
tikit
Member
 
Registered: Feb 2008
Posts: 85

Rep: Reputation: 16
How to permanently set shmmax


Hi,

for Oracle installation, I need to set kernel.shmmax parameter to 8416559104

According to the manual I did the following:
Code:
vi /etc/sysctl.conf
shmmax = 8416559104
/sbin/chkconfig boot.sysctl on
/sbin/sysctl -p
when I check the value
Code:
cat /proc/sys/kernel/shmmax 
8416559104
it looks OK, but after reboot there is the default value 3294967296 again.

What am I doing wrong?

The system is 64-bit SLES11.

Thanks for helping
 
Old 06-10-2010, 04:31 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Can you post the content of /etc/sysctl.conf

Also,does thishelp.

Last edited by harry edwards; 06-10-2010 at 04:36 PM.
 
Old 06-11-2010, 01:24 AM   #3
tikit
Member
 
Registered: Feb 2008
Posts: 85

Original Poster
Rep: Reputation: 16
Hi,

here is my /etc/sysctl.conf
Code:
# Disable response to broadcasts.
# You don't want yourself becoming a Smurf amplifier.
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
net.ipv4.conf.all.rp_filter = 1
# enable ipV6 forwarding
#net.ipv6.conf.all.forwarding = 1
# increase the number of possible inotify(7) watches
fs.inotify.max_user_watches = 65536
# avoid deleting secondary IPs on deleting the primary IP
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.all.promote_secondaries = 1
# Oracle Database Kernel Parameters
kernel.shmmax = 8416559104
kernel.sem = 250  256000  128 1024
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
The link did not work for me.

Thanks
 
Old 06-11-2010, 01:39 AM   #4
tikit
Member
 
Registered: Feb 2008
Posts: 85

Original Poster
Rep: Reputation: 16
Hi,

I solved it. The default value of 3294967296 was set in /etc/sysconfig/oracle, that is why it was being rewritten after reboot.
 
  


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
[SOLVED] How can i set alsamixer permanently? cola Slackware 3 12-19-2009 06:35 AM
how to set path? permanently AVD_ZM Ubuntu 5 03-06-2007 04:41 PM
set a background permanently in fluxbox Vincent Slackware 10 01-16-2004 12:32 PM
How to set PATH permanently chandhru Linux - Newbie 3 09-24-2002 12:43 AM
bsetbg, set background permanently nutshell Linux - General 2 06-13-2002 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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