InfoCenter Home > 6.6.3.1.2: Starting and stopping application servers with the Java administrative console
Stopping application servers more gracefullyAn application server can be stopped in a more graceful manner if you set a quiesce period to occur prior to shutdown. During the quiesce period, incoming request activity is turned away (which, in a clustered environment, allows the request to be rerouted to a different application server clone). Two configurable system properties affect the behavior of the quiesce period. These two properties can be set on the command lines of individual application servers or on the server group command line in the administrative console. They are as follows: com.ibm.ejs.sm.server.quiesceTimeout=180 This property represents the longest time (in seconds) to wait for server activity to end. The default is 180 seconds (3 minutes). A time-out value of 0 disables the quiesce feature; the application server stops without a quiesce period. The graceful stop usually occurs before the time-out period expires. The quiesce period ends after all requests that are currently in the application server have finished and there has not been a new incoming request for at least the quiesceInactiveRequestTime number of seconds (see the following property). If these conditions are not met before the time-out period ends, the application shuts down anyway. The default of 180 seconds should be reasonable in most environments, but you might need to modify the setting when the average time for a request to finish in an application server is longer. com.ibm.ejs.sm.server.quiesceInactiveRequestTime=5 This property represents how much time should pass without new incoming requests to the application server. The default value is 5 seconds. In a clustered environment, clients are informed of the impending shutdown and should stop sending requests before the end of the quiesce period. Important: this quiesce feature is enabled only for the stop action. The force stop action is not affected; this immediately ends the application server process. See also information about variations of starting and stopping. |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|