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

UI or API calls taking more than 15 minutes to load #233

Closed
alesanmed opened this issue Jan 28, 2021 · 9 comments · Fixed by #277
Closed

UI or API calls taking more than 15 minutes to load #233

alesanmed opened this issue Jan 28, 2021 · 9 comments · Fixed by #277

Comments

@alesanmed
Copy link

Hi all,

when I deploy locally Kafdrop and access the UI, it takes more than 3 minutes to load the UI. If I make a request to the kafdrop API takes more or less the same time. Since I've seen no one mentioning this, I'm starting to think that is something I did wrong.

Is there any troubleshooting guide or a DEBUG mode to see what could be causing this?

The kafdrop logs are not showing any errors. Here are the screenshots of the browser developer tools and postman:

image

image

The errors in the browser are:

image

And the kafdrop logs just show:

errorAtts: {timestamp=Thu Jan 28 08:29:11 GMT 2021, status=404, error=Not Found, message=Not Found, path=/js/bootstrap.min.js.map}
@kevincoelho1989
Copy link

Same here, in my case takes 4 minutes to load, meanwhile this issue is not fixed, is there a version that doesn't behave like this?

@alesanmed
Copy link
Author

I "fixed" it by increasing the resources. But that's not a real fix :(

@kevincoelho1989
Copy link

Tried to increase the heap size, but the perform hasn't change. How did you setup yours?

@alesanmed
Copy link
Author

@kevincoelho1989 JVM_OPTS="-Xms1024M -Xmx2048M" 1Gb of minimum heap and 2 Gb of maximum heap size.

@senthil13
Copy link

I too has the same issue, Even I increased to heap but no improvement. one thing i noticed is kafdrop is fast when the total topic count is less than 500, if its more than ~ 650 + then its really slow.

@tolgabalci
Copy link

I have 736 topics and it takes a painful 1 minute, 7 seconds to load consistently. Even if I refresh the page, it takes almost exactly the same amount of time.

I tried playing with JVM_OPTS settings, but did not seem to make any difference.

@github-actions
Copy link

github-actions bot commented Jan 7, 2022

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 7, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@jorkzijlstra
Copy link
Contributor

I actually created a PR to tackle this issue: #277 but its not moving forward yet

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

Successfully merging a pull request may close this issue.

6 participants