Fix: Typos, tabs to spaces and default workers

This commit is contained in:
jbergstroem 2010-02-09 11:22:09 +01:00 committed by Paul J. Davis
parent cb2d9203ee
commit 7230d65e22

View File

@ -27,7 +27,7 @@ Usage
Options: Options:
-b BIND, --bind=BIND Adress to listen on. Ex. 127.0.0.1:8000 or -b BIND, --bind=BIND Adress to listen on. Ex. 127.0.0.1:8000 or
unix:/tmp/gunicorn.sock unix:/tmp/gunicorn.sock
--workers=WORKERS Number of workers to spawn. [none] --workers=WORKERS Number of workers to spawn. [1]
-p PIDFILE, --pid=PIDFILE -p PIDFILE, --pid=PIDFILE
set the background PID FILE set the background PID FILE
-D, --daemon Run daemonized in the background. -D, --daemon Run daemonized in the background.
@ -89,7 +89,7 @@ gunicorn as main server::
Kernel Parameters Kernel Parameters
----------------- -----------------
There are various kernel parameters that you might want to tune in order to deal with a large number of simulataneous connections. Generally these should only affect sites with a large number of concurrent requests and apply to any sort of network server you may be running. They're listed here for ease of reference. There are various kernel parameters that you might want to tune in order to deal with a large number of simultaneous connections. Generally these should only affect sites with a large number of concurrent requests and apply to any sort of network server you may be running. They're listed here for ease of reference.
The commands listed are tested under Mac OS X 10.6. Your flavor of Unix may use slightly different flags. Always reference the appropriate man pages if uncertain. The commands listed are tested under Mac OS X 10.6. Your flavor of Unix may use slightly different flags. Always reference the appropriate man pages if uncertain.
@ -105,7 +105,7 @@ One of the first settings that usually needs to be bumped is the maximum number
Increasing the Listen Queue Size Increasing the Listen Queue Size
++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++
Listening sockets have an associated queue of incomming connections that are waiting to be accepted. If you happen to have a stampede of clients that fill up this queue new connections will eventually start getting dropped. Listening sockets have an associated queue of incoming connections that are waiting to be accepted. If you happen to have a stampede of clients that fill up this queue new connections will eventually start getting dropped.
:: ::