[WARNING] 351/055810 (10903) : Proxy 'stats': in multi-process mode, stats will be limited to process assigned to the current request.
只要在設定檔中加入 bind-process 1 ,讓它只跑在一顆 CPU 上 ,就不會出現錯誤訊息了。
global log 127.0.0.1 local0 log 127.0.0.1 local1 notice #log loghost local0 info ulimit-n 81200 maxconn 32768 #chroot /usr/share/haproxy pidfile /usr/local/haproxy/haproxy.pid uid nobody gid nobody daemon nbproc 2 #debug #quiet defaults log global mode tcp #option httplog option tcplog option dontlognull #option forwardfor #option abortclose #option httpclose retries 3 option redispatch maxconn 32768 contimeout 5000 clitimeout 50000 srvtimeout 50000 timeout check 2000 bind-process 1
Hits: 477