温馨提示×

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

发布时间:2020-07-23 11:01:49 来源:网络 阅读:2763 作者:linuxzkq 栏目:软件技术

# /usr/local/haproxy/sbin/haproxy -f /usr/local/haproxy/conf/haproxy.cfg

[WARNING] 102/151915 (11151) : Proxy 'http_gsres': in multi-process mode, stats will be limited to process assigned to the current request.

解决方法:

在配置文件中加入 bind-process 2 ,让它跑在两颗CPU上 ,就不会出现错误讯息了。

frontend http_gsres

         bind *:8090

         mode http

         option httplog

         log  global

         bind-process    2    #此行为上面加入到配置文件当中的

         default_backend www_gsres


再次启动haproxy一切正常!

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。