-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detail
Description
Gitea Version
1.16.1
Git Version
2.35.1.windows.2
Operating System
Windows server 2012
How are you running Gitea?
Gitea is running as a windows service, it's installed with the package gitea-1.16.1-windows-4.0-amd64.exe
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Often the push from a client to the gitea remote get stuck for a lot of time.
Looking at the log I found this
2022/02/09 15:57:49 ...es/git/repo_index.go:59:func1() [E] failed to remove tmp index file: remove C:\Windows\TEMP\index3937789675: Impossibile accedere al file. Il file è utilizzato da un altro processo.
2022/02/09 16:55:04 ...es/git/repo_index.go:59:func1() [E] failed to remove tmp index file: remove C:\Windows\TEMP\index1770678566: Impossibile accedere al file. Il file è utilizzato da un altro processo.
2022/02/09 16:56:59 ...es/git/repo_index.go:59:func1() [E] failed to remove tmp index file: remove C:\Windows\TEMP\index3990406363: Impossibile accedere al file. Il file è utilizzato da un altro processo.
2022/02/09 17:00:57 ...eue/queue_channel.go:98:func1() [W] ChannelQueue: push_update-channel Terminated before completed flushing
2022/02/09 17:01:57 .../graceful/manager.go:226:doHammerTime() [W] Setting Hammer condition
This temp index folders are empty, I've tried to remove that but I can't until I stop the gitea service. This take a lot of time and sometime even fail and I have to terminate the gitea process from the task manager.
During the stop of the service this lines are added to the log, even after a restart without any remote push
2022/02/09 17:11:01 ...eue/queue_channel.go:98:func1() [W] ChannelQueue: task-channel Terminated before completed flushing
2022/02/09 17:11:01 ...eue/queue_channel.go:98:func1() [W] ChannelQueue: push_update-channel Terminated before completed flushing
2022/02/09 17:11:01 ...eue/queue_channel.go:98:func1() [W] ChannelQueue: notification-service-channel Terminated before completed flushing
2022/02/09 17:11:01 .../graceful/manager.go:226:doHammerTime() [W] Setting Hammer condition
2022/02/09 17:11:02 .../graceful/manager.go:243:doTerminate() [W] Terminating
Screenshots
No response
Metadata
Metadata
Assignees
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detail