Stop a server instance
mps-stop [-C [
path
/]server_name
]
[-f] [-v] [--timeout hh
:mm
:ss
]
mps-stop [-C [
closes
HTTP server socket and all open client connections immediately. All
function requests that were executing when the command was issued
are allowed to complete before the server shuts down. path
/]server_name
]
[-f] [-v] [--timeout hh
:mm
:ss
]
After issuing mps-stop
, issue the mps-status
command
to verify the server instance has STOPPED
.
If you are stopping a server instance in the current working folder, you do not need to specify a full path. Only specify the server name.
Note that the timeout option (--timeout
hh
:mm
:ss
)
is specified with two (2) dashes, not one dash.
|
Specify a path to the server instance. If this option is omitted, the current working folder and its parents are searched to find the server instance. |
|
Name of the server to be stopped. |
|
Force success even if the server instance is not currently stopped. Stopping a stopped instance is considered an error. |
|
Displays system messages relating to termination of server instance. |
|
Set a limit on how long |
Stop server instance server_1
, located in tmp
folder.
Force successful completion of mps-stop
. Timeout
with an error status if mps-stop
takes longer than
three (3
) minutes to complete.
In this example, the verbose (-v
) option
is specified, which produces an output status message.
mps-stop -f -v -C /tmp/server_1 --timeout 00:03:00
waiting for stop... (timeout = 00:03:00)