We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


RHEL 6 kernel config

Los Angeles1
Los Angeles1 asked
Medium Priority
Last Modified: 2013-11-17
According to this site:


I need to set the following values for my Linux kernel

kernel.msgmni = 1024 
kernel.shmmni = 4096 
kernel.shmall = 2097152 
kernel.sem = 500 256000 250 1024 
fs.file-max = 32768 
net.ipv4.tcp_keepalive_time = 300 

Open in new window

How can I accomplish this ?  
Watch Question

Top Expert 2011
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview



Regarding the command:

# sysctl -p /etc/sysctl.conf

Open in new window

Where do I invoke that, in the .bashrc of the mqm, or does it need to be invoked more than once, or every reboot  Which file should I put it in to be invoked ?

Thanks again

Invoke this in the terminal.

# sysctl -p /etc/sysctl.conf

This is required to make the kernel changes on the fly and after that you no need to reboot the box to make the kernel changes effective.

It need to be invoked once when you make any changes in sysctl.conf and what tp apply the chnages on the fly.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.