EnglishFrenchSpanish

OnWorks favicon

gunicorn_paster - Online in the Cloud

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

This is the command gunicorn_paster 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_paster - Event-based HTTP/WSGI server, Paste application entry-point

SYNOPSIS


gunicorn_paster [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 gunicorn_paster online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 2
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 3
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 4
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 5
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 6
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • More »

Linux commands

  • 1
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 2
    abinit
    abinit
    abinit - Ab initio atomic-scale
    simulation software ...
    Run abinit
  • 3
    cpan-outdatedp
    cpan-outdatedp
    cpan-outdated - detect outdated CPAN
    modules in your environment ...
    Run cpan-outdatedp
  • 4
    cpan-uploadp
    cpan-uploadp
    cpan-upload - upload a distribution to
    the CPAN VERSION: version 0.103012
    USAGE: usage: cpan-upload [options]
    file-to-upload-1 [ file-to-upload-2.. ]
    -v --verb...
    Run cpan-uploadp
  • 5
    g32pbm
    g32pbm
    g32pbm - convert a Group 3 fax file
    into a portable bitmap ...
    Run g32pbm
  • 6
    gabedit
    gabedit
    gabedit - graphical user interface
    (GUI) to computational chemistry
    packages ...
    Run gabedit
  • More »

Ad