RE: sysctl.conf file not being read at bootup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I only use a single space between variables, looks like you have
multiple spaces or maybe even tabs, try just putting a single space
between.  Don't know if that will solve the problem or not, but I would
start there.

Your config:
kernel.sem 250  32000   100     128

Suggestion:
kernel.sem 250 32000 100 128

Also you setup for ipv4 needs to be corrected

Your config: 
net.ipv4.ip_local_port_range 32768 65000

Suggestion:
net.ipv4.ip_local_port_range = 32768 65000

Hope that help!

-=Steve



-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Dave Martini
Sent: Friday, November 10, 2006 1:20 PM
To: Red Hat List
Subject: sysctl.conf file not being read at bootup?

I have an RHEL WS 4.0 host.

I'm setting the kernel parameters for Oracle in /etc/sysctl.conf.

When I reboot the machine the parameters never get set to what I've 
specified in my /etc/sysctl.conf file. Is there a reason for this?
Notice the net.ipv4.ip_local_port_range is set to 65000 in sysctl.conf 
but after rebooting shows 61000. And the 3rd. value of kernel.sem is set

to 100 in sysctl.conf but shows 32 after reboot.
Thank You.
Dave Martini
LLNL

# more /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
kernel.shmmax = 536870912
kernel.sem 250  32000   100     128
net.ipv4.ip_local_port_range 32768 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144

AFTER REBOOT

security]# sysctl -a |grep sem
kernel.sem = 250        32000   32      128


security]# sysctl -a |grep ip_local_port_range
net.ipv4.ip_local_port_range = 32768    61000

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--------------------------------------------------------

This email (and attachments if any) is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law.  If the reader of this email is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by return email and destroy all copies of the email (and attachments if any).

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux