Closed yangby-cryptape closed 7 months ago
Resolve #23.
First, set the soft limit and hard limit with different values:
ulimit -Sn 1024 sudo ulimit -Hn 65536
then run ckb-bitcoin-spv-service serve -v ..., the log outputs will contain the following message:
ckb-bitcoin-spv-service serve -v ...
[2024-04-10THH:MM:SSZ INFO ckb_bitcoin_spv_service::utilities::platform] raise file descriptor resource limit from 1024 to 65536
Motivation
Resolve #23.
How to test?
First, set the soft limit and hard limit with different values:
then run
ckb-bitcoin-spv-service serve -v ...
, the log outputs will contain the following message: