Testnet node regularly runs out of file descriptors due to a seemingly unbounded number of TCP connections which eventually exceeds the ulimit of the instance.
Its as yet unclear where the issue lies, but the likely culprit is that our RPCs gRPC server has no connection limit.
Investigate if this is true, and if yes, bind it to a reasonable bound and add a configuration item to limit it.
Other areas should be fairly self-limiting, but it might be worth specifying a non-configurable limit for each gRPC server.
This should be fixed on main.
Testnet node regularly runs out of file descriptors due to a seemingly unbounded number of TCP connections which eventually exceeds the
ulimitof the instance.Its as yet unclear where the issue lies, but the likely culprit is that our RPCs gRPC server has no connection limit.
Investigate if this is true, and if yes, bind it to a reasonable bound and add a configuration item to limit it.
Other areas should be fairly self-limiting, but it might be worth specifying a non-configurable limit for each gRPC server.
This should be fixed on
main.