From 9545e01d17e62fb1e959b6b18c7abe74ce99b9f1 Mon Sep 17 00:00:00 2001 From: REN Xiaolei Date: Mon, 18 Nov 2019 20:53:32 +0800 Subject: [PATCH] Update faq.rst --- docs/source/faq.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/faq.rst b/docs/source/faq.rst index 6531b99b..b728084c 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -128,10 +128,14 @@ How can I increase the maximum number of file descriptors? One of the first settings that usually needs to be bumped is the maximum number of open file descriptors for a given process. For the confused out there, remember that Unices treat sockets as files. + +.. warning:: Considering non-privileged users are not able to relax the limit, you should firstly switch to root user, increase the limit, then run gunicorn. Using ``sudo ulimit`` would not take effect. +Try systemd's service unit file, or an initscript which runs as root. + How can I increase the maximum socket backlog? ----------------------------------------------