Open lulei0215 opened 3 years ago
@lulei0215 thanks for the bug report. It looks like you're running a very old version of go-spacemesh. The current release is v0.1.32 (see https://github.com/spacemeshos/go-spacemesh/releases). Does this happen with the latest version?
2021-05-11T16:00:47.791+0800 INFO 00000.defaultLogger App version: v0.1.15. Git: HEAD - a0df2b8f87d05085182e7e2989d09901aca8dc3c . Go Version: go1.16.3. OS: linux-amd64 2021-05-11T16:00:47.791+0800 INFO 00000.defaultLogger initializing event reporter 2021-05-11T16:00:47.791+0800 INFO 00000.defaultLogger Welcome to Spacemesh. Spacemesh full node is starting... 2021-05-11T16:00:47.978+0800 INFO 00000.defaultLogger ntp check from server time-b-wwv.nist.gov, drift: -82.938463ms, start_check: 2021-05-11 08:00:47.793395585 +0000 UTC, latency: 547.405µs, rsp: 2021-05-11 08:00:47.876060346 +0000 UTC 2021-05-11T16:00:58.448+0800 INFO 00000.defaultLogger ntp check from server time-c-wwv.nist.gov, drift: -86.947485ms, start_check: 2021-05-11 08:00:58.237157088 +0000 UTC, latency: 4.279834ms, rsp: 2021-05-11 08:00:58.321964656 +0000 UTC 2021-05-11T16:00:58.614+0800 INFO 00000.defaultLogger ntp check from server time.asia.apple.com, drift: -27.343403ms, start_check: 2021-05-11 08:00:58.44931233 +0000 UTC, latency: 1.006092ms, rsp: 2021-05-11 08:00:58.476152687 +0000 UTC 2021-05-11T16:01:08.624+0800 INFO 00000.defaultLogger System clock synchronized with ntp. drift: -82.938463ms 2021-05-11T16:01:08.624+0800 INFO 00000.defaultLogger Starting Spacemesh {"data-dir": "sm_data/29", "post-dir": "./post_data"} 2021-05-11T16:01:08.624+0800 INFO 00000.defaultLogger Loaded identity from file ('sm_data/29/0f94f9832393bee8ba462d065044609c4b077ddada5b1691b1fa12717e4418f0/key.bin') 2021-05-11T16:01:08.680+0800 INFO 00000.defaultLogger Initializing P2P services 2021-05-11T16:01:08.681+0800 INFO clock starting global clock now=2021-05-11 16:01:08.680933898 +0800 CST m=+20.899793901 genesis=2021-05-04 20:45:48 +0530 +0530 2021-05-11T16:01:08.681+0800 INFO clock global clock going to sleep before next layer {"diff": "4m39.318913734s", "next_layer": 1930} 2021-05-11T16:01:08.681+0800 INFO 0f94f.p2p Local node identity >> HyPm6SGzPproBUNcninFgNeqamZmfMD1o6E8VaXPeYxw {"node_id": "0f94f9832393bee8ba462d065044609c4b077ddada5b1691b1fa12717e4418f0"} 2021-05-11T16:01:08.699+0800 INFO 00000.defaultLogger Saved p2p node information (sm_data/29/p2p/nodes/HyPm6SGzPproBUNcninFgNeqamZmfMD1o6E8VaXPeYxw/id.json), Identity - HyPm6SGzPproBUNcninFgNeqamZmfMD1o6E8VaXPeYxw 2021-05-11T16:01:08.709+0800 INFO 00000.defaultLogger Loaded 278 addresses from file 'sm_data/29/p2p/peers.json' 2021-05-11T16:01:08.709+0800 INFO 00000.defaultLogger not reporting status update as no one is listening 2021-05-11T16:01:08.710+0800 DEBUG 0f94f.p2p Created newSwarm with key HyPm6SGzPproBUNcninFgNeqamZmfMD1o6E8VaXPeYxw {"node_id": "0f94f9832393bee8ba462d065044609c4b077ddada5b1691b1fa12717e4418f0", "P2PID": "HyPm6SGzPproBUNcninFgNeqamZmfMD1o6E8VaXPeYxw"} 2021-05-11T16:01:08.710+0800 INFO 0f94f.stateDbStore Allocated cache and file handles {"node_id": "0f94f9832393bee8ba462d065044609c4b077ddada5b1691b1fa12717e4418f0", "cache_size": 16, "num_handles": 16} 2021-05-11T16:01:08.711+0800 ERROR 00000.defaultLogger cannot start services resource temporarily unavailable 2021-05-11T16:01:08.711+0800 INFO 00000.defaultLogger not reporting error as buffer is full: {cannot start services resource temporarily unavailable goroutine 1 [running]: runtime/debug.Stack(0xc00043d250, 0x48c5dc, 0xc0000db010) /snap/go/7360/src/runtime/debug/stack.go:24 +0x9f github.com/spacemeshos/go-spacemesh/cmd/node.(*SpacemeshApp).setupLogging.func1(0x2, 0xc01eac512a626797, 0x4df85b984, 0x1978ba0, 0xfafc02, 0x13, 0xc0002d0100, 0x36, 0x0, 0x0, ...) /home/ll/go/src/awesomeProject/go-spacemesh/cmd/node/node.go:292 +0x45