Search code examples
haproxy

Haproxy stats related clarifications


Attached my stats page screenshot haproxystats

Here are my question / clarifications needed:

  1. Under "session rate" - Cur - 13 - Does it mean 13 webrequests are being processed?
  2. If you see under "sessions" - Cur - 250 Max 250 Limit 250 - What does it means?

I observed most of the time "sessions" - Cur values keep more than 200.

Can someone please clarify about these?

Thank you.


Solution

    1. "Cur" means the current rate per second of incoming connections. Whether they're being processed yet is shown in the drilldown metrics when you hover over that metric.

    2. This shows the current rate per second is at 250, the most that value has historically reached is 250, and you have a limit on it of 250. Are you using "rate-limit session"?

    Here is more information about what happens when the limit is reached: https://cbonte.github.io/haproxy-dconv/2.0/configuration.html#rate-limit