Skip to content

Commit

Permalink
6983-configurable quiesce timeout
Browse files Browse the repository at this point in the history
configurable quiesce timeout

#6983
  • Loading branch information
ramkumar-k-9286 committed Jan 10, 2024
1 parent 6e26322 commit e69fd3d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/reference/pages/command/server-stop.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@

The `server stop` command stops the named Open Liberty server.

Normal server stop includes a quiesce stage before the server shuts down. This quiesce stage allows time for shutdown preparation, such as stopping inbound listeners but allowing existing requests to complete. The maximum length for the quiesce stage is 30 seconds. Applying the `--force` option to the stop command skips the quiesce stage. The `--force` option has no effect if server stop was already initiated. If you use the `--force` option, you might see unexpected exceptions in the `messages.log` file that occur after the server received the `server stop` command.
Normal server stop includes a quiesce stage before the server shuts down. This quiesce stage allows time for shutdown preparation, such as stopping inbound listeners but allowing existing requests to complete. The length of the quiesce stage can be configured in the config:applicationManager[] in the `server.xml` file. For more information, see config:applicationManager[Application Manager].

The `server stop` command also includes a 30 second waiting period for confirmation that the server is stopped. You can customize this waiting period with the `--timeout` option.
Applying the `--force` option to the stop command skips the quiesce stage. The `--force` option has no effect if server stop was already initiated. If you use the `--force` option, you might see unexpected exceptions in the `messages.log` file that occur after the server received the `server stop` command.

The `server stop` command also includes a 30 second waiting period for confirmation that the server is stopped. You can customize this waiting period with the `--timeout` option. This `--timeout` option should not be less than the quiesce timeout.

== Usage examples

Expand Down Expand Up @@ -67,7 +69,7 @@ One or more optional parameters.
| Skips the quiesce stage before the server is shut down.
{empty} +
{empty} +
Normal server stop includes a quiesce stage before the server is shut down. The quiesce stage, a period of 30 seconds, allows services to perform pre-shutdown work; for example, inbound listeners are stopped but existing requests are allowed to complete.
Normal server stop includes a quiesce stage before the server is shut down. The quiesce stage, a default period of 30 seconds, allows services to perform pre-shutdown work; for example, inbound listeners are stopped but existing requests are allowed to complete.
{empty} +
{empty} +
The `--force` option has no effect if server stop was already invoked. If you use the `--force` option, you might see unexpected exceptions in the `messages.log` file that occur after the `server stop` command was received by the server.
Expand Down

0 comments on commit e69fd3d

Please sign in to comment.