EnglishFrenchSpanish

Ad


OnWorks favicon

gunicorn3_django - Online in the Cloud

Run gunicorn3_django in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gunicorn3_django that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gunicorn_django - Event-based HTTP/WSGI server, Django application entry-point

SYNOPSIS


gunicorn_django [OPTIONS] [SETTINGS_PATH]

OPTIONS


-c CONFIG, --config=CONFIG
Config file. [none]

-b BIND, --bind=BIND
Address to listen on. Ex. 127.0.0.1:8000 or unix:/tmp/gunicorn.sock

-w WORKERS, --workers=WORKERS
Number of workers to spawn. [1]

-a ARBITER, --arbiter=ARBITER
gunicorn arbiter entry point or module [egg:gunicorn#main]

-p PIDFILE, --pid=PIDFILE
Set the background PID FILE

-D, --daemon
Run daemonized in the background.

-m UMASK, --umask=UMASK
Define umask of daemon process

-u USER, --user=USER
Change worker user

-g GROUP, --group=GROUP
Change worker group

-n PROC_NAME, --name=PROC_NAME
Process name

--log-level=LOGLEVEL
Log level below which to silence messages. [info]

--log-file=LOGFILE
Log to a file. - equals stdout. [-]

d, --debug
Debug mode. only 1 worker.

--version
Show program's version number and exit

-h, --help
show this help message and exit

DESCRIPTION


Green Unicorn (gunicorn) is an HTTP/WSGI server designed to serve fast clients or sleepy
applications. That is to say; behind a buffering front-end server such as nginx or
lighttpd.

* Optional support for Eventlet and Gevent to provide asynchronous
long-polling ("Comet") connections.
* Process management: Gunicorn reaps and restarts workers that die.
* Easy integration with Django and Paster compatible applications (Pylons,
TurboGears 2, etc.
* Load balancing via pre-fork and a shared socket
* Graceful worker process restarts
* Upgrading without losing connections
* Decode chunked transfers on-the-fly, allowing upload progress notifications
or stream-based protocols over HTTP

TUNING


KERNEL PARAMETERS
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.

INCREASING THE FILE DESCRIPTOR LIMIT
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.

$ sudo ulimit -n 1024

INCREASING THE LISTEN QUEUE SIZE
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.

$ sudo sysctl -w kern.ipc.somaxconn="1024"

WIDENING THE EPHEMERAL PORT RANGE
After a socket is closed it eventually enters the TIME_WAIT state. This can become an
issue after a prolonged burst of client activity. Eventually the ephemeral port range is
used up which can cause new connections to stall while they wait for a valid port.

This setting is generally only required on machines that are being used to test a network
server.

Use gunicorn3_django online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad