I am using Wildfly app server running in standalone mode in a Kubernetes cluster as the app server for a service. As the standard operational procedure we have to be able to shutdown the application servers on demand.
I have tried "./jboss-cli.sh --connect --command=:shutdown " to shutdown the running server. This works but I've noticed that the shutdown is not immediate in this case. It waits for about 1 min before sending the kill signal to the running process.
Is there a built in grace period for shutting down the server? If there is how can i override it? I want to be able to shutdown immediately when the command is issued.
Thank you,
Prabha