Hi
I am using "MultiChain 1.0 Daemon (protocol 10008)".
I am running a multichain node on two servers that are identical in hardware and setup.
On one server, multichaind consumes 4-10% of the CPU constantly. On the other it consumes 0.5-1% of CPU constantly.
I enabled "-debug" on the server where multichaind consumes 4-10%. However, the debug log just contains an endless repetition of this:
2019-01-23 08:26:34 received: pong (8 bytes) peer=1
2019-01-23 08:26:35 mcnet: received header: ping
2019-01-23 08:26:35 mcnet: complete message: ping, peer=1
2019-01-23 08:26:35 mchn: RECV: ping, peer=1
2019-01-23 08:26:35 received: ping (8 bytes) peer=1
2019-01-23 08:26:35 sending: pong mchn: SEND: pong
2019-01-23 08:26:35 (8 bytes) peer=1
2019-01-23 08:26:44 sending: ping mchn: SEND: ping
2019-01-23 08:26:44 (8 bytes) peer=1
2019-01-23 08:26:44 mcnet: received header: pong
2019-01-23 08:26:44 mcnet: complete message: pong, peer=1
2019-01-23 08:26:45 mchn: RECV: pong, peer=1
2019-01-23 08:26:45 received: pong (8 bytes) peer=1
2019-01-23 08:26:45 mcnet: received header: ping
2019-01-23 08:26:45 mcnet: complete message: ping, peer=1
2019-01-23 08:26:45 mchn: RECV: ping, peer=1
2019-01-23 08:26:45 received: ping (8 bytes) peer=1
2019-01-23 08:26:45 sending: pong mchn: SEND: pong
2019-01-23 08:26:45 (8 bytes) peer=1
2019-01-23 08:26:54 sending: ping mchn: SEND: ping
2019-01-23 08:26:54 (8 bytes) peer=1
2019-01-23 08:26:54 mcnet: received header: pong
2019-01-23 08:26:54 mcnet: complete message: pong, peer=1
2019-01-23 08:26:55 mchn: RECV: pong, peer=1
2019-01-23 08:26:55 received: pong (8 bytes) peer=1
2019-01-23 08:26:55 mcnet: received header: ping
2019-01-23 08:26:55 mcnet: complete message: ping, peer=1
There is basically zero application activity on the server (e.g. the blockchain is not really used for anything).
So, what are those 4-10% of CPU doing?
Top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11356 multich+ 20 0 701196 40120 11768 S 6.7 2.0 0:47.55 multichaind