New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative values in Out column of dnsdist web GUI #3288

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

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

This comment has been minimized.

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

This comment has been minimized.

rygl commented Jan 22, 2016

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

rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 22, 2016

rgacogne added a commit to rgacogne/pdns that referenced this issue Jan 22, 2016

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 PowerDNS#3288.
@rygl

This comment has been minimized.

rygl commented Jan 25, 2016

dnsdist 0.0.666g889e865 - negative numbers again

@rgacogne

This comment has been minimized.

Member

rgacogne commented Jan 25, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment