-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
504 on /admin after Gitea upgrade because of large action
table
#17504
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
Comments
app.ini:
|
The best methods:
|
Thanks for quick response @wxiaoguang, really appreciate it!
|
|
Thank you very much for your support @wxiaoguang. I have cleared action table and now it works very well. Thanks again! |
This seems to be a flaw in Gitea, we should prevent counting on the large |
The Actions table should really only contain the actions for the past year as any actions beyond that date will not be shown - although this should be improved. We need to think a bit more long term about this actions table - it's a monotonically increasing data stream and so we should be able to move data out of it and/or use database features like views to make things more efficient. |
action
table
Gitea Version
1.15.6 (was: 1.11.1)
Git Version
N/A
Operating System
Amazon Linux 2 (EKS)
How are you running Gitea?
AWS EKS, version 1.17.7
Deployment:
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
After Gitea upgrade from 1.11.1 to 1.15.6 /admin page doesn't load anymore. Everything other works okay.
We are using AWS NLB behind Gitea, but connecting directly (kubectl port-forward) makes no difference, page still doesn't load.
This is extensively used Gitea instance so logs on debug level very huge (>10Mb for few minutes online), I can't attach them at this moment.
From what I can see, GET request to /admin is started but never completed, causing 504 Gateway timeout after 5 minutes.
If you can, please guide me how I can filter logs output to track down this specific issue with /admin.
Screenshots
No response
The text was updated successfully, but these errors were encountered: