You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Levels of Configuration](#levels-of-configuration)
17
+
-[Purpose](#purpose)
18
+
-[🙋 Help! The resource manager is protecting my node but I want to understand more](#-help--the-resource-manager-is-protecting-my-node-but-i-want-to-understand-more)
19
+
-[Table of Contents](#table-of-contents)
20
+
-[Levels of Configuration](#levels-of-configuration)
-[What do these "Protected from exceeding resource limits" log messages mean?](#what-do-these-protected-from-exceeding-resource-limits-log-messages-mean)
25
-
-[What are the "Application error ... cannot reserve ..." messages?](#what-are-the-application-error--cannot-reserve--messages)
26
-
-[How does the resource manager (ResourceMgr) relate to the connection manager (ConnMgr)?](#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr)
27
+
-[What are the "Application error 0x0 remote ... cannot reserve ..." messages?](#what-are-the-application-error-0x0-remote--cannot-reserve--messages)
28
+
-[How does the resource manager ResourceMgr relate to the connection manager ConnMgr?](#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr)
27
29
-[How does one see the Active Limits?](#how-does-one-see-the-active-limits)
28
30
-[How does one see the Computed Default Limits?](#how-does-one-see-the-computed-default-limits)
29
31
-[How does one monitor libp2p resource usage?](#how-does-one-monitor-libp2p-resource-usage)
### What are the "Application error ... cannot reserve ..." messages?
132
-
These are messages from a *remote* go-libp2p peer (likely another Kubo node) with the resource manager enabled on why it failed to establish a connection.
135
+
### What are the "Application error 0x0 (remote) ... cannot reserve ..." messages?
136
+
These are messages coming from a *remote* go-libp2p peer (likely another Kubo node) with the resource manager enabled on why it failed to establish a connection.
133
137
134
-
This can be confusing, but these `Application error ... cannot reserve ...` messages can occur even if your local node has the resoure manager disabled.
138
+
This can be confusing, but these `Application error 0x0 (remote) ... cannot reserve ...` messages can occur even if your local node has the resoure manager disabled.
135
139
136
140
You can distinguish resource manager messages originating from your local node if they're from the `resourcemanager` / `libp2p/rcmgr_logging.go` logger
137
141
or you see the string that is unique to Kubo (and not in go-libp2p): "Protected from exceeding resource limits".
138
142
139
-
There is a go-libp2p issue ([#1928](https://github.com/libp2p/go-libp2p/issues/1928)) to make it clearer that this is an error message originating from a remote peer.
143
+
There is a go-libp2p issue ([#1928](https://github.com/libp2p/go-libp2p/issues/1928)) to make it even clearer that this is an error message originating from a remote peer.
140
144
141
145
### How does the resource manager (ResourceMgr) relate to the connection manager (ConnMgr)?
142
146
As discussed [here](https://github.com/libp2p/go-libp2p/tree/master/p2p/host/resource-manager#connmanager-vs-resource-manager)
0 commit comments