Home Page Home Page
 Home | Linux Administration | Corporate Services | Resources | About Us Support Center
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides Linux Articles New RFCs Vulnerability list Linux Journal
Testimonials Partners Careers Contact Us Site Map
Set Kernel Parameters

5. Set Kernel Parameters

5.1. Edit /etc/sysctl.conf

Add the following lines to the /etc/sysctl.conf file:


kernel.shmmax = 2147483648
kernel.shmmni = 128
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

5.2. Edit /etc/security/limits.conf

Additionally the following lines can be added to the /etc/security/limits.conf file:


oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384

Adding lines into these files requires a reboot before the new settings take effect.