Op 05/03/2018 om 01:42 schreef [email protected]:
> Hi all,
>
> When haproxy works on multiple processes mode, is the data(request
> numbers, session numbers, etc) on stats page global across all processes?
>
> Or only the data of the process to which the stat is bind to?
>
> Thanks
>
With nbproc set you need a stat page for every process you are running.

your stats will look something like this.

listen stats_proc1
    bind-process 1
    bind :1901

listen stats_proc2
   bind-process 2
    bind :1902

If you use 1.8 then you can try the threaded version. That way you can
use a single stats page. mind that this is marked as experimental!

You need to change nbproc to nbthread.
Then a single stat page is available.
The bind-process line is not needed anymore.

regards,
Johan Hendriks



Reply via email to