Optimasi webmail Mailku.net

optimasi sysctl disini https://blog.snapt.net/2012/02/28/simple-sysctl-tunings-for-haproxy/

net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.ip_local_port_range = 1024 65023
net.ipv4.tcp_max_syn_backlog = 10240
net.ipv4.tcp_max_tw_buckets = 400000
net.ipv4.tcp_max_orphans = 60000
net.ipv4.tcp_synack_retries = 3
net.core.somaxconn = 10000

optimasi menambahkan option http-server-close di setiap frontend dan backend

setting default maxconn di lebih kecil lebih cepat

referensi http://stackoverflow.com/questions/8750518/difference-between-global-maxconn-and-server-maxconn-haproxy

Leave a Reply

Your email address will not be published. Required fields are marked *



*