오늘 갑자기 동기화가 느려지는 현상이 일어 납니다.
엄청 느리게 동기화가 진행 되는데 로그사에서는
IO 속도나, 인터넷 회선 문제, CPU, 메모리 상황은 정상인데, 왜이렇게 느린지 이유를 모르겠습니다.
오늘 갑자기 동기화가 느려지는 현상이 일어 납니다.
엄청 느리게 동기화가 진행 되는데 로그사에서는
IO 속도나, 인터넷 회선 문제, CPU, 메모리 상황은 정상인데, 왜이렇게 느린지 이유를 모르겠습니다.
안녕하세요.
The posting guideline of Klaytn 가이드 글을 확인 부탁드리고 상세한 리포팅 부탁드립니다
저희가 최대한 질문자분의 이슈를 원활히 파악할 수 있게 도와주세요.
INFO[01/20,10:06:00 Z] [5] Inserted a new block number=80805702 hash=50bd4c…ebc630 txs=44 gas=5397468 elapsed=3.797s processTxs=3.790s finalize=2.409ms validateState=307.492µs totalWrite=3.382612ms trieWrite=3.102041ms
INFO[01/20,10:06:00 Z] [5] Imported new chain segment number=80805702 hash=50bd4c…ebc630 blocks=15 txs=257 elapsed=12.418s trieDBSize=27.41mB mgas=27.902 mgasps=2.247 age=8h7m45s
INFO[01/20,10:06:00 Z] [5] Inserted a new block number=80805703 hash=ce1de0…01cbe4 txs=15 gas=2960896 elapsed=422.127ms processTxs=416.498ms finalize=1.536ms validateState=345.327µs totalWrite=2.091625ms trieWrite=1.916988ms
INFO[01/20,10:06:02 Z] [5] Inserted a new block number=80805704 hash=747286…50b301 txs=19 gas=1889503 elapsed=1.490s processTxs=1.484s finalize=1.337ms validateState=109.261µs totalWrite=3.40156ms trieWrite=3.110671ms
INFO[01/20,10:06:02 Z] [5] Inserted a new block number=80805705 hash=6088ac…17c334 txs=19 gas=6766959 elapsed=447.525ms processTxs=434.988ms finalize=4.740ms validateState=1.539ms totalWrite=4.928801ms trieWrite=4.457963ms
안녕하세요. 위에 로그는 운영하는 EN Node에서 나오는 동기화 로그를 캡처 한것 입니다.
오늘 갑자기 동기화가 밀리는 현상이 발생 하였는데요.
klay.syncing
{
currentBlock: 80805768,
highestBlock: 80833685,
knownStates: 0,
pulledStates: 0,
startingBlock: 80801408
}
현재 3만 블럭이 밀려 있는 상태입니다.
서버 리부팅후에는 조금 나아 지긴 했는데 여전히 느린 느낌은 듭니다.
{
listening: true,
networkID: 8217,
peerCount: 7,
version: “8217”,
getListening: function(callback),
getNetworkID: function(callback),
getPeerCount: function(callback),
getVersion: function(callback),
peerCountByType: function()
}
NAME:
ken - The command line interface for Klaytn Endpoint Node
USAGE:
ken [options] command [command options] [arguments…]
VERSION:
v1.7.3-acae8935
// 추가 로그
INFO[01/20,10:28:08 Z] [5] Inserted a new block number=80806940 hash=5b527b…f089d1 txs=2190 gas=82321062 elapsed=9.982s processTxs=9.910s finalize=15.065ms validateState=2.765ms totalWrite=35.545263ms trieWrite=29.431157ms
ERROR[01/20,10:28:13 Z] [46] Unexpected error while reading cached trie node err=“read /home/ubuntu/kend_home/klay/chaindata/statetrie_migrated_76691626/0/1909951.ldb: input/output error”
INFO[01/20,10:28:16 Z] [5] Inserted a new block number=80806941 hash=e184f9…570a3f txs=1813 gas=70792079 elapsed=8.194s processTxs=8.139s finalize=12.490ms validateState=2.019ms totalWrite=26.152134ms trieWrite=20.683705ms
INFO[01/20,10:28:16 Z] [5] Imported new chain segment number=80806941 hash=e184f9…570a3f blocks=2 txs=4003 elapsed=18.176s trieDBSize=59.94mB mgas=153.113 mgasps=8.424 age=8h9m18s
INFO[01/20,10:28:27 Z] [5] Inserted a new block number=80806942 hash=627844…4b98f1 txs=2080 gas=75001390 elapsed=11.283s processTxs=11.222s finalize=14.128ms validateState=2.282ms totalWrite=29.06511ms trieWrite=23.455884ms
INFO[01/20,10:28:27 Z] [5] Imported new chain segment number=80806942 hash=627844…4b98f1 blocks=1 txs=2080 elapsed=11.283s trieDBSize=63.88mB mgas=75.001 mgasps=6.647 age=8h9m28s
INFO[01/20,10:28:34 Z] [5] Inserted a new block number=80806943 hash=6f0282…85917a txs=1769 gas=63831960 elapsed=6.649s processTxs=6.604s finalize=12.086ms validateState=2.070ms totalWrite=23.959362ms trieWrite=18.99149ms
INFO[01/20,10:28:45 Z] [5] Inserted a new block number=80806944 hash=5a87d6…f72c27 txs=2317 gas=81479413 elapsed=11.482s processTxs=11.424s finalize=15.383ms validateState=2.626ms totalWrite=33.085423ms trieWrite=26.677308ms
INFO[01/20,10:28:45 Z] [5] Imported new chain segment number=80806944 hash=5a87d6…f72c27 blocks=2 txs=4086 elapsed=18.132s trieDBSize=71.62mB mgas=145.311 mgasps=8.014 age=8h9m44s
ERROR[01/20,10:28:53 Z] [46] Unexpected error while reading cached trie node err=“read /home/ubuntu/kend_home/klay/chaindata/statetrie_migrated_76691626/2/1910610.ldb: input/output error”
ERROR[01/20,10:28:53 Z] [46] Unexpected error while reading cached trie node err=“read /home/ubuntu/kend_home/klay/chaindata/statetrie_migrated_76691626/2/1905118.ldb: input/output error”
ERROR[01/20,10:28:54 Z] [46] Unexpected error while reading cached trie node err=“read /home/ubuntu/kend_home/klay/chaindata/statetrie_migrated_76691626/3/2035468.ldb: input/output error”