Re: HAProxy bytes in/bytes out stats are not updated

2018-11-20 Thread Willy Tarreau
On Tue, Nov 20, 2018 at 09:44:41PM +0100, Lukas Tribus wrote: > Restart the process hard, limit the amount of time those old session > keep running by lowering timeouts and/or setting hard-stop-after. Indeed that's also a very good solution, it depends if it's acceptable to stop older sessions or

Re: HAProxy bytes in/bytes out stats are not updated

2018-11-20 Thread Willy Tarreau
On Tue, Nov 20, 2018 at 10:29:43PM +0300, Sergey Arlashin wrote: > Also I just noticed, when I reload HAProxy in master worker mode with > SIGUSR2, stats stop get updated for already established sessions. I need to > reestablish the sessions in order to see stat updates. > > Is this a desired beha

Re: HAProxy bytes in/bytes out stats are not updated

2018-11-20 Thread Lukas Tribus
Hello Sergey, On Tue, 20 Nov 2018 at 20:30, Sergey Arlashin wrote: > > Also I just noticed, when I reload HAProxy in master worker mode with > SIGUSR2, stats > stop get updated for already established sessions. I need to reestablish the > sessions in > order to see stat updates. > > Is this a d

Re: HAProxy bytes in/bytes out stats are not updated

2018-11-20 Thread Sergey Arlashin
Also I just noticed, when I reload HAProxy in master worker mode with SIGUSR2, stats stop get updated for already established sessions. I need to reestablish the sessions in order to see stat updates. Is this a desired behaviour? Or probably there is a way to fix this? Thanks! Regards, Serg

Re: HAProxy bytes in/bytes out stats are not updated

2018-11-20 Thread Willy Tarreau
On Tue, Nov 20, 2018 at 05:35:14PM +0300, Sergey Arlashin wrote: > Hi Willy, > > Thank you for the answer. I checked contstats and I see it is actually > working. HAProxy - 1.8.1. > Even small requests are reflected in the traffic stats. Ah you're right, I completely forgot I addressed this t

Re: HAProxy bytes in/bytes out stats are not updated

2018-11-20 Thread Sergey Arlashin
Hi Willy, Thank you for the answer. I checked contstats and I see it is actually working. HAProxy - 1.8.1. Even small requests are reflected in the traffic stats. Regards, Sergey > On 18 Nov 2018, at 20:47, Willy Tarreau wrote: > > Hi Sergey, > > On Sun, Nov 18, 2018 at 05:23:23PM +0300,

Re: HAProxy bytes in/bytes out stats are not updated

2018-11-18 Thread Willy Tarreau
Hi Sergey, On Sun, Nov 18, 2018 at 05:23:23PM +0300, Sergey Arlashin wrote: > Hi! > > We have a TCP service that is load-balanced with HAProxy. It works pretty > well, however the stats page doesn't seem to report correct traffic > statistics. Even though we have data transferred all the time, s

HAProxy bytes in/bytes out stats are not updated

2018-11-18 Thread Sergey Arlashin
Hi! We have a TCP service that is load-balanced with HAProxy. It works pretty well, however the stats page doesn't seem to report correct traffic statistics. Even though we have data transferred all the time, stats show the same amount of bytes in/out. Our traffic if mainly long running TCP