goroutine 8129344 [running]: runtime/pprof.writeGoroutineStacks({0x7f37d00d8cf0, 0xc0026fa690}) runtime/pprof/pprof.go:761 +0x6a runtime/pprof.writeGoroutine({0x7f37d00d8cf0?, 0xc0026fa690?}, 0xc003348e70?) runtime/pprof/pprof.go:750 +0x25 runtime/pprof.(*Profile).WriteTo(0x4260370?, {0x7f37d00d8cf0?, 0xc0026fa690?}, 0xc?) runtime/pprof/pprof.go:374 +0x14b net/http/pprof.handler.ServeHTTP({0xc001f2c131, 0x9}, {0x7f37d099af68, 0xc0026fa690}, 0xc0001403c0) net/http/pprof/pprof.go:272 +0x52f net/http/pprof.Index({0x7f37d099af68, 0xc0026fa690}, 0xc0001403c0?) net/http/pprof/pprof.go:388 +0xde gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x157bc20?, {0xc0023c24c0?, 0x157bc20?, 0x1420c80?}) gopkg.in/macaron.v1@v1.4.0/macaron.go:50 +0xd0 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002276108?, {0x7f37d0042c78?, 0x36ae4f8?}, {0x384cbb0?, 0x1420c80?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002276108, {0x1420c80, 0x36ae4f8}) github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc00012f8c0) gopkg.in/macaron.v1@v1.4.0/context.go:125 +0x68 gopkg.in/macaron%2ev1.(*Context).Next(0xc0006c7680?) gopkg.in/macaron.v1@v1.4.0/context.go:115 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x13dacc0?) gopkg.in/macaron.v1@v1.4.0/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x1551f40?, {0xc0023c2400?, 0x1551f40?, 0xc0004c7e40?}) gopkg.in/macaron.v1@v1.4.0/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002276108?, {0x7f37d099aec8?, 0x36acdb8?}, {0x384cbb0?, 0x1420c00?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002276108, {0x1420c00, 0x36acdb8}) github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc00012f8c0) gopkg.in/macaron.v1@v1.4.0/context.go:125 +0x68 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3830cd8?, 0xc000390380?}, 0x381a980?, 0xc003348c90) gopkg.in/macaron.v1@v1.4.0/router.go:187 +0x24a gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc0006bcb40, {0x3830cd8, 0xc000390380}, 0xc0001403c0) gopkg.in/macaron.v1@v1.4.0/router.go:303 +0x175 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc0006b3700, {0x3830cd8, 0xc000390380}, 0xc0001403c0) gopkg.in/macaron.v1@v1.4.0/macaron.go:220 +0x145 net/http.serverHandler.ServeHTTP({0xc003348bd0?}, {0x3830cd8?, 0xc000390380?}, 0x6?) net/http/server.go:3210 +0x8e net/http.(*conn).serve(0xc00012f710, {0x3833898, 0xc00206dd40}) net/http/server.go:2092 +0x5d0 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3360 +0x485 goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f37d0b69810, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc002066b80?, 0x900000036?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc002066b80) internal/poll/fd_unix.go:620 +0x295 net.(*netFD).accept(0xc002066b80) net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000253d40) net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000253d40) net/tcpsock.go:372 +0x30 net/http.(*Server).Serve(0xc00053a000, {0x3831140, 0xc000253d40}) net/http/server.go:3330 +0x30c net/http.(*Server).ListenAndServe(0xc00053a000) net/http/server.go:3259 +0x71 net/http.ListenAndServe(...) net/http/server.go:3514 gogs.io/gogs/internal/cmd.runWeb(0xc00070c9a0) gogs.io/gogs/internal/cmd/web.go:716 +0xbd6 github.com/urfave/cli.HandleAction({0x13b0f80?, 0x36ace08?}, 0x3?) github.com/urfave/cli@v1.22.16/app.go:524 +0x50 github.com/urfave/cli.Command.Run({{0x15b6811, 0x3}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x15d100c, 0x10}, {0x0, ...}, ...}, ...) github.com/urfave/cli@v1.22.16/command.go:175 +0x67c github.com/urfave/cli.(*App).Run(0xc000105340, {0xc000250040, 0x2, 0x2}) github.com/urfave/cli@v1.22.16/app.go:277 +0xb3b main.main() gogs.io/gogs/gogs.go:39 +0x3ec goroutine 53 [select, 9152 minutes]: unknwon.dev/clog/v2.New.func1() unknwon.dev/clog/v2@v2.2.0/logger.go:202 +0xce created by unknwon.dev/clog/v2.New in goroutine 1 unknwon.dev/clog/v2@v2.2.0/logger.go:199 +0x59c goroutine 55 [select, 9152 minutes]: database/sql.(*DB).connectionOpener(0xc00041d520, {0x38338d0, 0xc00055a1e0}) database/sql/sql.go:1253 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:833 +0x130 goroutine 56 [select, 9152 minutes]: database/sql.(*DB).connectionOpener(0xc0000c3930, {0x38338d0, 0xc00055a4b0}) database/sql/sql.go:1253 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:833 +0x130 goroutine 73 [select, 4 minutes]: github.com/gogs/cron.(*Cron).run(0xc00069f540) github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:197 +0x5a5 created by github.com/gogs/cron.(*Cron).Start in goroutine 1 github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:150 +0x59 goroutine 74 [chan receive, 9152 minutes]: gogs.io/gogs/internal/db.SyncMirrors() gogs.io/gogs/internal/db/mirror.go:321 +0x50 created by gogs.io/gogs/internal/db.InitSyncMirrors in goroutine 1 gogs.io/gogs/internal/db/mirror.go:461 +0x1a goroutine 75 [chan receive, 9150 minutes]: gogs.io/gogs/internal/db.DeliverHooks() gogs.io/gogs/internal/db/webhook.go:806 +0x268 created by gogs.io/gogs/internal/db.InitDeliverHooks in goroutine 1 gogs.io/gogs/internal/db/webhook.go:826 +0x1a goroutine 76 [chan receive, 9152 minutes]: gogs.io/gogs/internal/db.TestPullRequests() gogs.io/gogs/internal/db/pull.go:870 +0x172 created by gogs.io/gogs/internal/db.InitTestPullRequests in goroutine 1 gogs.io/gogs/internal/db/pull.go:888 +0x1a goroutine 8129345 [IO wait]: internal/poll.runtime_pollWait(0x7f37b011cea8, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc002faa400?, 0xc003348be1?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc002faa400, {0xc003348be1, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc002faa400, {0xc003348be1?, 0xc0020e5748?, 0x479a50?}) net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc003682018, {0xc003348be1?, 0xc0016f8380?, 0xc003348758?}) net/net.go:189 +0x45 net/http.(*connReader).backgroundRead(0xc003348bd0) net/http/server.go:690 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 8129344 net/http/server.go:686 +0xb6