Anytime you use CTRL-C (in Mac OS X, or even Linux), that sends a `kill -INT` (i.e. `kill -2`), or SIGINT to the OS process. I was also thinking of the TERM switch (or -15) as well, and I initially thought CTRL-C was `kill -QUIT` (or `kill -3`).
Anyway, as *Mike* stated (previously), do not use `kill -9`, or `kill -KILL` since that terminates the process abruptly, which then risks corruption and possibly other problems. -j On Thu, Jul 6, 2017 at 3:12 PM, Darrel Schneider <[email protected]> wrote: > I have never tried kill -2. What I have used in the past for an orderly > shutdown is kill -TERM which I thought was kill -15. > > On Thu, Jul 6, 2017 at 1:18 PM, Michael Stolz <[email protected]> wrote: > >> Only ever use kill -9 as a last resort when dealing with any process that >> stores data permanently. >> You can issue a kill -2 to the geode process id and that should cause the >> geode process to shutdown in an orderly fashion. >> >> -- >> Mike Stolz >> Principal Engineer, GemFire Product Manager >> Mobile: +1-631-835-4771 <(631)%20835-4771> >> >> On Thu, Jul 6, 2017 at 1:27 PM, Dharam Thacker <[email protected] >> > wrote: >> >>> Hello Team, >>> >>> Is it a nice idea to stop server bootstrapped using spring boot and >>> spring data geode using "kill -9"? >>> >>> Gfsh stop does not work currently for server bootstrapped using spring >>> data geode. >>> >>> What's the recommended way? Can it corrupt system? >>> >>> Thanks, >>> Dharam >>> >>> >>> >>> >>> >> > -- -John john.blum10101 (skype)
