Skip to content
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

dnsdist: negative real-memory-usage metric #6211

Closed
paddg opened this issue Jan 22, 2018 · 0 comments
Closed

dnsdist: negative real-memory-usage metric #6211

paddg opened this issue Jan 22, 2018 · 0 comments

Comments

@paddg
Copy link
Contributor

@paddg paddg commented Jan 22, 2018

  • Program: dnsdist
  • Issue type: Bug report

Short description

After a while dnsdist provides negative real-memory-usage if queried over built-in webserver.

Environment

  • Operating system: SLES12-SP2
  • Software version: dnsdist 1.2.0
  • Software source: self compiled

Steps to reproduce

Negative value after about 3 days run time:

curl --silent -H 'X-API-Key: xxxxxx' http://127.0.0.1:7070/api/v1/servers/localhost/statistics | jsonpretty | grep -A2 real-memory-usage
        "name": "real-memory-usage",
        "type": "StatisticItem",
        "value": -1715232768

While dumpStats() shows still the correct value:

dnsdist -e "dumpStats()" | grep  real-memory-usage
empty-queries                 19799    real-memory-usage         6874710016

Expected behaviour

Correct value for real-memory-usage metric

Actual behaviour

Wrong and negative value

Other information

Usecase

Description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants