Negative values in Out column of dnsdist web GUI #3288

Closed
rygl opened this Issue Jan 22, 2016 · 4 comments

Projects

None yet

3 participants

@rygl
rygl commented Jan 22, 2016

Hello,
my dnsdist gui is showing negative values in the Out column of the GUI:

Name Address Status Latency Queries Drops QPS Out Weight Order Pools
0 beluga1 93.xxx.117.2:53 up 2 6324118 332168 2420 -5 100 1
1 beluga2 93.xxx.117.3:53 up 1 6265141 254456 2420 -3 100 1
2 beluga3 93.xxx.117.4:53 up 1 6248443 313666 2419 -12 100 1
3 beluga4 93.xxx.117.5:53 up 1 6271778 320997 2418 -7 100 1

There was a situation when the servers were flapping for a minute or two shortly before I started to observe this issue. Dnsdist seems not to have any other problems so far.
showServers()

> showServers()
# Name Address State Qps Qlim Ord Wt Queries Drops Drate Lat Pools
0 beluga1 93.153.117.2:53 up 2258.5 0 1 100 5782894 331312 2.0 1.9
1 beluga2 93.153.117.3:53 up 2257.6 0 1 100 5723917 253536 4.0 0.9
2 beluga3 93.153.117.4:53 up 2257.8 0 1 100 5707219 312779 1.0 0.8
3 beluga4 93.153.117.5:53 up 2258.1 0 1 100 5730553 320153 1.0 1.2
All 9030.0 22944583 1217780

Thanks
With regards
Ales

@cmouse
Contributor
cmouse commented Jan 22, 2016

Can you edit your issue and add ``` before/after the pastes?

@rgacogne rgacogne self-assigned this Jan 22, 2016
@rygl
rygl commented Jan 22, 2016

Note: sometimes there is a combination of negative and positive values together.

@rgacogne rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 22, 2016
@rgacogne rgacogne dnsdist: Better handling of outstanding queries when sending fails
It might close #3288.
5529a1d
@rgacogne rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 22, 2016
@rgacogne rgacogne dnsdist: Better handling of outstanding TCP queries
The outstanding count was incremented for every query processed
in a single TCP session but was only decremented once per session.
It could also have been decremented before being incremented
if setupTCPDownstream() failed.
It might close #3288.
c594a2f
@rygl
rygl commented Jan 25, 2016

dnsdist 0.0.666g889e865 - negative numbers again

@rgacogne
Member

Hi Aleš! We have not yet merged the pull request containing what I hope could fix this issue. Thanks for the update!

@rgacogne rgacogne closed this in #3301 Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment