Shutting down Wildfly application server in standalone mode

90 views
Skip to first unread message

Prabha Ranaweera

unread,
Jun 13, 2023, 5:04:14 AM6/13/23
to WildFly
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
Reply all
Reply to author
Forward
0 new messages