|Deploying and Running Pivotal GemFire / Starting Up and Shutting Down Your System|
Shut down your GemFire system by using either gfsh's shutdown command or by shutting down individual members one at a time.
If you are using persistent regions, (members are persisting data to disk), you should use the gfsh shutdown command to stop the running system in an orderly fashion. This command synchronizes persistent partitioned regions before shutting down, which makes the next startup of the distributed system as efficient as possible.
If you are not using persistent regions, you can shut down the distributed system by shutting down each member in the reverse order of their startup. (See Starting Up Your System for the recommended order of member startup.)
gfsh>stop server --name=<...>See stop server for more details.
gfsh>stop locator --name=<...>See stop locator for more details.
Disconnect listener still runningThe DISCONNECT_WAIT default is 10000 milliseconds.
gfsh>start server --J=-DDistributionManager.DISCONNECT_WAIT=<milliseconds>Each process can have different DISCONNECT_WAIT settings.