Optimasi Kernel Ubuntu Server
Default FD 1024Cek di console Putty
# ulimit -n
Cara merubah :
# ulimit -HSn 65536
# echo "root soft nofile 65536" >> /etc/security/limits.conf
# echo "root hard nofile 65536" >> /etc/security/limits.conf
# nano /etc/pam.d/common-session
tambahkan :
session required pam_limits.so
# modprobe ip_conntrack
kemudian tambahkan ip_contrack di /etc/modules
# nano /etc/modules
Tambahkan kalimat berikut :
ip_conntrack