cryptape / ckb-py-integration-test

0 stars 4 forks source link

ckb async 稳定性测试 #46

Closed gpBlockchain closed 3 months ago

gpBlockchain commented 4 months ago

测试时常: 2024-04-12 07:28:57 to 2024-04-24 16:18:04

测试场景 压测保持内存池一直稳定在10w笔交易,3个节点轮流出块,平均8s一个块

时间节点

https://grafana-monitor.nervos.tech/d/pThsj6xVz/test?orgId=1&var-url=18.166.86.54:8100&from=1712878137803&to=1713946684480

节点1

节点1 交易池稳定在10w左右, 内存平均在1.5g以下

image image image

节点2

节点2 交易池升至50w, 期间,内存出现飙升,飙升原因是磁盘满了,清理磁盘空间后,重启恢复正常,内存稳定在2.5g


ckb@test-04:~/gp/sync/node2/data$ head err.log 
2024-04-13 01:01:16.973 +00:00 GlobalRt-8 ERROR ckb_tx_pool::process  Failed to record recent_reject Byte32(0x0286a1404f09dbe672b5963feff1d2a84ebb1445e26fc28ee4bcc948681e7689) Resolve failed Unknown(OutPoint(0x34b67af7ae9aa0f0a823329e1a408346e9cf6d83ec55eb2523ff144b7b97f72700000000)) Internal(DataCorrupted(IO error: No space left on device: While appending to file: /home/ckb/gp/sync/node2/data/tx_pool/recent_reject/000004.log: No space left on device))
2024-04-13 01:01:16.973 +00:00 GlobalRt-8 ERROR ckb_tx_pool::process  Failed to record recent_reject Byte32(0xae4b2b5cf936d306e010c62e33f51988cb9624d2b84f1a9269d60359ba81e88a) Resolve failed Unknown(OutPoint(0xc375cd75dff4e7ef515158d55ef151429a7478734543106b0f15da66b9ed070200000000)) Internal(DataCorrupted(IO error: No space left on device: While appending to file: /home/ckb/gp/sync/node2/data/tx_pool/recent_reject/000004.log: No space left on device))
2024-04-13 01:01:16.973 +00:00 GlobalRt-8 ERROR ckb_tx_pool::process  Failed to record recent_reject Byte32(0x42358df6636b61ffbdedf63fb866128b7f539cc9b85765cdcc8d66ca205dc1af) Resolve failed Unknown(OutPoint(0x5a015bd37aca75a1db8ffb8797530b69c822d588dc5d44b6c72fb4935b8b756a00000000)) Internal(DataCorrupted(IO error: No space left on device: While appending to file: /home/ckb/gp/sync/node2/data/tx_pool/recent_reject/000004.log: No space left on device))
2024-04-13 01:01:16.973 +00:00 GlobalRt-8 ERROR ckb_tx_pool::process  Failed t
image image

节点3

节点3

image image