cancel
Showing results for 
Search instead for 
Did you mean: 

Tech tip: How to apply kernel tunings on Linux

Linux kernel settings can be set and read using entries in the /proc filesystem or using sysctl.  Permanent settings that should be applied on boot are defined in sysctl.conf.


Example: To set the maximum number of file descriptors from the command line:

# echo 2097152 > /proc/sys/fs/file-max  …or…

# sysctl –w fs.file-max=2097152

Example: To set the maximum number of file descriptors using sysctl.conf, add the following to /etc/sysctl.conf:

fs.file-max = 2097152

Sysctl.conf is applied at boot, or manually using sysctl -p

Version history
Revision #:
1 of 1
Last update:
‎02-21-2013 10:34:AM
Updated by:
 
Labels (1)
Tags (2)