worker-restart-interval
Time interval at which server instance stops and restarts workers
Syntax
--worker-restart-interval hr
:min
:sec
.fractSec
Description
worker-restart-interval
specifies the time interval at which the server
instance stops and restarts its worker processes. If a worker process has not completed
request processing at the specified restart interval, it completes the processing and
then restarts.
If you do not specify this property, the workers do not restart in response to time.
Parameters
hr
Hours in interval.
min
Minutes in interval.
sec
Seconds in interval.
fractSec
Fractional seconds in interval.
Examples
Restart workers at intervals of 1 hour, 29 minutes, 5 seconds.
Update the main_config
server configuration file
with the following:
--worker-restart-interval 1:29:05
Restart workers at intervals of 10 minutes and 250 ms.
Update the main_config
server configuration file
with the following:
--worker-restart-interval 00:10:00.25