From 37be319f06561f8120f810425db89c251b70f09e Mon Sep 17 00:00:00 2001 From: benoitc Date: Sat, 21 May 2016 11:12:11 +0200 Subject: [PATCH] add a not in FAQ about the SENDFILE environment var --- docs/source/faq.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/source/faq.rst b/docs/source/faq.rst index 3653952e..0a60e742 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -144,6 +144,13 @@ this queue new connections will eventually start getting dropped. $ sudo sysctl -w net.core.somaxconn="2048" +How can I disable the use of ``sendfile()`` +------------------------------------------- + +Disabling the use ``sendfile()`` can be done by using the ``--no-sendfile`` +setting or by setting the environment variable ``SENDFILE`` to 0. + + Troubleshooting ===============