diff options
| author | Tim Graham <timograham@gmail.com> | 2014-11-19 12:21:49 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-17 08:32:31 -0500 |
| commit | 41f0d3d3bc8b0a6831530e1176c6415f9ba45b0b (patch) | |
| tree | 8fa53beacd450dfd48a57de491e164053b82f986 /docs/ref | |
| parent | 37b7776a015102e97b9bdd64d88c732883ff9989 (diff) | |
Removed FastCGI support per deprecation timeline; refs #20766.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/gis/deployment.txt | 3 | ||||
| -rw-r--r-- | docs/ref/django-admin.txt | 127 |
2 files changed, 1 insertions, 129 deletions
diff --git a/docs/ref/contrib/gis/deployment.txt b/docs/ref/contrib/gis/deployment.txt index f90c9c2e91..3c8b415a0f 100644 --- a/docs/ref/contrib/gis/deployment.txt +++ b/docs/ref/contrib/gis/deployment.txt @@ -11,8 +11,7 @@ the deployment of a normal Django application. Please consult Django's GeoDjango uses the GDAL geospatial library which is not thread safe at this time. Thus, it is *highly* recommended to not use threading when deploying -- in other words, use an - appropriate configuration of Apache or the prefork method - when using FastCGI through another Web server. + appropriate configuration of Apache. For example, when configuring your application with ``mod_wsgi``, set the ``WSGIDaemonProcess`` attribute ``threads`` to ``1``, unless diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 570766f18d..d343a19205 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -775,133 +775,6 @@ run correctly. The ``--list`` option has been moved to the :djadmin:`showmigrations` command. -runfcgi [options] ------------------ - -.. django-admin:: runfcgi - -.. deprecated:: 1.7 - FastCGI support is deprecated and will be removed in Django 1.9. - -Starts a set of FastCGI processes suitable for use with any Web server that -supports the FastCGI protocol. See the :doc:`FastCGI deployment documentation -</howto/deployment/fastcgi>` for details. Requires the Python FastCGI module from -`flup`_. - -Internally, this wraps the WSGI application object specified by the -:setting:`WSGI_APPLICATION` setting. - -.. _flup: http://www.saddi.com/software/flup/ - -The options accepted by this command are passed to the FastCGI library and -don't use the ``'--'`` prefix as is usual for other Django management commands. - -.. django-admin-option:: protocol - -``protocol=PROTOCOL`` - -Protocol to use. *PROTOCOL* can be ``fcgi``, ``scgi``, ``ajp``, etc. -(default is ``fcgi``) - -.. django-admin-option:: host - -``host=HOSTNAME`` - -Hostname to listen on. - -.. django-admin-option:: port - -``port=PORTNUM`` - -Port to listen on. - -.. django-admin-option:: socket - -``socket=FILE`` - -UNIX socket to listen on. - -.. django-admin-option:: method - -``method=IMPL`` - -Possible values: ``prefork`` or ``threaded`` (default ``prefork``) - -.. django-admin-option:: maxrequests - -``maxrequests=NUMBER`` - -Number of requests a child handles before it is killed and a new child is -forked (0 means no limit). - -.. django-admin-option:: maxspare - -``maxspare=NUMBER`` - -Max number of spare processes / threads. - -.. django-admin-option:: minspare - -``minspare=NUMBER`` - -Min number of spare processes / threads. - -.. django-admin-option:: maxchildren - -``maxchildren=NUMBER`` - -Hard limit number of processes / threads. - -.. django-admin-option:: daemonize - -``daemonize=BOOL`` - -Whether to detach from terminal. - -.. django-admin-option:: pidfile - -``pidfile=FILE`` - -Write the spawned process-id to file *FILE*. - -.. django-admin-option:: workdir - -``workdir=DIRECTORY`` - -Change to directory *DIRECTORY* when daemonizing. - -.. django-admin-option:: debug - -``debug=BOOL`` - -Set to true to enable flup tracebacks. - -.. django-admin-option:: outlog - -``outlog=FILE`` - -Write stdout to the *FILE* file. - -.. django-admin-option:: errlog - -``errlog=FILE`` - -Write stderr to the *FILE* file. - -.. django-admin-option:: umask - -``umask=UMASK`` - -Umask to use when daemonizing. The value is interpreted as an octal number -(default value is ``0o22``). - -Example usage:: - - django-admin runfcgi socket=/tmp/fcgi.sock method=prefork daemonize=true \ - pidfile=/var/run/django-fcgi.pid - -Run a FastCGI server as a daemon and write the spawned PID in a file. - runserver [port or address:port] -------------------------------- |
