goroutine profile: total 16 1 @ 0x2d4e88 0x2d4ce0 0x2d1cb8 0x2d7ca4 0x2d7f0c 0x26f450 0x2703e8 0x271340 0x26e048 0x68e64 # 0x2d4e87 runtime/pprof.writeRuntimeProfile+0x77 /usr/local/go/src/runtime/pprof/pprof.go:632 # 0x2d4cdf runtime/pprof.writeGoroutine+0x73 /usr/local/go/src/runtime/pprof/pprof.go:594 # 0x2d1cb7 runtime/pprof.(*Profile).WriteTo+0x2af /usr/local/go/src/runtime/pprof/pprof.go:302 # 0x2d7ca3 net/http/pprof.handler.ServeHTTP+0x167 /usr/local/go/src/net/http/pprof/pprof.go:209 # 0x2d7f0b net/http/pprof.Index+0x17b /usr/local/go/src/net/http/pprof/pprof.go:221 # 0x26f44f net/http.HandlerFunc.ServeHTTP+0x33 /usr/local/go/src/net/http/server.go:1942 # 0x2703e7 net/http.(*ServeMux).ServeHTTP+0x107 /usr/local/go/src/net/http/server.go:2238 # 0x27133f net/http.serverHandler.ServeHTTP+0x7b /usr/local/go/src/net/http/server.go:2568 # 0x26e047 net/http.(*conn).serve+0x527 /usr/local/go/src/net/http/server.go:1825 1 @ 0x3f95c 0x3acf8 0x3a17c 0x1a5a68 0x1a5ab8 0x1a6f40 0x1b68e4 0x268c48 0x68e64 # 0x3a17b net.runtime_pollWait+0x43 /usr/local/go/src/runtime/netpoll.go:164 # 0x1a5a67 net.(*pollDesc).wait+0x27 /usr/local/go/src/net/fd_poll_runtime.go:75 # 0x1a5ab7 net.(*pollDesc).waitRead+0x23 /usr/local/go/src/net/fd_poll_runtime.go:80 # 0x1a6f3f net.(*netFD).Read+0x147 /usr/local/go/src/net/fd_unix.go:250 # 0x1b68e3 net.(*conn).Read+0x57 /usr/local/go/src/net/net.go:181 # 0x268c47 net/http.(*connReader).backgroundRead+0x43 /usr/local/go/src/net/http/server.go:656 1 @ 0x3f95c 0x3acf8 0x3a17c 0x1a5a68 0x1a5ab8 0x1a6f40 0x1b68e4 0x7bdb4 0x7bf10 0x2d97f8 0x2f06f0 0x68e64 # 0x3a17b net.runtime_pollWait+0x43 /usr/local/go/src/runtime/netpoll.go:164 # 0x1a5a67 net.(*pollDesc).wait+0x27 /usr/local/go/src/net/fd_poll_runtime.go:75 # 0x1a5ab7 net.(*pollDesc).waitRead+0x23 /usr/local/go/src/net/fd_poll_runtime.go:80 # 0x1a6f3f net.(*netFD).Read+0x147 /usr/local/go/src/net/fd_unix.go:250 # 0x1b68e3 net.(*conn).Read+0x57 /usr/local/go/src/net/net.go:181 # 0x7bdb3 io.ReadAtLeast+0x8b /usr/local/go/src/io/io.go:307 # 0x7bf0f io.ReadFull+0x3f /usr/local/go/src/io/io.go:325 # 0x2d97f7 github.com/eclipse/paho.mqtt.golang/packets.ReadPacket+0x67 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/packets/packets.go:105 # 0x2f06ef github.com/eclipse/paho%2emqtt%2egolang.incoming+0x14b /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:113 1 @ 0x3f95c 0x3acf8 0x3a17c 0x1a5a68 0x1a5ab8 0x1a81d8 0x1c0004 0x1be62c 0x272654 0x2716e0 0x271460 0x2a01c4 0x68e64 # 0x3a17b net.runtime_pollWait+0x43 /usr/local/go/src/runtime/netpoll.go:164 # 0x1a5a67 net.(*pollDesc).wait+0x27 /usr/local/go/src/net/fd_poll_runtime.go:75 # 0x1a5ab7 net.(*pollDesc).waitRead+0x23 /usr/local/go/src/net/fd_poll_runtime.go:80 # 0x1a81d7 net.(*netFD).accept+0x15b /usr/local/go/src/net/fd_unix.go:430 # 0x1c0003 net.(*TCPListener).accept+0x1f /usr/local/go/src/net/tcpsock_posix.go:136 # 0x1be62b net.(*TCPListener).AcceptTCP+0x3b /usr/local/go/src/net/tcpsock.go:215 # 0x272653 net/http.tcpKeepAliveListener.Accept+0x1b /usr/local/go/src/net/http/server.go:3044 # 0x2716df net/http.(*Server).Serve+0x1ab /usr/local/go/src/net/http/server.go:2643 # 0x27145f net/http.(*Server).ListenAndServe+0x8f /usr/local/go/src/net/http/server.go:2585 # 0x2a01c3 sonda/src.(*WebServer).Init+0x293 /home/pi/go/src/sonda/src/ws.go:37 1 @ 0x3f95c 0x3fa24 0x17b78 0x177dc 0x2fecb8 0x68e64 # 0x2fecb7 main.printResultsThread.func1+0x37 /home/pi/go/src/sonda/sonda.go:144 1 @ 0x3f95c 0x3fa24 0x17b78 0x177dc 0x2fed28 0x68e64 # 0x2fed27 main.printResultsThread.func2+0x37 /home/pi/go/src/sonda/sonda.go:154 1 @ 0x3f95c 0x3fa24 0x17b78 0x17808 0x2a0334 0x68e64 # 0x2a0333 sonda/src.(*WebServer).initWebSocket+0x43 /home/pi/go/src/sonda/src/ws.go:42 1 @ 0x3f95c 0x3fa24 0x17b78 0x17808 0x2fdca0 0x3f514 0x68e64 # 0x2fdc9f main.main+0x2d7 /home/pi/go/src/sonda/sonda.go:92 # 0x3f513 runtime.main+0x1e3 /usr/local/go/src/runtime/proc.go:185 1 @ 0x3f95c 0x3fa24 0x17b78 0x17808 0xee154 0x68e64 # 0xee153 github.com/golang/glog.(*loggingT).flushDaemon+0x63 /home/pi/go/src/github.com/golang/glog/glog.go:882 1 @ 0x3f95c 0x4ee38 0x4dc70 0x2f1ca0 0x68e64 # 0x2f1c9f github.com/eclipse/paho%2emqtt%2egolang.outgoing+0xee3 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:152 1 @ 0x3f95c 0x4ee38 0x4dc70 0x2f3dcc 0x68e64 # 0x2f3dcb github.com/eclipse/paho%2emqtt%2egolang.alllogic+0x1f57 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:215 1 @ 0x3f95c 0x4ee38 0x4dc70 0x2f4298 0x68e64 # 0x2f4297 github.com/eclipse/paho%2emqtt%2egolang.errorWatch+0x33f /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/net.go:321 1 @ 0x3f95c 0x4ee38 0x4dc70 0x2f61cc 0x68e64 # 0x2f61cb github.com/eclipse/paho%2emqtt%2egolang.keepalive+0xb33 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/ping.go:41 1 @ 0x3f95c 0x4ee38 0x4dc70 0x2fbac4 0x68e64 # 0x2fbac3 github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch.func1+0x5b7 /home/pi/go/src/github.com/eclipse/paho.mqtt.golang/router.go:139 1 @ 0x68e64 1 @ 0x87a74 0x83f80 0x10085c 0x68e64 # 0x87a73 syscall.Syscall6+0x7 /usr/local/go/src/syscall/asm_linux_arm.s:48 # 0x83f7f syscall.EpollWait+0x4f /usr/local/go/src/syscall/zsyscall_linux_arm.go:365 # 0x10085b github.com/kidoman/embd/host/generic.initEpollListener.func1+0x5f /home/pi/go/src/github.com/kidoman/embd/host/generic/interrupt.go:60