- http://ubuntuforums.org/showthread.php?t=1961208
- http://www.lognormal.com/blog/2012/09/27/linux-tcpip-tuning/
- http://askubuntu.com/a/162230/110504
- http://ithubinfo.blogspot.com.tr/2013/07/how-to-increase-ulimit-open-file-and.html
cat /proc/sys/fs/file-max
ulimit -n
echo 1200000 > /proc/sys/fs/file-max
/etc/sysctl.conf
- fs.file-max = 1200000
/etc/security/limits.conf
-
- soft nofile 120000
-
- hard nofile 120000
- root soft nofile 120000
- root hard nofile 120000
- http://stackoverflow.com/questions/410616/increasing-the-maximum-number-of-tcp-ip-connections-in-linux
- https://gist.github.com/raistlinthewiz/8127858
echo "net.ipv4.ip_local_port_range = 20000 65535" >> /etc/sysctl.conf && echo 20000 65535 > /proc/sys/net/ipv4/ip_local_port_range && echo "net.ipv4.tcp_tw_reuse = 1" >> /etc/sysctl.conf && echo "net.core.somaxconn=65535" >> /etc/sysctl.conf && sysctl -p /etc/sysctl.conf