Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For those of you using HAProxy along with the stats papge (haproxy?stats), how do I interpret this page? There is no decent explanation.

For instance: Which Session column displays the number of currently active connections to the backend? Session or Sessions Rate?

share|improve this question

2 Answers 2

Session rate is the number of new sessions per second. Under sessions, cur is the current number of sessions, max is the maximum concurrent sessions, total is the total number of sessions since haproxy was restarted.

share|improve this answer
    
Ok, so I'll keep my eyes on the Session columns. Can you elaborate a bit on Session rate? –  w00t Jun 4 '10 at 8:12
    
Session rate is the number of new sessions per second –  JamesRyan Jun 4 '10 at 8:59
    
I don't think that a copy/paste is very helpful. –  w00t Jun 4 '10 at 11:02
    
If EK's explanations don't help you, I don't know what can help you, because they look pretty clear to me. –  Willy Tarreau Jun 4 '10 at 21:08
    
I didn't copy/paste that to a comment, I edited the answer to make it better –  JamesRyan Jun 4 '10 at 21:31

I think what you are confused about is the difference between concurrency and arrival rate.

Concurrency is how many things are going on at a snapshot in time. The Arrival rate is how many new things arrived during a window of time.

For Example:

enter image description here

During the snapshot there were two concurrent events. The arrival rate during that entire second is 5 events, because there were 5 events that started throughout that second. The key relationship to grasp is that a large amount of concurrent connections can come from a high arrival rate and/or long lived connections (see Little's Law).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.