Quantcast
Viewing all articles
Browse latest Browse all 4731

Stats and multiprocessing + multithreading in same time

@arash wrote:

Hello

Im using Haproxy with both nbproc and nbthread.
this is my configuration :

nbproc 6
nbthread 8
cpu-map auto:1/1-8 0-7
cpu-map auto:2/1-8 8-15
cpu-map auto:3/1-8 16-23
cpu-map auto:4/1-8 24-31
cpu-map auto:5/1-8 32-39
cpu-map auto:6/1-8 40-47

this command confirms I have 48 threads with 1 master
ps -efL | grep haproxy | grep -v exporter | grep -v grep | wc -l

the problem is statistics, I don’t have a valid statistics with the following configuration :

listen stats-Static
 bind *:4444
 stats uri /Static-stats
 bind-process 5
 stats enable
 stats scope front-http
 stats scope Static
 stats hide-version
 stats show-legends

I even trying this on stats but its not working

 bind-process 5/1-8
 bind-process 5/32-39

How can I get every threads in process statistics ?
and another question is healthcheck is per thread or per process ?

thank you

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>