Forks and watches multiple instances of a program in the same context (environment + fds)
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Stefan Bühler afc537d345 [build] improve (warning) compile flags há 1 ano
.gitignore Initial commit há 11 anos
CMakeLists.txt [build] improve (warning) compile flags há 1 ano
COPYING Fix year in COPYING há 11 anos distribute README.rst há 5 anos
README.rst make README a proper formatted README.rst há 7 anos Initial commit há 11 anos
config.h.cmake Initial commit há 11 anos [build] improve (warning) compile flags há 1 ano
multiwatch.1 fix minus signs in man page há 5 anos
multiwatch.c Taught multiwatch to send the correct signal when using --signal há 2 anos




Multiwatch forks multiple instance of one application and keeps them running;
it is made to be used with spawn-fcgi, so all forks share the same fastcgi
socket (no webserver restart needed if you increase/decrease the number of
forks), and it is easier than to setup multiple daemontool supervised instances.


Example for spawning two rails instances::

# run script

exec spawn-fcgi -n -s /tmp/fastcgi-rails.sock -u www-rails -U www-data -- /usr/bin/multiwatch -f 2 -- /home/rails/public/dispatch.fcgi

More details in the man page.

Build dependencies

* glib >= 2.16.0 (
* libev (
* cmake or autotools (for snapshots/releases the autotool generated files are included)


* snapshot/release with autotools::


* build from git: git://

* with autotools::


* with cmake (should work with snapshots/releases too)::

cmake .