[
https://issues.jboss.org/browse/WFCORE-2066?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFCORE-2066:
------------------------------------------
[~ahoffer] Re: the difference between 'kill' and 'destroy' here's a
good summary from [~claudio4j] that I saw:
{quote}
About the difference between kill and destroy:
Short answer: "destroy" calls the internal syscall "kill -9" from
native JDK. "kill" calls the command line "kill -9", if it is not
available, it internally calls the previous "destroy".
If the user just wants to forcibly terminates the process, use "kill"
kill: If there is a "kill" command on the OS (unix has "kill", windows
has "taskkill"), this command will be called to forcibly kill the process with
kill -9 (SIGKILL on linux) and /f (windows). If the "kill" command is not
available on the OS, then the "destroy" is called on the process.
destroy: JDK provides an implementation to forcibly destroy the process, it will vary on
each OS, on linux it call "kill" kernel api (the same as the above kill command)
with SIGKILL signal, this is the same as calling the kill -9.
{quote}
I mildly regret that we have both 'kill' and 'destroy' as the distinction
is quite esoteric. It's one of those things from back in the early history of AS 7
that still lives on for compatibility reasons.
Kill and destroy operations on the server-group
-----------------------------------------------
Key: WFCORE-2066
URL:
https://issues.jboss.org/browse/WFCORE-2066
Project: WildFly Core
Issue Type: Feature Request
Components: Management
Reporter: Brian Stansberry
Assignee: Yeray Borges
Labels: domain-mode
Fix For: 4.0.0.Alpha3
The server-config resources expose kill and destroy operations; it would be useful to
have these on the server-group as well. If some problem (e.g. a bad deployment) is causing
all servers in the group to hang it is nice to be able to kill/destroy them in one op
versus having to identify all members and kill them individually.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)