- Starting and stopping processes
- Controlling the Daemon
- Managing clusters
- Installing and running apps
- Remote access and monitoring (e.g. guv-web)
- Web interface
- Web interface - configuration
- Web interface - user management
- Programmatic access
- Programmatic access - local
- Programmatic access - remote
- Programmatic access - events
To start an app as a cluster, add the -i $n
option to the guv start
command where $n
is the number of workers you want.
The number of workers is limited by the cluster
module to $cores - 1
where $cores
is the number of cores on your machine.
After starting a process with -i $num
(e.g. start ``$numinstances of a script), use the
workers` subcommand to adjust the number of cluster workers.
guv workers <pidOrName> <workers>
Make process 49308 (previously started with -i 2
) run with 4 workers:
$ guv workers 49308 4
The maximum workers you can set is dependent on your system as num_cpus - 1