Skip to content

Instantly share code, notes, and snippets.

@sigrlami
Last active August 9, 2020 11:11
Show Gist options
  • Save sigrlami/3e4bb20b40957183274df465c3fdf969 to your computer and use it in GitHub Desktop.
Save sigrlami/3e4bb20b40957183274df465c3fdf969 to your computer and use it in GitHub Desktop.
PegNet NetCoordinator Memory Leak
DEBU[2390] sent tag evt=tag
WARN[2390] unrecognized message cmd=0 evt="??" func="MiningClient.Listen()"
WARN[2390] unrecognized message evt="??" fields.msg="{0 <nil> }" func="MiningClient.Listen()"
pegnet_coordinator | fatal error: runtime: out of memory
pegnet_coordinator |
pegnet_coordinator | runtime stack:
pegnet_coordinator | runtime.throw(0xa494ef, 0x16)
pegnet_coordinator | /usr/local/go/src/runtime/panic.go:617 +0x72
pegnet_coordinator | runtime.sysMap(0xc184000000, 0x4000000, 0xf40318)
pegnet_coordinator | /usr/local/go/src/runtime/mem_linux.go:170 +0xc7
pegnet_coordinator | runtime.(*mheap).sysAlloc(0xf27e40, 0xe0000, 0xf27e50, 0x70)
pegnet_coordinator | /usr/local/go/src/runtime/malloc.go:633 +0x1cd
pegnet_coordinator | runtime.(*mheap).grow(0xf27e40, 0x70, 0x0)
pegnet_coordinator | /usr/local/go/src/runtime/mheap.go:1222 +0x42
pegnet_coordinator | runtime.(*mheap).allocSpanLocked(0xf27e40, 0x70, 0xf40328, 0xf27e48)
pegnet_coordinator | /usr/local/go/src/runtime/mheap.go:1150 +0x37f
pegnet_coordinator | runtime.(*mheap).alloc_m(0xf27e40, 0x70, 0x7fc502430100, 0x7fc50243cee0)
pegnet_coordinator | /usr/local/go/src/runtime/mheap.go:977 +0xc2
pegnet_coordinator | runtime.(*mheap).alloc.func1()
pegnet_coordinator | /usr/local/go/src/runtime/mheap.go:1048 +0x4c
pegnet_coordinator | runtime.(*mheap).alloc(0xf27e40, 0x70, 0x7fc502010100, 0x7fc50243ce50)
pegnet_coordinator | /usr/local/go/src/runtime/mheap.go:1047 +0x8a
pegnet_coordinator | runtime.largeAlloc(0xdeb40, 0x1, 0x7fc50243ce50)
pegnet_coordinator | /usr/local/go/src/runtime/malloc.go:1055 +0x99
pegnet_coordinator | runtime.mallocgc.func1()
pegnet_coordinator | /usr/local/go/src/runtime/malloc.go:950 +0x46
pegnet_coordinator | runtime.systemstack(0xc000070180)
pegnet_coordinator | /usr/local/go/src/runtime/asm_amd64.s:351 +0x66
pegnet_coordinator | runtime.mstart()
pegnet_coordinator | /usr/local/go/src/runtime/proc.go:1153
pegnet_coordinator |
pegnet_coordinator | goroutine 55 [running]:
pegnet_coordinator | runtime.systemstack_switch()
pegnet_coordinator | /usr/local/go/src/runtime/asm_amd64.s:311 fp=0xc0002731e0 sp=0xc0002731d8 pc=0x45c0c0
pegnet_coordinator | runtime.mallocgc(0xdeb40, 0x9c5180, 0x1, 0xc0000f1c28)
pegnet_coordinator | /usr/local/go/src/runtime/malloc.go:949 +0x872 fp=0xc000273280 sp=0xc0002731e0 pc=0x40dd92
pegnet_coordinator | runtime.makeslice(0x9c5180, 0x9478, 0x9478, 0x4a817c801)
pegnet_coordinator | /usr/local/go/src/runtime/slice.go:49 +0x6c fp=0xc0002732b0 sp=0xc000273280 pc=0x44545c
pegnet_coordinator | github.com/pegnet/pegnet/opr.(*EntryBlockSync).BlockParsed(...)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/opr/entryblocksync.go:90
pegnet_coordinator | github.com/pegnet/pegnet/opr.(*QuickGrader).Sync(0xc0000ae000, 0xc000022060, 0xc000239700)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/opr/grader.go:294 +0x944 fp=0xc0002736a0 sp=0xc0002732b0 pc=0x8ad354
pegnet_coordinator | github.com/pegnet/pegnet/opr.(*QuickGrader).Run(0xc0000ae000, 0xc0000b69b0, 0xb1f3c0, 0xc000248040)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/opr/grader.go:140 +0x181 fp=0xc000273fc0 sp=0xc0002736a0 pc=0x8abe11
pegnet_coordinator | runtime.goexit()
pegnet_coordinator | /usr/local/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc000273fc8 sp=0xc000273fc0 pc=0x45e191
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.LaunchGrader
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/services.go:39 +0x1bb
pegnet_coordinator |
pegnet_coordinator | goroutine 1 [select]:
pegnet_coordinator | github.com/pegnet/pegnet/networkMiner.(*MiningServer).ForwardMonitorEvents(0xc00018c000)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/server.go:153 +0x24d
pegnet_coordinator | github.com/pegnet/pegnet/cmd.glob..func8(0xf17520, 0xf3e780, 0x0, 0x0)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/cmd.go:407 +0x234
pegnet_coordinator | github.com/spf13/cobra.(*Command).execute(0xf17520, 0xf3e780, 0x0, 0x0, 0xf17520, 0xf3e780)
pegnet_coordinator | /go/pkg/mod/github.com/spf13/[email protected]/command.go:830 +0x2ae
pegnet_coordinator | github.com/spf13/cobra.(*Command).ExecuteC(0xf18920, 0xc000166900, 0xc000166900, 0xa6c910)
pegnet_coordinator | /go/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fc
pegnet_coordinator | github.com/spf13/cobra.(*Command).Execute(...)
pegnet_coordinator | /go/pkg/mod/github.com/spf13/[email protected]/command.go:864
pegnet_coordinator | github.com/pegnet/pegnet/cmd.Execute()
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/root.go:103 +0x32
pegnet_coordinator | main.main()
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/pegnet.go:8 +0x20
pegnet_coordinator |
pegnet_coordinator | goroutine 51 [select]:
pegnet_coordinator | github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc000233a00)
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_state.go:101 +0xf6
pegnet_coordinator | created by github.com/syndtr/goleveldb/leveldb.openDB
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db.go:143 +0x431
pegnet_coordinator |
pegnet_coordinator | goroutine 4 [syscall, 2 minutes]:
pegnet_coordinator | os/signal.signal_recv(0x0)
pegnet_coordinator | /usr/local/go/src/runtime/sigqueue.go:139 +0x9c
pegnet_coordinator | os/signal.loop()
pegnet_coordinator | /usr/local/go/src/os/signal/signal_unix.go:23 +0x22
pegnet_coordinator | created by os/signal.init.0
pegnet_coordinator | /usr/local/go/src/os/signal/signal_unix.go:29 +0x41
pegnet_coordinator |
pegnet_coordinator | goroutine 39 [select]:
pegnet_coordinator | net/http.(*persistConn).writeLoop(0xc00018e360)
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1979 +0x113
pegnet_coordinator | created by net/http.(*Transport).dialConn
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1361 +0xb1d
pegnet_coordinator |
pegnet_coordinator | goroutine 23 [chan receive, 2 minutes]:
pegnet_coordinator | github.com/pegnet/pegnet/cmd.rootPreRunSetup.func2(0xc000095020)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/root.go:232 +0x38
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.rootPreRunSetup
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/root.go:231 +0x6ac
pegnet_coordinator |
pegnet_coordinator | goroutine 24 [sleep]:
pegnet_coordinator | runtime.goparkunlock(...)
pegnet_coordinator | /usr/local/go/src/runtime/proc.go:307
pegnet_coordinator | time.Sleep(0x3b9aca00)
pegnet_coordinator | /usr/local/go/src/runtime/time.go:105 +0x159
pegnet_coordinator | github.com/pegnet/pegnet/common.(*Monitor).waitForNextMinute(0xc0000b69b0, 0x3ed30, 0x3ed31, 0x3, 0x1629940c85882c29, 0x162994366a85f835, 0x1629943689f236c1, 0x258, 0x0, 0x78, ...)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/common/monitor.go:118 +0x52
pegnet_coordinator | github.com/pegnet/pegnet/common.(*Monitor).poll(0xc0000b69b0)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/common/monitor.go:154 +0x85
pegnet_coordinator | created by github.com/pegnet/pegnet/common.GetMonitor.func1
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/common/monitor.go:23 +0xce
pegnet_coordinator |
pegnet_coordinator | goroutine 25 [chan receive, 2 minutes]:
pegnet_coordinator | github.com/pegnet/pegnet/cmd.LaunchFactomMonitor.func1(0xc0000b69b0)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/services.go:27 +0x4f
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.LaunchFactomMonitor
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/services.go:25 +0x5a
pegnet_coordinator |
pegnet_coordinator | goroutine 38 [IO wait]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19bdd8, 0x72, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc00017e998, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Read(0xc00017e980, 0xc00029e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
pegnet_coordinator | net.(*netFD).Read(0xc00017e980, 0xc00029e000, 0x1000, 0x1000, 0x1, 0x430fcc, 0xc00004eb88)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:202 +0x4f
pegnet_coordinator | net.(*conn).Read(0xc0001c6038, 0xc00029e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/net.go:177 +0x69
pegnet_coordinator | net/http.(*persistConn).Read(0xc00018e360, 0xc00029e000, 0x1000, 0x1000, 0xc00004ec88, 0x406a05, 0xc000022a20)
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1527 +0x7b
pegnet_coordinator | bufio.(*Reader).fill(0xc0001b8660)
pegnet_coordinator | /usr/local/go/src/bufio/bufio.go:100 +0x10f
pegnet_coordinator | bufio.(*Reader).Peek(0xc0001b8660, 0x1, 0x0, 0x0, 0x1, 0xc08e9e8d00, 0x0)
pegnet_coordinator | /usr/local/go/src/bufio/bufio.go:138 +0x4f
pegnet_coordinator | net/http.(*persistConn).readLoop(0xc00018e360)
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1680 +0x1a3
pegnet_coordinator | created by net/http.(*Transport).dialConn
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1360 +0xaf8
pegnet_coordinator |
pegnet_coordinator | goroutine 86 [IO wait, 2 minutes]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19ba98, 0x72, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc046761d18, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Read(0xc046761d00, 0xc046e80000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
pegnet_coordinator | net.(*netFD).Read(0xc046761d00, 0xc046e80000, 0x1000, 0x1000, 0x18, 0xc000c0ddb0, 0x7f00e5)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:202 +0x4f
pegnet_coordinator | net.(*conn).Read(0xc0004157a8, 0xc046e80000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/net.go:177 +0x69
pegnet_coordinator | bufio.(*Reader).Read(0xc046aecde0, 0xc046e212c0, 0x1, 0x9, 0xc046e02c80, 0x3, 0xc000028070)
pegnet_coordinator | /usr/local/go/src/bufio/bufio.go:223 +0x23e
pegnet_coordinator | io.ReadAtLeast(0xb12c60, 0xc046aecde0, 0xc046e212c0, 0x1, 0x9, 0x1, 0x0, 0x0, 0x8)
pegnet_coordinator | /usr/local/go/src/io/io.go:310 +0x88
pegnet_coordinator | io.ReadFull(...)
pegnet_coordinator | /usr/local/go/src/io/io.go:329
pegnet_coordinator | encoding/gob.decodeUintReader(0xb12c60, 0xc046aecde0, 0xc046e212c0, 0x9, 0x9, 0x42e7d1, 0xa6d810, 0xc000277ee0, 0x42df2f)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decode.go:120 +0x70
pegnet_coordinator | encoding/gob.(*Decoder).recvMessage(0xc046761e00, 0xc000277ef8)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:81 +0x57
pegnet_coordinator | encoding/gob.(*Decoder).decodeTypeSequence(0xc046761e00, 0xa6d800, 0xc046761e00)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:143 +0x12c
pegnet_coordinator | encoding/gob.(*Decoder).DecodeValue(0xc046761e00, 0x94cec0, 0xc046e63b90, 0x16, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:211 +0xf6
pegnet_coordinator | encoding/gob.(*Decoder).Decode(0xc046761e00, 0x94cec0, 0xc046e63b90, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:188 +0x191
pegnet_coordinator | github.com/pegnet/pegnet/networkMiner.(*TCPClient).listen(0xc046ad4aa0)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/tcpServer.go:76 +0x96
pegnet_coordinator | created by github.com/pegnet/pegnet/networkMiner.(*TCPServer).Listen
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/tcpServer.go:155 +0x255
pegnet_coordinator |
pegnet_coordinator | goroutine 50 [select]:
pegnet_coordinator | github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000233a00)
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:90 +0xcd
pegnet_coordinator | created by github.com/syndtr/goleveldb/leveldb.openDB
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db.go:142 +0x40f
pegnet_coordinator |
pegnet_coordinator | goroutine 26 [select]:
pegnet_coordinator | github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc000298000)
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/util/buffer_pool.go:206 +0x121
pegnet_coordinator | created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/util/buffer_pool.go:237 +0x176
pegnet_coordinator |
pegnet_coordinator | goroutine 52 [select]:
pegnet_coordinator | github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc000233a00)
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:825 +0x23a
pegnet_coordinator | created by github.com/syndtr/goleveldb/leveldb.openDB
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db.go:149 +0x585
pegnet_coordinator |
pegnet_coordinator | goroutine 53 [select]:
pegnet_coordinator | github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc000233a00)
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:762 +0x12e
pegnet_coordinator | created by github.com/syndtr/goleveldb/leveldb.openDB
pegnet_coordinator | /go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db.go:150 +0x5a7
pegnet_coordinator |
pegnet_coordinator | goroutine 56 [select, 2 minutes]:
pegnet_coordinator | github.com/pegnet/pegnet/mining.(*GlobalStatTracker).Collect(0xc000063b40, 0xb1f3c0, 0xc000248040)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/mining/stats.go:80 +0xe6
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.LaunchStatistics
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/services.go:85 +0xb8
pegnet_coordinator |
pegnet_coordinator | goroutine 57 [IO wait, 2 minutes]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19bd08, 0x72, 0x0)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc00017e418, 0x72, 0x0, 0x0, 0xa3f339)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Accept(0xc00017e400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1ba
pegnet_coordinator | net.(*netFD).accept(0xc00017e400, 0x9f64a0, 0x50, 0xc0000b6a50)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:238 +0x42
pegnet_coordinator | net.(*TCPListener).accept(0xc0000101b0, 0xc0001a0700, 0x7fc54fc8fd98, 0x0)
pegnet_coordinator | /usr/local/go/src/net/tcpsock_posix.go:139 +0x32
pegnet_coordinator | net.(*TCPListener).AcceptTCP(0xc0000101b0, 0x40e098, 0x30, 0x9f64a0)
pegnet_coordinator | /usr/local/go/src/net/tcpsock.go:247 +0x48
pegnet_coordinator | net/http.tcpKeepAliveListener.Accept(0xc0000101b0, 0x9f64a0, 0xc00017a750, 0x993d80, 0xf0d450)
pegnet_coordinator | /usr/local/go/src/net/http/server.go:3264 +0x2f
pegnet_coordinator | net/http.(*Server).Serve(0xc000092c30, 0xb1e040, 0xc0000101b0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/http/server.go:2859 +0x22d
pegnet_coordinator | net/http.(*Server).ListenAndServe(0xc000092c30, 0x3, 0xc0007f3fb0)
pegnet_coordinator | /usr/local/go/src/net/http/server.go:2797 +0xe4
pegnet_coordinator | github.com/pegnet/pegnet/api.(*APIServer).Listen(0xc000174ed0, 0x1fa3)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/api/server.go:53 +0x12d
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.LaunchAPI
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/services.go:98 +0x167
pegnet_coordinator |
pegnet_coordinator | goroutine 58 [select, 2 minutes]:
pegnet_coordinator | github.com/alexandrevicenzi/go-sse.(*Server).dispatch(0xc0000b67d0)
pegnet_coordinator | /go/pkg/mod/github.com/alexandrevicenzi/[email protected]/sse.go:219 +0x182
pegnet_coordinator | created by github.com/alexandrevicenzi/go-sse.NewServer
pegnet_coordinator | /go/pkg/mod/github.com/alexandrevicenzi/[email protected]/sse.go:45 +0x14f
pegnet_coordinator |
pegnet_coordinator | goroutine 59 [IO wait, 2 minutes]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19bc38, 0x72, 0x0)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc000366018, 0x72, 0x0, 0x0, 0xa3f339)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Accept(0xc000366000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1ba
pegnet_coordinator | net.(*netFD).accept(0xc000366000, 0x9f64a0, 0x50, 0xc0001c4320)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:238 +0x42
pegnet_coordinator | net.(*TCPListener).accept(0xc00009c030, 0xc00016d180, 0x7fc54fc90460, 0x0)
pegnet_coordinator | /usr/local/go/src/net/tcpsock_posix.go:139 +0x32
pegnet_coordinator | net.(*TCPListener).AcceptTCP(0xc00009c030, 0x40e098, 0x30, 0x9f64a0)
pegnet_coordinator | /usr/local/go/src/net/tcpsock.go:247 +0x48
pegnet_coordinator | net/http.tcpKeepAliveListener.Accept(0xc00009c030, 0x9f64a0, 0xc0001b6d20, 0x993d80, 0xf0d450)
pegnet_coordinator | /usr/local/go/src/net/http/server.go:3264 +0x2f
pegnet_coordinator | net/http.(*Server).Serve(0xc000093110, 0xb1e040, 0xc00009c030, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/http/server.go:2859 +0x22d
pegnet_coordinator | net/http.(*Server).ListenAndServe(0xc000093110, 0x3, 0xc0007efdf0)
pegnet_coordinator | /usr/local/go/src/net/http/server.go:2797 +0xe4
pegnet_coordinator | github.com/pegnet/pegnet/controlPanel.(*ControlPanel).Listen(0xc000063c00, 0x1f90)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/controlPanel/controlPanel.go:67 +0xb6
pegnet_coordinator | github.com/pegnet/pegnet/controlPanel.(*ControlPanel).ServeControlPanel(0xc000063c00)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/controlPanel/controlPanel.go:136 +0x29d
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.LaunchControlPanel
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/services.go:105 +0x7e
pegnet_coordinator |
pegnet_coordinator | goroutine 32 [IO wait]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19b8f8, 0x72, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc00015ea98, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Read(0xc00015ea80, 0xc000683000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
pegnet_coordinator | net.(*netFD).Read(0xc00015ea80, 0xc000683000, 0x1000, 0x1000, 0xc00004af28, 0x430fcc, 0xc00004ab88)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:202 +0x4f
pegnet_coordinator | net.(*conn).Read(0xc0001c62d8, 0xc000683000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/net.go:177 +0x69
pegnet_coordinator | net/http.(*persistConn).Read(0xc000160c60, 0xc000683000, 0x1000, 0x1000, 0xc00004ac88, 0x406a05, 0xc000023200)
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1527 +0x7b
pegnet_coordinator | bufio.(*Reader).fill(0xc0001b91a0)
pegnet_coordinator | /usr/local/go/src/bufio/bufio.go:100 +0x10f
pegnet_coordinator | bufio.(*Reader).Peek(0xc0001b91a0, 0x1, 0x0, 0x0, 0x1, 0xc15bfd5b00, 0x0)
pegnet_coordinator | /usr/local/go/src/bufio/bufio.go:138 +0x4f
pegnet_coordinator | net/http.(*persistConn).readLoop(0xc000160c60)
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1680 +0x1a3
pegnet_coordinator | created by net/http.(*Transport).dialConn
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1360 +0xaf8
pegnet_coordinator |
pegnet_coordinator | goroutine 42 [select]:
pegnet_coordinator | github.com/pegnet/pegnet/controlPanel.(*ControlPanel).ServeControlPanel.func1(0xc000063c00, 0xa3f110, 0x7, 0xc00007a300, 0xc000094000)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/controlPanel/controlPanel.go:114 +0x17d
pegnet_coordinator | created by github.com/pegnet/pegnet/controlPanel.(*ControlPanel).ServeControlPanel
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/controlPanel/controlPanel.go:96 +0x10c
pegnet_coordinator |
pegnet_coordinator | goroutine 29 [IO wait, 2 minutes]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19bb68, 0x72, 0x0)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc00015e198, 0x72, 0x0, 0x0, 0xa3f339)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Accept(0xc00015e180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1ba
pegnet_coordinator | net.(*netFD).accept(0xc00015e180, 0xc000239ea0, 0x7ff805, 0x9fe9c0)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:238 +0x42
pegnet_coordinator | net.(*TCPListener).accept(0xc0001c6150, 0xc000239ef0, 0xc000239ef8, 0x8)
pegnet_coordinator | /usr/local/go/src/net/tcpsock_posix.go:139 +0x32
pegnet_coordinator | net.(*TCPListener).Accept(0xc0001c6150, 0xa6c998, 0xc046ad4aa0, 0xc046ad4aa0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/tcpsock.go:260 +0x48
pegnet_coordinator | github.com/pegnet/pegnet/networkMiner.(*TCPServer).Listen(0xc00024aa50)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/tcpServer.go:149 +0x269
pegnet_coordinator | github.com/pegnet/pegnet/networkMiner.(*MiningServer).Listen(0xc00018c000)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/server.go:142 +0x2f
pegnet_coordinator | created by github.com/pegnet/pegnet/cmd.glob..func8
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/cmd/cmd.go:406 +0x226
pegnet_coordinator |
pegnet_coordinator | goroutine 85 [IO wait, 2 minutes]:
pegnet_coordinator | internal/poll.runtime_pollWait(0x7fc54c19b9c8, 0x72, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/runtime/netpoll.go:182 +0x56
pegnet_coordinator | internal/poll.(*pollDesc).wait(0xc046761818, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x9b
pegnet_coordinator | internal/poll.(*pollDesc).waitRead(...)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
pegnet_coordinator | internal/poll.(*FD).Read(0xc046761800, 0xc046c38000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/internal/poll/fd_unix.go:169 +0x19b
pegnet_coordinator | net.(*netFD).Read(0xc046761800, 0xc046c38000, 0x1000, 0x1000, 0x18, 0xc000801db0, 0x7f00e5)
pegnet_coordinator | /usr/local/go/src/net/fd_unix.go:202 +0x4f
pegnet_coordinator | net.(*conn).Read(0xc0004156c0, 0xc046c38000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/net/net.go:177 +0x69
pegnet_coordinator | bufio.(*Reader).Read(0xc046aec720, 0xc046c09070, 0x1, 0x9, 0xc046c3c1a0, 0x3, 0xc00002ef70)
pegnet_coordinator | /usr/local/go/src/bufio/bufio.go:223 +0x23e
pegnet_coordinator | io.ReadAtLeast(0xb12c60, 0xc046aec720, 0xc046c09070, 0x1, 0x9, 0x1, 0x0, 0x0, 0x8)
pegnet_coordinator | /usr/local/go/src/io/io.go:310 +0x88
pegnet_coordinator | io.ReadFull(...)
pegnet_coordinator | /usr/local/go/src/io/io.go:329
pegnet_coordinator | encoding/gob.decodeUintReader(0xb12c60, 0xc046aec720, 0xc046c09070, 0x9, 0x9, 0x42e7d1, 0xa6d810, 0xc000801ee0, 0x42df2f)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decode.go:120 +0x70
pegnet_coordinator | encoding/gob.(*Decoder).recvMessage(0xc046761900, 0xc000801ef8)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:81 +0x57
pegnet_coordinator | encoding/gob.(*Decoder).decodeTypeSequence(0xc046761900, 0xa6d800, 0xc046761900)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:143 +0x12c
pegnet_coordinator | encoding/gob.(*Decoder).DecodeValue(0xc046761900, 0x94cec0, 0xc0469a3e90, 0x16, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:211 +0xf6
pegnet_coordinator | encoding/gob.(*Decoder).Decode(0xc046761900, 0x94cec0, 0xc0469a3e90, 0x0, 0x0)
pegnet_coordinator | /usr/local/go/src/encoding/gob/decoder.go:188 +0x191
pegnet_coordinator | github.com/pegnet/pegnet/networkMiner.(*TCPClient).listen(0xc046ad45f0)
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/tcpServer.go:76 +0x96
pegnet_coordinator | created by github.com/pegnet/pegnet/networkMiner.(*TCPServer).Listen
pegnet_coordinator | /go/src/github.com/pegnet/pegnet/networkMiner/tcpServer.go:155 +0x255
pegnet_coordinator |
pegnet_coordinator | goroutine 33 [select]:
pegnet_coordinator | net/http.(*persistConn).writeLoop(0xc000160c60)
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1979 +0x113
pegnet_coordinator | created by net/http.(*Transport).dialConn
pegnet_coordinator | /usr/local/go/src/net/http/transport.go:1361 +0xb1d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment