hostd icon indicating copy to clipboard operation
hostd copied to clipboard

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

Open kocoten1992 opened this issue 1 year ago • 1 comments

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 avatar Jul 18 '24 00:07 kocoten1992

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.

kocoten1992 avatar Jul 18 '24 01:07 kocoten1992