EnglishFrenchSpanish

OnWorks favicon

spawn-fcgi - Online in the Cloud

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

This is the command spawn-fcgi 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


spawn-fcgi - Spawns FastCGI processes

SYNOPSIS


spawn-fcgi [options] [ -- <fcgiapp> [fcgi app arguments]]

spawn-fcgi -v

spawn-fcgi -h

DESCRIPTION


spawn-fcgi is used to spawn remote and local FastCGI processes.

While it is obviously needed to spawn remote FastCGI backends (the web server can only
spawn local ones), it is recommended to spawn local backends with spawn-fcgi, too.

Reasons why you may want to use spawn-fcgi instead of something else:

* Privilege separation without needing a suid-binary or running a server as root.

* You can restart your web server and the FastCGI applications without restarting the
others.

* You can run them in different chroot()s.

* Running your FastCGI applications doesn't depend on the web server you are running,
which allows for easier testing of other web servers.

OPTIONS


spawn-fcgi accepts the following options:

-f <path>
Filename of the FastCGI application to spawn. This option is deprecated and it is
recommend to always specify the application (absolute path) and its parameters
after "--"; the fcgiapp parameter is directly used for the exec() call, while for
starting the binary given with -f /bin/sh is needed (which may not be available in
a chroot).

This option is ignored if fcgiapp is given.

-d <path>
Change the current directory before spawning the application.

-a <address>
IPv4/IPv6 address to bind to; only used if -p is given too. Defaults to "0.0.0.0"
(IPv4).

-p <port>
TCP port to bind to; you cannot combine this with the -s option.

-s <path>
Path to the Unix domain socket to bind to; you cannot combine this with the -p
option.

-C <children>
(PHP only) Number of children to spawn by setting the PHP_FCGI_CHILDREN
environment variable. Default is not to overwrite the environment variable; php
will spawn no children if the variable is not set (same as setting it to 0).

-F <children>
Number of children to fork, defaults to 1. This option doesn't work with -n, have
a look at multiwatch(1) if you want to supervise multiple forks on the same
socket.

-b <backlog>
backlog to allow on the socket (default 1024). This is usually limited by the
kernel too, check sysctl net.core.somaxconn (default 128) for linux.

backlog is the queue of connections that the kernel accepts before the userspace
application sees them.

-P <path>
Name of the PID file for spawned processes (ignored in no-fork mode)

-n No forking should take place (for daemontools)

-M <mode>
Change file mode of the Unix domain socket (octal integer); only used if -s is
given too. Defaults to read+write for user and group (0660) as far as the umask
allows it.

-?, -h General usage instructions

-v Shows version information and exits

The following options are only available if you invoke spawn-fcgi as root:

-c <directory>
Chroot to specified directory; the Unix domain socket is created inside the chroot
unless -S is given.

-S Create Unix domain socket before chroot().

-u User ID to change to.

-g Group ID to change to. Defaults to primary group of the user given for -u.

-U Change user of the Unix domain socket, defaults to the value of -u. (only used if
-s is given)

-G Change group of the Unix domain socket, defaults to the primary group of the user
given for -U; if -U wasn't given, defaults to the value of -g. (only used if -s is
given)

Use spawn-fcgi online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 2
    deep-clean
    deep-clean
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 3
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 4
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 5
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 6
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • More »

Linux commands

  • 1
    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
  • 2
    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
  • 3
    core-cleanup
    core-cleanup
    core-cleanup - clean-up script for CORE
    DESCRIPTION: usage: core-cleanup [-d
    [-l]] Clean up all CORE namespaces
    processes, bridges, interfaces, and
    session dir...
    Run core-cleanup
  • 4
    core-daemon
    core-daemon
    core-daemon - CORE daemon manages
    emulation sessions started from GUI or
    scripts ...
    Run core-daemon
  • 5
    g++-4.9
    g++-4.9
    gcc - GNU project C and C++ compiler ...
    Run g++-4.9
  • 6
    g++-5
    g++-5
    gcc - GNU project C and C++ compiler ...
    Run g++-5
  • More »

Ad