haproxy[in multi-process mode]

时间 : 15-11-03 栏目 : linux运维 作者 : 老薛 评论 : 0 点击 : 1,603 次

[root@lvs1-1 conf]# /application/haproxy/bin/haproxy start

[WARNING] 306/213915 (7805) : Proxy 'apitest': in multi-process mode, stats will be limited to process assigned to the current request.

解决:

  1. 会提示如上信息,nbproc进程如果设置为1则不会提示,如果想去掉这个提示可以修改编译文件即可。 在源码配置src/cfgparse.c找到如下行
  2. if (nbproc > 1) { if (curproxy->uri_auth) { -
    Warning("Proxy '%s': in multi-process mode, stats will be limited to
    process assigned to the current request.\n",
    + Warning("Proxy '%s': in multi-process mode, stats will be limited to the process assigned to the current request.\n",
  3. 调整nbproc > 1数值即可。

相关文章: haproxy监测页面参数精讲|haproxy专题

                linux精讲之“haproxy日志功能开启”

本文标签 ,

除非注明,文章均为( 老薛 )原创,转载请保留链接: http://www.bdkyr.com/xtyw002/1074.html

haproxy[in multi-process mode]:等您坐沙发呢!

发表评论

7 + 6 = ?


博主微信号,很高兴为您提供帮助

随便看看

0