multifscgi is a simple program intended to manage multiple running instances of a FastCGI or SCGI server. It is distributed as part of ashd(7).
The utility of multifscgi lies in the fact some FastCGI or SCGI server programs, such as PHP, process at most one request at a time. As such, multiple such server processes must run simultaneously in order to process requests concurrently.
The multifscgi program works simply by forking NUM instances of whatever program it is given on its command line. As long as the SCGI or FastCGI listen socket is passed on standard input, it will be naturally inherited by those child processes, and whichever one of them is currently idle will be able to accept a request. If any of the children terminate, a new one will be started in its place.
Fredrik Tolf <fredrik@dolda2000.com>