Skip to content

Instantly share code, notes, and snippets.

@ncdc
Created November 16, 2021 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncdc/a66dc15d404b52941da35fc5b626e18d to your computer and use it in GitHub Desktop.
Save ncdc/a66dc15d404b52941da35fc5b626e18d to your computer and use it in GitHub Desktop.
goroutine profile: total 9
1 @ 0x1032fde 0x10668c8 0x10ee219 0x106a9c1
# 0x10668c7 os/signal.signal_recv+0x27 /usr/local/Cellar/go/1.17.2/libexec/src/runtime/sigqueue.go:166
# 0x10ee218 os/signal.loop+0x18 /usr/local/Cellar/go/1.17.2/libexec/src/os/signal/signal_unix.go:24
1 @ 0x1039856 0x1007a8c 0x10074f8 0x1a1064a 0x106a9c1
# 0x1a10649 k8s.io/klog.(*loggingT).flushDaemon+0x69 /Users/angoldst/go/pkg/mod/k8s.io/klog@v1.0.0/klog.go:1010
1 @ 0x1039856 0x1007a8c 0x10074f8 0x1a66fea 0x106a9c1
# 0x1a66fe9 k8s.io/klog/v2.(*loggingT).flushDaemon+0x69 /Users/angoldst/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:1169
1 @ 0x1039856 0x1031ede 0x1064a89 0x10cedd2 0x10d013a 0x10d0128 0x1123ae9 0x1135ae5 0x132cadf 0x106a9c1
# 0x1064a88 internal/poll.runtime_pollWait+0x88 /usr/local/Cellar/go/1.17.2/libexec/src/runtime/netpoll.go:229
# 0x10cedd1 internal/poll.(*pollDesc).wait+0x31 /usr/local/Cellar/go/1.17.2/libexec/src/internal/poll/fd_poll_runtime.go:84
# 0x10d0139 internal/poll.(*pollDesc).waitRead+0x259 /usr/local/Cellar/go/1.17.2/libexec/src/internal/poll/fd_poll_runtime.go:89
# 0x10d0127 internal/poll.(*FD).Read+0x247 /usr/local/Cellar/go/1.17.2/libexec/src/internal/poll/fd_unix.go:167
# 0x1123ae8 net.(*netFD).Read+0x28 /usr/local/Cellar/go/1.17.2/libexec/src/net/fd_posix.go:56
# 0x1135ae4 net.(*conn).Read+0x44 /usr/local/Cellar/go/1.17.2/libexec/src/net/net.go:183
# 0x132cade net/http.(*connReader).backgroundRead+0x3e /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:672
1 @ 0x1039856 0x1031ede 0x1064a89 0x10cedd2 0x10d212c 0x10d2119 0x1125275 0x113d328 0x113c53d 0x1337334 0x1336f5d 0x1338376 0x106a9c1
# 0x1064a88 internal/poll.runtime_pollWait+0x88 /usr/local/Cellar/go/1.17.2/libexec/src/runtime/netpoll.go:229
# 0x10cedd1 internal/poll.(*pollDesc).wait+0x31 /usr/local/Cellar/go/1.17.2/libexec/src/internal/poll/fd_poll_runtime.go:84
# 0x10d212b internal/poll.(*pollDesc).waitRead+0x22b /usr/local/Cellar/go/1.17.2/libexec/src/internal/poll/fd_poll_runtime.go:89
# 0x10d2118 internal/poll.(*FD).Accept+0x218 /usr/local/Cellar/go/1.17.2/libexec/src/internal/poll/fd_unix.go:402
# 0x1125274 net.(*netFD).accept+0x34 /usr/local/Cellar/go/1.17.2/libexec/src/net/fd_unix.go:173
# 0x113d327 net.(*TCPListener).accept+0x27 /usr/local/Cellar/go/1.17.2/libexec/src/net/tcpsock_posix.go:140
# 0x113c53c net.(*TCPListener).Accept+0x3c /usr/local/Cellar/go/1.17.2/libexec/src/net/tcpsock.go:262
# 0x1337333 net/http.(*Server).Serve+0x393 /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:3001
# 0x1336f5c net/http.(*Server).ListenAndServe+0x7c /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:2930
# 0x1338375 net/http.ListenAndServe+0x95 /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:3184
1 @ 0x1039856 0x10495b2 0x152fe35 0x106a9c1
# 0x152fe34 google.golang.org/grpc.(*ccBalancerWrapper).watcher+0x94 /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/balancer_conn_wrappers.go:69
1 @ 0x1039856 0x10495b2 0x1538b72 0x106a9c1
# 0x1538b71 google.golang.org/grpc.(*addrConn).resetTransport+0x611 /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/clientconn.go:1184
1 @ 0x1039856 0x10495b2 0x153c57b 0x15378b5 0x154e44e 0x154da88 0x154cbff 0x154c90e 0x153177d 0x1915a0a 0x153161f 0x1630a29 0x1913710 0x1909724 0x2ebdc42 0x2ec087f 0x11a28ee 0x11a2f4d 0x2ec05ef 0x2ec05f0 0x1039487 0x106a9c1
# 0x153c57a google.golang.org/grpc.(*pickerWrapper).pick+0x21a /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/picker_wrapper.go:103
# 0x15378b4 google.golang.org/grpc.(*ClientConn).getTransport+0x34 /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/clientconn.go:933
# 0x154e44d google.golang.org/grpc.(*clientStream).newAttemptLocked+0x2ad /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/stream.go:404
# 0x154da87 google.golang.org/grpc.newClientStreamWithParams+0xe07 /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/stream.go:328
# 0x154cbfe google.golang.org/grpc.newClientStream.func2+0x9e /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/stream.go:184
# 0x154c90d google.golang.org/grpc.newClientStream+0x48d /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/stream.go:212
# 0x153177c google.golang.org/grpc.invoke+0x7c /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/call.go:66
# 0x1915a09 go.etcd.io/etcd/client/v3.(*Client).unaryClientInterceptor.func1+0x429 /Users/angoldst/go/pkg/mod/go.etcd.io/etcd/client/v3@v3.5.0/retry_interceptor.go:58
# 0x153161e google.golang.org/grpc.(*ClientConn).Invoke+0x21e /Users/angoldst/go/pkg/mod/google.golang.org/grpc@v1.38.0/call.go:35
# 0x1630a28 go.etcd.io/etcd/api/v3/etcdserverpb.(*clusterClient).MemberList+0xc8 /Users/angoldst/go/pkg/mod/go.etcd.io/etcd/api/v3@v3.5.0/etcdserverpb/rpc.pb.go:7101
# 0x191370f go.etcd.io/etcd/client/v3.(*retryClusterClient).MemberList+0x12f /Users/angoldst/go/pkg/mod/go.etcd.io/etcd/client/v3@v3.5.0/retry.go:167
# 0x1909723 go.etcd.io/etcd/client/v3.(*cluster).MemberList+0x63 /Users/angoldst/go/pkg/mod/go.etcd.io/etcd/client/v3@v3.5.0/cluster.go:127
# 0x2ebdc41 github.com/kcp-dev/kcp/pkg/server.(*Server).Run+0x921 /Users/angoldst/go/src/github.com/kcp-dev/kcp/pkg/server/server.go:153
# 0x2ec087e main.main.func1+0x21e /Users/angoldst/go/src/github.com/kcp-dev/kcp/cmd/kcp/kcp.go:55
# 0x11a28ed github.com/spf13/cobra.(*Command).execute+0x60d /Users/angoldst/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:852
# 0x11a2f4c github.com/spf13/cobra.(*Command).ExecuteC+0x3ac /Users/angoldst/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960
# 0x2ec05ee github.com/spf13/cobra.(*Command).Execute+0x16e /Users/angoldst/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
# 0x2ec05ef main.main+0x16f /Users/angoldst/go/src/github.com/kcp-dev/kcp/cmd/kcp/kcp.go:60
# 0x1039486 runtime.main+0x226 /usr/local/Cellar/go/1.17.2/libexec/src/runtime/proc.go:255
1 @ 0x1064645 0x18bc515 0x18bc32d 0x18b94ab 0x18c821a 0x18c8dce 0x133384f 0x1335149 0x1336dbb 0x1332928 0x106a9c1
# 0x1064644 runtime/pprof.runtime_goroutineProfileWithLabels+0x24 /usr/local/Cellar/go/1.17.2/libexec/src/runtime/mprof.go:746
# 0x18bc514 runtime/pprof.writeRuntimeProfile+0xb4 /usr/local/Cellar/go/1.17.2/libexec/src/runtime/pprof/pprof.go:724
# 0x18bc32c runtime/pprof.writeGoroutine+0x4c /usr/local/Cellar/go/1.17.2/libexec/src/runtime/pprof/pprof.go:684
# 0x18b94aa runtime/pprof.(*Profile).WriteTo+0x14a /usr/local/Cellar/go/1.17.2/libexec/src/runtime/pprof/pprof.go:331
# 0x18c8219 net/http/pprof.handler.ServeHTTP+0x499 /usr/local/Cellar/go/1.17.2/libexec/src/net/http/pprof/pprof.go:253
# 0x18c8dcd net/http/pprof.Index+0x12d /usr/local/Cellar/go/1.17.2/libexec/src/net/http/pprof/pprof.go:371
# 0x133384e net/http.HandlerFunc.ServeHTTP+0x2e /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:2046
# 0x1335148 net/http.(*ServeMux).ServeHTTP+0x148 /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:2424
# 0x1336dba net/http.serverHandler.ServeHTTP+0x43a /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:2878
# 0x1332927 net/http.(*conn).serve+0xb07 /usr/local/Cellar/go/1.17.2/libexec/src/net/http/server.go:1929
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment