Update faq.rst

This commit is contained in:
REN Xiaolei 2019-11-18 20:58:39 +08:00 committed by GitHub
parent 9545e01d17
commit 5858f81566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ 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::
.. warning:: ``sudo ulimit`` may not work
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.