aboutsummaryrefslogtreecommitdiff
path: root/doc/JSON-RPC-interface.md
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2020-05-22 16:10:46 +0200
committerFabian Jahr <fjahr@protonmail.com>2020-06-01 00:54:18 +0200
commit5c3eaf9983043db1b61a98c95d692a6958670b86 (patch)
tree7ba7d4aa9cb1e12e7fb3904af76fb47f74c8e501 /doc/JSON-RPC-interface.md
parentdc5333d31f280e09bb1e8cdacfbe842f4ab9e69b (diff)
doc: Add warnings for http interfaces limitations
Diffstat (limited to 'doc/JSON-RPC-interface.md')
-rw-r--r--doc/JSON-RPC-interface.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/JSON-RPC-interface.md b/doc/JSON-RPC-interface.md
index a0cfe84a3e..d7a41e031c 100644
--- a/doc/JSON-RPC-interface.md
+++ b/doc/JSON-RPC-interface.md
@@ -127,3 +127,14 @@ However, the wallet may not be up-to-date with the current state of the mempool
or the state of the mempool by an RPC that returned before this RPC. For
example, a wallet transaction that was BIP-125-replaced in the mempool prior to
this RPC may not yet be reflected as such in this RPC response.
+
+## Limitations
+
+There is a known issue in the JSON-RPC interface that can cause a node to crash if
+too many http connections are being opened at the same time because the system runs
+out of available file descriptors. To prevent this from happening you might
+want to increase the number of maximum allowed file descriptors in your system
+and try to prevent opening too many connections to your JSON-RPC interface at the
+same time if this is under your control. It is hard to give general advice
+since this depends on your system but if you make several hundred requests at
+once you are definitely at risk of encountering this issue.