-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Repeated Queue "code_indexer" failed to handle batch of 1 items error logs #31884
Comments
This error maybe similar to #29907 (comment) |
Nope, the root problem is this: -> search indexer broken: ...exer/code/indexer.go:128:func2() [E] Codes indexer handler: index error for repo 29: fork/exec /usr/bin/git: argument list too long #28584 See my comment #28584 (comment) Gitea reads the full file list into memory. Another related problem is the builtin bleve indexer, it sometimes consumes a lot of memory. |
I sent a PR to try to fix #28584 |
Description
Error logs appear every couple seconds constantly as app is running, appears to come with a memory leak
Setting
REPO_INDEXER_ENABLED = false
stops the errorsUnaware of RAM usage at the time on the machine but after thousands of these logs, the service appeared to stop itself without reason. The shutdown may not be related to thisEdit: Found these logs in the event viewer that align with the time gitea stopped
Maybe this is related to #31565?
Indexer config
Error log:
Gitea Version
1.22.1 go-git
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.45.2.windows.1
Operating System
Windows Server 2016
How are you running Gitea?
Windows gogit exe on prem running a service
Database
SQLite
The text was updated successfully, but these errors were encountered: