doc: Update limitations sections in RPC and REST interface docs

This commit is contained in:
Fabian Jahr 2023-05-24 01:10:08 +02:00
parent 5e8eccceac
commit 3a66391bdb
No known key found for this signature in database
GPG key ID: F13D1E9D890798CD
2 changed files with 10 additions and 16 deletions

View file

@ -188,11 +188,8 @@ this RPC may not yet be reflected as such in this RPC response.
## Limitations ## Limitations
There is a known issue in the JSON-RPC interface that can cause a node to crash if When too many connections are opened quickly the interface will start to
too many http connections are being opened at the same time because the system runs respond with 503 Service Unavailable to prevent a crash from running out of file
out of available file descriptors. To prevent this from happening you might descriptors. To prevent this from happening you should try to prevent opening
want to increase the number of maximum allowed file descriptors in your system too many connections to the interface at the same time, for example
and try to prevent opening too many connections to your JSON-RPC interface at the by throttling your request rate.
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.

View file

@ -15,14 +15,11 @@ apply.
Limitations Limitations
----------- -----------
There is a known issue in the REST interface that can cause a node to crash if When too many connections are opened quickly the interface will start to
too many http connections are being opened at the same time because the system runs respond with 503 Service Unavailable to prevent a crash from running out of file
out of available file descriptors. To prevent this from happening you might descriptors. To prevent this from happening you should try to prevent opening
want to increase the number of maximum allowed file descriptors in your system too many connections to the interface at the same time, for example
and try to prevent opening too many connections to your rest interface at the by throttling your request rate.
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.
Supported API Supported API
------------- -------------