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

Visit main page hostd (http://localhost:9980/) could take up to 15s #434

Open
kocoten1992 opened this issue Jul 18, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@kocoten1992
Copy link

kocoten1992 commented Jul 18, 2024

Current Behavior

When I visit main home page hostd, all the field is loading, and sometime it could take up to 15-18s to load. Note: the page load immediately - but the number inside the page is taking a very long time.

My host is using hdd for /var/lib/hostd, but even with that, it was too long. When F5 refersh - the second time the number load immediately.

Expected Behavior

It should load fast even on the first time with hdd.

Steps to Reproduce

  1. Wait for sometime have pass..
  2. Go to http://localhost:9980/ # it should take a very long time to load number to display

Version

v1.1.1

What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?

Debian 12.6

Anything else?

No response

@kocoten1992 kocoten1992 added the bug Something isn't working label Jul 18, 2024
@kocoten1992
Copy link
Author

kocoten1992 commented Jul 18, 2024

image

It was the monthly and daily metric api.

P/s: Hi - let me investigate further, it could be due to my hdd sleep mode.

@github-project-automation github-project-automation bot moved this to Triage in Sia Jul 29, 2024
@ChrisSchinnerl ChrisSchinnerl moved this from Triage to Todo in Sia Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant