{"record":{"id":"86ca990ac9abf3f4","repo":"ipfs/kubo","slug":"unable-to-initialize-libp2p-due-to-conflicting-re-86ca99","errorCode":null,"errorMessage":"\nUnable to initialize libp2p due to conflicting resource manager limit configuration.\nresource manager System.StreamsInbound (%d) must be bigger than ConnMgr.HighWater (%d)\nSee: https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr\n","messagePattern":"\nUnable to initialize libp2p due to conflicting resource manager limit configuration\\.\nresource manager System\\.StreamsInbound \\((.+?)\\) must be bigger than ConnMgr\\.HighWater \\((.+?)\\)\nSee: https://github\\.com/ipfs/kubo/blob/master/docs/libp2p-resource-management\\.md#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr\n","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/node/libp2p/rcmgr.go","lineNumber":493,"sourceCode":"\tif (rcm.System.ConnsInbound > rcmgr.DefaultLimit || rcm.System.ConnsInbound == rcmgr.BlockAllLimit) && int64(rcm.System.ConnsInbound) <= highWater {\n\t\t// nolint\n\t\treturn fmt.Errorf(`\nUnable to initialize libp2p due to conflicting resource manager limit configuration.\nresource manager System.ConnsInbound (%d) must be bigger than ConnMgr.HighWater (%d)\nSee: https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr\n`, rcm.System.ConnsInbound, highWater)\n\t}\n\tif (rcm.System.Streams > rcmgr.DefaultLimit || rcm.System.Streams == rcmgr.BlockAllLimit) && int64(rcm.System.Streams) <= highWater {\n\t\t// nolint\n\t\treturn fmt.Errorf(`\nUnable to initialize libp2p due to conflicting resource manager limit configuration.\nresource manager System.Streams (%d) must be bigger than ConnMgr.HighWater (%d)\nSee: https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr\n`, rcm.System.Streams, highWater)\n\t}\n\tif (rcm.System.StreamsInbound > rcmgr.DefaultLimit || rcm.System.StreamsInbound == rcmgr.BlockAllLimit) && int64(rcm.System.StreamsInbound) <= highWater {\n\t\t// nolint\n\t\treturn fmt.Errorf(`\nUnable to initialize libp2p due to conflicting resource manager limit configuration.\nresource manager System.StreamsInbound (%d) must be bigger than ConnMgr.HighWater (%d)\nSee: https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr\n`, rcm.System.StreamsInbound, highWater)\n\t}\n\treturn nil\n}\n","sourceCodeStart":475,"sourceCodeEnd":501,"githubUrl":"https://github.com/ipfs/kubo/blob/329838acdfafae224582930457efe80aa217afc0/core/node/libp2p/rcmgr.go#L475-L501","documentation":"Error \"\nUnable to initialize libp2p due to conflicting resource manager limit configuration.\nresource manager System.StreamsInbound (%d) must be bigger than ConnMgr.HighWater (%d)\nSee: https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md#how-does-the-resource-manager-resourcemgr-relate-to-the-connection-manager-connmgr\n\" thrown in ipfs/kubo.","triggerScenarios":"Thrown at core/node/libp2p/rcmgr.go:493 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Raise Swarm.ResourceMgr.Limits.System.StreamsInbound above Swarm.ConnMgr.HighWater","Or lower Swarm.ConnMgr.HighWater","Or set Swarm.ConnMgr.Type=none","Reference: docs/libp2p-resource-management.md"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"329838acdfafae224582930457efe80aa217afc0","analyzedAt":"2026-09-03T18:30:52.135Z","contentChangedAt":"2026-09-03T18:30:52.135Z","schemaVersion":2},"datasetVersion":"2026-09-11T00:17:11.886Z"}