[jboss-jira] [JBoss JIRA] (WFCORE-3073) Handle TERM gracefully

David Lloyd (JIRA) issues at jboss.org
Fri Nov 10 10:50:00 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd updated WFCORE-3073:
--------------------------------
    Description: 
The wildfly server currently -terminates immediately- performs a standard (non-graceful) shutdown in response to a TERM signal.  To achieve a -clean- graceful shutdown requires invoking the CLI tooling.  This is particularly problematic in container environments like kubernetes where the container process (wildfly in this case) is going to get a TERM signal when the container needs to be moved. 

While it's possible to wrapper the process and handle the TERM and then invoke the CLI, it would be preferable for the server process itself to cleanly handle a TERM signal by waiting for in-flight requests to complete (w/ some grace period of course).

Having this as configurable behavior would be good if there are backwards compatibility concerns about introducing this behavior change.


  was:
The wildfly server currently terminates immediately in response to a TERM signal.  To achieve a clean shutdown requires invoking the CLI tooling.  This is particularly problematic in container environments like kubernetes where the container process (wildfly in this case) is going to get a TERM signal when the container needs to be moved. 

While it's possible to wrapper the process and handle the TERM and then invoke the CLI, it would be preferable for the server process itself to cleanly handle a TERM signal by waiting for in-flight requests to complete (w/ some grace period of course).

Having this as configurable behavior would be good if there are backwards compatibility concerns about introducing this behavior change.




> Handle TERM gracefully
> ----------------------
>
>                 Key: WFCORE-3073
>                 URL: https://issues.jboss.org/browse/WFCORE-3073
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Ben Parees
>            Assignee: Brian Stansberry
>             Fix For: 4.0.0.Alpha3
>
>
> The wildfly server currently -terminates immediately- performs a standard (non-graceful) shutdown in response to a TERM signal.  To achieve a -clean- graceful shutdown requires invoking the CLI tooling.  This is particularly problematic in container environments like kubernetes where the container process (wildfly in this case) is going to get a TERM signal when the container needs to be moved. 
> While it's possible to wrapper the process and handle the TERM and then invoke the CLI, it would be preferable for the server process itself to cleanly handle a TERM signal by waiting for in-flight requests to complete (w/ some grace period of course).
> Having this as configurable behavior would be good if there are backwards compatibility concerns about introducing this behavior change.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list