@cryptotaxi247 / kubo / commits / e59c605f2

docs(0.18.1): guide users to clean up limits (#9644)

Marcin Rataj committed Feb 13, 2023 at 15:20 UTC e59c605f2a6e17d7caf4710035cf05e426a29b2d
1 file changed +11 -1
docs/changelogs/v0.18.md
+11 -1
@@ -35,7 +35,17 @@ first time a message is seen, you can set `Pubsub.SeenMessagesStrategy` to
35
36 #### Improving libp2p resource management integration
37
38 -This builds on the default protection nodes get against DoS (resource exhaustion) and eclipse attacks
38 +TL;DR: limit autoscaling improved, most users should start with default settings.
39 +If you have old configuration, switch to implicit defaults:
40 +
41 +```
42 +ipfs config --json -- Swarm.ResourceMgr '{}'
43 +ipfs config --json -- Swarm.ConnMgr '{}'
44 +```
45 +
46 +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).
47 +
48 +The 0.18.1 builds on the default protection nodes get against DoS (resource exhaustion) and eclipse attacks
49 with the [go-libp2p Network Resource Manager/Accountant](https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md)
50 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).
51