Since this morning I’m having notifications that my gitea is slow to respond, my logs indicate a lot of scrapping being done.
What I’m seeing on gitea side is that after a few minutes my host starts to have 20+ load, there is also a lot of connections to the database (I had to bump the limit), ctrl-c ing gitea take some time, I guess until all requests are treated.
I was running 1.10.3
on docker, and migrated outside docker to 1.12.0+dev-255-g70dd3faad
(official binary), and both has the same problem.
I also got a panic while receiving requests:
[Macaron] 2020-02-06 21:29:50: Completed GET /DashieHam/xxx/src/commit/xxx/modes?lang=bg-BG 500 Internal Server Error in 3m52.240921707s
[Macaron] 2020-02-06 21:29:50: Completed GET /dashie/xxx/src/commit/xxx/lib/pleroma/web/activity_pub/views/user_view.ex 500 Internal Server Error in 4m4.294135608s
panic: sync: negative WaitGroup counter
goroutine 19542 [running]:
sync.(*WaitGroup).Add(0xc0073a2450, 0xffffffffffffffff)
/usr/local/go/src/sync/waitgroup.go:74 +0x139
sync.(*WaitGroup).Done(...)
/usr/local/go/src/sync/waitgroup.go:99
code.gitea.io/gitea/modules/graceful.wrappedConn.Close(0x31f9760, 0xc0894f2388, 0xc0073a2420, 0x0, 0x0)
/go/src/code.gitea.io/gitea/modules/graceful/server.go:249 +0x7b
net/http.(*conn).close(0xc089dca280)
/usr/local/go/src/net/http/server.go:1662 +0x42
net/http.(*conn).serve.func1(0xc089dca280)
/usr/local/go/src/net/http/server.go:1771 +0xbf
net/http.(*conn).serve(0xc089dca280, 0x31e71a0, 0xc089db8c00)
/usr/local/go/src/net/http/server.go:1900 +0xa49
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2928 +0x384
panic: sync: negative WaitGroup counter
goroutine 18776 [running]:
sync.(*WaitGroup).Add(0xc0073a2450, 0xffffffffffffffff)
/usr/local/go/src/sync/waitgroup.go:74 +0x139
sync.(*WaitGroup).Done(...)
/usr/local/go/src/sync/waitgroup.go:99
code.gitea.io/gitea/modules/graceful.wrappedConn.Close(0x31f9760, 0xc0868268c0, 0xc0073a2420, 0x0, 0x0)
/go/src/code.gitea.io/gitea/modules/graceful/server.go:249 +0x7b
net/http.(*conn).close(0xc086d9cf00)
/usr/local/go/src/net/http/server.go:1662 +0x42
net/http.(*conn).serve.func1(0xc086d9cf00)
/usr/local/go/src/net/http/server.go:1771 +0xbf
net/http.(*conn).serve(0xc086d9cf00, 0x31e71a0, 0xc087d352c0)
/usr/local/go/src/net/http/server.go:1900 +0xa49
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2928 +0x384
Any ideas about this whole behavior ?