mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
docs(0.18.1): guide users to clean up limits (#9644)
This commit is contained in:
parent
89826a39b0
commit
e59c605f2a
@ -35,7 +35,17 @@ first time a message is seen, you can set `Pubsub.SeenMessagesStrategy` to
|
||||
|
||||
#### Improving libp2p resource management integration
|
||||
|
||||
This builds on the default protection nodes get against DoS (resource exhaustion) and eclipse attacks
|
||||
TL;DR: limit autoscaling improved, most users should start with default settings.
|
||||
If you have old configuration, switch to implicit defaults:
|
||||
|
||||
```
|
||||
ipfs config --json -- Swarm.ResourceMgr '{}'
|
||||
ipfs config --json -- Swarm.ConnMgr '{}'
|
||||
```
|
||||
|
||||
IF you run a server and want to utilize more than half of memory and file descriptors to p2p work, adjust [`Swarm.ResourceMgr.MaxMemory`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgrmaxmemory) and [`Swarm.ResourceMgr.MaxFileDescriptors`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgrmaxfiledescriptors).
|
||||
|
||||
The 0.18.1 builds on the default protection nodes get against DoS (resource exhaustion) and eclipse attacks
|
||||
with the [go-libp2p Network Resource Manager/Accountant](https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md)
|
||||
that was fine-tuned in [Kubo 0.18](https://github.com/ipfs/kubo/blob/biglep/resource-manager-example-of-what-want/docs/changelogs/v0.18.md#improving-libp2p-resource-management-integration).
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user