From b8a8893bf2a101e24f63902097c59ec0baddabb5 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 25 Aug 2026 16:39:40 +0100 Subject: [PATCH] qa: Lower `-rpcmaxconnections` in `interface_http.py` test On some systems, such as NetBSD, the non-default `-rpcmaxconnections=128` is too high, so bitcoind refuses to start: ``` Error: Not enough file descriptors available. 256 available, 290 required. ``` The test only needs a value above the default of 16. Use 64 and lower `-maxconnections` in that case so the total fits in 256. --- test/functional/interface_http.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/functional/interface_http.py b/test/functional/interface_http.py index 10d26592b74..e2f8f621b8e 100755 --- a/test/functional/interface_http.py +++ b/test/functional/interface_http.py @@ -612,9 +612,10 @@ class HTTPBasicsTest (BitcoinTestFramework): # Disable timeout so the initial batch of clients stays connected # until the end of the test. - for comment, extra_args, limit in [ - ("default (16)", ["-rpcservertimeout=0", "-rest"], 16), - ("-rpcmaxconnections=128", ["-rpcservertimeout=0", "-rest", "-rpcmaxconnections=128"], 128) + for comment, extra_args, limit in [ + ("default (16)", ["-rpcservertimeout=0", "-rest"], 16), + ("-rpcmaxconnections=64", ["-rpcservertimeout=0", "-rest", + "-rpcmaxconnections=64", "-maxconnections=16"], 64) ]: self.log.info(f"Using connection limit: {comment}") self.restart_node(0, extra_args=extra_args)