📅  最后修改于: 2022-03-11 14:54:59.945000             🧑  作者: Mango
#Single Haproxy process
nbproc 1
# 12 threads
nbthread 12
# mapped to the first 12 CPU cores
cpu-map auto:1/1-12 0-11
# stats will be logged in to single sockett as ,we have only one process
stats socket /var/lib/haproxy/stats-1 mode 600 level admin process 1