-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
tsh db ls
and tsh ls
taking 10-30 seconds to execute
#11159
Comments
Confirmed that this issue happens with a new local user with the default admin role assigned so it does not seem related to roles |
@rosstimothy As we discussed, let's start with putting print statements at the DEBUG level into |
I had raised this issue awhile back and logs are provided at https://support.goteleport.com/hc/en-us/requests/4310 |
We had tested download on a 50MB binary through a side-car NGINX container. Users with trouble loading results through web ui and tsh cli did not have any issue downloading that content. Reviewed Chrome RTT analysis using web ui, the majority time spent is in TTFB, which means server side processing is the major contributor in API slowness. Do we have any update on working towards a fix? |
I believe the pagination work at #11019 is going to help resolve this issue. Is that the correct PR @rosstimothy? |
hm... i don't think RFD 55 helps speed up The api got switched to paginated starting here (for databases and apps) https://github.com/gravitational/teleport/pull/9458/files#diff-f5e514e352c12c01eab507e6d9bbdfa697791b35bf914d949b92245a8e950447R1084, which looking through v8 commits, would've been part of release since |
|
Update on the issue Our findings show that roles with more complicated permission setup vs a simpler one makes a huge difference.
With deny |
This issue should be resolved by #12501 which will be available in the next published v8 release |
Confirmed this issue is resolved with the latest patches |
Description
What happened:
Database List is taking anywhere from 10-30 seconds to complete for DBA users operating with
tsh
client v8.1.0. Listing the same database records from Web Console did not take as much time and performs consistently better.in-memory
caching is already enabled. The number of nodes is ~3.5k and the number of databases is ~2kThe commands perform significantly better if the role returns no results for the
ls
The significant addition of time seems to happen between this logging step:
tsh db ls
tsh ls
Let me know if additional logging is required and I can sanatize more of the logs
The text was updated successfully, but these errors were encountered: