
우리는 nbproc 10
다중 프로세스 HAProxy를 사용하고 있습니다. Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz를 탑재한 서버.
구성에서:
nbproc 10
cpu-map 1 0
cpu-map 2 1
cpu-map 3 2
cpu-map 4 3
cpu-map 5 4
cpu-map 6 5
cpu-map 7 6
cpu-map 8 7
cpu-map 9 8
cpu-map 10 9
stats socket /var/run/haproxy/socket1 process 1
stats socket /var/run/haproxy/socket2 process 2
stats socket /var/run/haproxy/socket3 process 3
stats socket /var/run/haproxy/socket4 process 4
stats socket /var/run/haproxy/socket5 process 5
stats socket /var/run/haproxy/socket6 process 6
stats socket /var/run/haproxy/socket7 process 7
stats socket /var/run/haproxy/socket8 process 8
stats socket /var/run/haproxy/socket9 process 9
stats socket /var/run/haproxy/socket10 process 10
이 문제를 해결하도록 도와주세요!
답변1
로드 밸런싱 알고리즘을 라운드 로빈 대신 최소 conn으로 변경해 보십시오.