firstbatchxyz / dkn-compute-node

Compute Node of Dria Knowledge Network.
Apache License 2.0
93 stars 34 forks source link

bug: high CPU & memory usage #93

Closed erhant closed 2 months ago

erhant commented 3 months ago

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

erhant commented 3 months ago

Resolved with #94

erhant commented 3 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 3 months ago

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

erhant commented 2 months ago

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

erhant commented 2 months ago

limiting send_queue has fixed the issue

erhant commented 2 months ago

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

erhant commented 2 months ago

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

erhant commented 1 week ago

https://github.com/libp2p/rust-libp2p/discussions/4572