# /usr/local/haproxy/sbin/haproxy -f /usr/local/haproxy/conf/haproxy.cfgfrontend
[WARNING] 102/151915 (11151) : Proxy 'http_gsres': in multi-process mode, stats will be limited to process assigned to the current request.ide
解決方法:spa
在配置文件中加入 bind-process 2 ,讓它跑在兩顆CPU上 ,就不會出現錯誤訊息了。it
frontend http_gsresio
bind *:8090class
mode http配置
option httplogrequest
log global方法
bind-process 2 #此行爲上面加入到配置文件當中的im
default_backend www_gsres
再次啓動haproxy一切正常!