multiwatch

Langue: en

Version: 334377 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

multiwatch - forks and watches multiple instances of a program in the same environment

SYNOPSIS

multiwatch [options] -- <application> [app arguments]

multiwatch -v

multiwatch --help | -?

DESCRIPTION

multiwatch is used to fork and watch multiple fastcgi backends.

OPTIONS

-f, --forks=childs
Number of childs to fork and watch(default 1)
-r, --retry=retries
Number of retries to fork a single child
-t, --timeout=msecs
Retry timeout in ms; if the child dies after the timeout the retry counter is reset
-?, --help
General usage instructions
-v, --version
Show version

EXAMPLE

Spawn 2 rails instances on the same fastcgi socket (and supervise them):
spawn-fcgi -s /tmp/fastcgi-rails.sock -C 0 -n /usr/bin/multiwatch -f 2 /home/rails/public/dispatch.fcgi

SEE ALSO

spawn-fcgi(1)

AUTHOR

Stefan Buehler <stbuehler@web.de>.