Linux Kernel Tuning for C500k
Step 1
sudo vim /etc/sysctl.conf
add the following lines
fs.file-max = 999999
net.ipv4.tcp_rmem = 4096 4096 8192
net.ipv4.tcp_wmem = 4096 4096 8192
net.ipv4.ip_local_port_range = 1024 65535
Step 2
sudo vim /etc/security/limits.conf
add the following line
* - nofile 999999
Step 3
sudo reboot
Thanks to http://blog.urbanairship.com/blog/2010/09/29/linux-kernel-tuning-for-c500k/
浙公网安备 33010602011771号