Add admin section on file descriptors (#504)

This commit is contained in:
Steve Chavez
2022-02-09 14:17:22 -05:00
committed by GitHub
parent 9049ed1f71
commit b209731ff3
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -256,6 +256,7 @@ Schema Reloading
Changing the schema while the server is running can lead to errors due to a stale schema cache. To learn how to refresh the cache see :ref:`schema_reloading`.
Daemonizing
===========
@@ -295,6 +296,17 @@ After that, you can enable the service at boot time and start it with:
## For reloading the service
## systemctl restart postgrest
File Descriptors
----------------
File descriptors are kernel resources that are used by HTTP connections (among others). File descriptors are limited per process. The kernel default limit is 1024, which is increased in some Linux distributions.
When under heavy traffic, PostgREST can reach this limit and start showing ``No file descriptors available`` errors. To clear these errors, you can increase the process' file descriptor limit.
.. code-block:: ini
[Service]
LimitNOFILE=10000
Alternate URL Structure
=======================
+1
View File
@@ -51,6 +51,7 @@ Haskell
Heroku
HMAC
Homebrew
HTTP
HTTPS
HV
Ibarluzea