Why do we see "Proxy 'stats': in multi-process mode, stats will be limited to process assigned to the current request" warning messages with HAproxy in RHEL7?

Solution Unverified - Updated -

Issue

  • We are trying to setup haproxy with multi process option using nbproc parameter where each of the process will be tied to specific CPU using cpu-map parameter.
  • We see following messages when the haproxy service is started on the nodes:
Jun  9 15:16:53 localhost haproxy-systemd-wrapper: [WARNING] 159/151653 (1715) : stats socket will not work as expected in multi-process mode (nbproc > 1), you should force process binding globally using 'stats bind-process' or per socket using the 'process' attribute.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : Proxy 'stats': in multi-process mode, stats will be limited to process assigned to the current request.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : Proxy 'Group-1': in multi-process mode, stats will be limited to process assigned to the current request.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : Proxy 'Group-2': in multi-process mode, stats will be limited to process assigned to the current request.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : Proxy 'Group-3': in multi-process mode, stats will be limited to process assigned to the current request.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : Proxy 'Group-4': in multi-process mode, stats will be limited to process assigned to the current request.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : Proxy 'Group-5': in multi-process mode, stats will be limited to process assigned to the current request.
Jun  9 15:17:00 localhost haproxy-systemd-wrapper: [WARNING] 159/151700 (1734) : stats socket will not work as expected in multi-process mode (nbproc > 1), you should force process binding globally using 'stats bind-process' or per socket using the 'process' attribute.
  • Why do such messages appear?
  • How to avoid such warning messages?

Environment

  • Red Hat Enterprise Linux (RHEL)7.0.
  • Haproxy version haproxy-1.5.4-2.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content