thor icon indicating copy to clipboard operation
thor copied to clipboard

How to reduce CPU load

Open smithy9901 opened this issue 4 years ago • 3 comments

Hi. How to reduce CPU load for thor?

/opt/vechain/bin/thor --network main --data-dir /opt/vechain/data --api-addr 0.0.0.0:8669 --verbosity 9 --max-peers 50 --cache 4096

/opt/vechain/bin/thor --version Thor version 1.3.3-419e32e-release

2020-11-03 в 00 05 57

smithy9901 avatar Nov 02 '20 21:11 smithy9901

First we should know what causes the high CPU load. Is the node still synchronizing? Are there many http requests to this node?

qianbin avatar Nov 03 '20 02:11 qianbin

Node is fully synchronized Request ~25/sec The long request looks like this /logs/event

smithy9901 avatar Nov 03 '20 09:11 smithy9901

Node is fully synchronized Request ~25/sec The long request looks like this /logs/event

'/logs/event' is indeed a a time-costly operation. what are the parameters? need that to see if it can be optimized.

qianbin avatar Nov 03 '20 14:11 qianbin