haproxy启动故障之-"Proxy 'http_gsres': in multi-process mode."

# /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一切正常!

相关文章
相关标签/搜索