goroutine 18879 [running]: runtime/pprof.writeGoroutineStacks({0x76841942e1f0, 0xc000728730}) runtime/pprof/pprof.go:756 +0x6b runtime/pprof.writeGoroutine({0x76841942e1f0?, 0xc000728730?}, 0x29?) runtime/pprof/pprof.go:745 +0x25 runtime/pprof.(*Profile).WriteTo(0x4c0bdb0?, {0x76841942e1f0?, 0xc000728730?}, 0xc?) runtime/pprof/pprof.go:371 +0x14b net/http/pprof.handler.ServeHTTP({0xc002344191, 0x9}, {0x76841942e1c0, 0xc000728730}, 0xc001dba640) net/http/pprof/pprof.go:272 +0x52a net/http/pprof.Index({0x76841942e1c0, 0xc000728730}, 0xc001dba640?) net/http/pprof/pprof.go:389 +0xda gopkg.in/macaron%2ev1.handlerFuncInvoker.Invoke(0x3c48f10?, {0xc000a6a220?, 0x2?, 0x17c37a0?}) gopkg.in/macaron.v1@v1.5.1/macaron.go:48 +0xd0 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002330948?, {0x768419412fe0?, 0x3c48f10?}, {0x3e4f030?, 0x17c37a0?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002330948, {0x17c37a0, 0x3c48f10}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc001060900) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Context).Next(0xc00067eab0?) gopkg.in/macaron.v1@v1.5.1/context.go:114 +0x17 gogs.io/gogs/internal/cmd.newMacaron.Recovery.func2(0x20?, 0x177d600?) gopkg.in/macaron.v1@v1.5.1/recovery.go:161 +0x45 gopkg.in/macaron%2ev1.LoggerInvoker.Invoke(0x192fce0?, {0xc000a6a140?, 0x192fce0?, 0x3e4f030?}) gopkg.in/macaron.v1@v1.5.1/logger.go:40 +0x58 github.com/go-macaron/inject.(*injector).fastInvoke(0xc002330948?, {0x76841942e120?, 0x3c47838?}, {0x3e4f030?, 0x17c3720?}, 0x2?) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 +0x8f github.com/go-macaron/inject.(*injector).Invoke(0xc002330948, {0x17c3720, 0x3c47838}) github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 +0x12c gopkg.in/macaron%2ev1.(*Context).run(0xc001060900) gopkg.in/macaron.v1@v1.5.1/context.go:124 +0x65 gopkg.in/macaron%2ev1.(*Router).Handle.func1({0x3e2e4d8?, 0xc000304780?}, 0x3e15220?, 0xc0023ab7a0) gopkg.in/macaron.v1@v1.5.1/router.go:187 +0x23a gopkg.in/macaron%2ev1.(*Router).ServeHTTP(0xc0006f6060, {0x3e2e4d8, 0xc000304780}, 0xc001dba640) gopkg.in/macaron.v1@v1.5.1/router.go:304 +0x162 gopkg.in/macaron%2ev1.(*Macaron).ServeHTTP(0xc0006af800, {0x3e2e4d8, 0xc000304780}, 0xc001dba640) gopkg.in/macaron.v1@v1.5.1/macaron.go:218 +0x153 net/http.serverHandler.ServeHTTP({0xc000399040?}, {0x3e2e4d8?, 0xc000304780?}, 0x1?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc001061c20, {0x3e31e18, 0xc00237d4a0}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 1 net/http/server.go:3493 +0x485 goroutine 1 [IO wait, 60 minutes]: internal/poll.runtime_pollWait(0x7684198cc200, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc002357900?, 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(0xc002357900) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc002357900) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc000673ac0) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc000673ac0) net/tcpsock.go:380 +0x30 net/http.(*Server).Serve(0xc0000e1c00, {0x3e2e750, 0xc000673ac0}) net/http/server.go:3463 +0x30c net/http.(*Server).ListenAndServe(0xc0000e1c00) net/http/server.go:3389 +0x72 net/http.ListenAndServe(...) net/http/server.go:3704 gogs.io/gogs/internal/cmd.runWeb(0xc00033b8c0) gogs.io/gogs/internal/cmd/web.go:748 +0x1175 github.com/urfave/cli.HandleAction({0x174c5c0?, 0x3c47888?}, 0x3?) github.com/urfave/cli@v1.22.17/app.go:524 +0x9f github.com/urfave/cli.Command.Run({{0x19ab886, 0x3}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x19c77df, 0x10}, {0x0, ...}, ...}, ...) github.com/urfave/cli@v1.22.17/command.go:175 +0x656 github.com/urfave/cli.(*App).Run(0xc0006a6a80, {0xc00003ec80, 0x2, 0x2}) github.com/urfave/cli@v1.22.17/app.go:277 +0xb27 main.main() gogs.io/gogs/gogs.go:35 +0x3cc goroutine 12 [select, 516 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 +0x58b goroutine 14 [select, 516 minutes]: database/sql.(*DB).connectionOpener(0xc00054e270, {0x3e31e50, 0xc00040c820}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 15 [select, 516 minutes]: database/sql.(*DB).connectionOpener(0xc00056e340, {0x3e31e50, 0xc00040d400}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 32 [select, 8 minutes]: github.com/gogs/cron.(*Cron).run(0xc000655770) github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14/cron.go:197 +0x565 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 33 [chan receive, 516 minutes]: gogs.io/gogs/internal/database.SyncMirrors() gogs.io/gogs/internal/database/mirror.go:390 +0x50 created by gogs.io/gogs/internal/database.InitSyncMirrors in goroutine 1 gogs.io/gogs/internal/database/mirror.go:530 +0x1a goroutine 34 [chan receive, 230 minutes]: gogs.io/gogs/internal/database.DeliverHooks() gogs.io/gogs/internal/database/webhook.go:810 +0x258 created by gogs.io/gogs/internal/database.InitDeliverHooks in goroutine 1 gogs.io/gogs/internal/database/webhook.go:830 +0x1a goroutine 35 [chan receive, 516 minutes]: gogs.io/gogs/internal/database.TestPullRequests() gogs.io/gogs/internal/database/pull.go:866 +0x118 created by gogs.io/gogs/internal/database.InitTestPullRequests in goroutine 1 gogs.io/gogs/internal/database/pull.go:884 +0x1a goroutine 36 [IO wait]: internal/poll.runtime_pollWait(0x7684198cbe00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc000996b00?, 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(0xc000996b00) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc000996b00) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc00099f880) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc00099f880) net/tcpsock.go:380 +0x30 gogs.io/gogs/internal/ssh.listen(0xc0006b6600, {0xc00039b798, 0x7}, 0xc000063ed8?) gogs.io/gogs/internal/ssh/ssh.go:117 +0xf5 created by gogs.io/gogs/internal/ssh.Listen in goroutine 1 gogs.io/gogs/internal/ssh/ssh.go:184 +0x1f5 goroutine 20133 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() net/http/server.go:698 runtime.goexit({}) runtime/asm_amd64.s:1693 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 18879 net/http/server.go:698 +0xb6