firstbatchxyz / dkn-compute-node

Compute Node of Dria Knowledge Network.
Apache License 2.0
78 stars 33 forks source link

bug: high CPU & memory usage #93

Closed erhant closed 1 month ago

erhant commented 2 months ago

Seems to reach 100% at some point around ~20+ peers

erhant commented 2 months ago

Resolved with #94

erhant commented 2 months ago

https://github.com/libp2p/rust-libp2p/issues/5561 although None fixes this, its better to use Strict and solve this somehow.

we are using a fork of libp2p for this right now, until it is implemented in the original repo.

erhant commented 2 months ago

An issue with explicit_peer has been discovered, and removing it seems to have fixed these. Waiting for more tests.

erhant commented 1 month ago

very relevant https://github.com/libp2p/rust-libp2p/discussions/5504

erhant commented 1 month ago

limiting send_queue has fixed the issue

erhant commented 1 month ago

relevant issue https://github.com/sigp/lighthouse/issues/4918

erhant commented 1 month ago

No longer an issue thanks to fixes, will make a not on entire fixing process later