How to start, stop or restart Golf application server
To start an application server for your Golf Application, use mgrg: mgrg This will start your server in "dynamic" mode, meaning the number of processes will vary to accommodate the incoming request load. You can control your server's resource utilization in dynamic mode by specifying the minimum and maximum number of server processes allowed: mgrg --min-worker=10 --max-worker=100 This will tell Golf to have anywhere between 10 and 100 concurrent processes running, depending on the run-time request volume. To start a fixed number of processes, use -w option: mgrg -w 3 This will start and keep 3 processes running. mgrg will by default restart Golf server processes if they're gone down (unless you use -n option). To stop the server: mgrg -m stop Note that stopping the server will wait for any pending requests to complete. If you don't want to wait, you can simply use "kill -9" to terminate any golf processes. These processes have the name of your application, and the ".srvc" extension, so that makes it easy to find them with "ps" Linux command. To restart the server: mgrg -m restart

To start an application server for your Golf Application, use mgrg:
mgrg
This will start your server in "dynamic" mode, meaning the number of processes will vary to accommodate the incoming request load.
You can control your server's resource utilization in dynamic mode by specifying the minimum and maximum number of server processes allowed:
mgrg --min-worker=10 --max-worker=100
This will tell Golf to have anywhere between 10 and 100 concurrent processes running, depending on the run-time request volume.
To start a fixed number of processes, use -w option:
mgrg -w 3
This will start and keep 3 processes running.
mgrg will by default restart Golf server processes if they're gone down (unless you use -n option).
To stop the server:
mgrg -m stop
Note that stopping the server will wait for any pending requests to complete. If you don't want to wait, you can simply use "kill -9" to terminate any golf processes. These processes have the name of your application, and the ".srvc" extension, so that makes it easy to find them with "ps" Linux command.
To restart the server:
mgrg -m restart