worker-restart-interval

Time interval at which a server instance stops and restarts its workers

Syntax

--worker-restart-interval hr:min:sec.fractSec

Description

worker-restart-interval specifies the interval at which the server instance stops and restarts its worker processes. If this setting is not given, the workers are not restarted 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.

--worker-restart-interval 1:29:05

Restart workers at intervals of 10 minutes and 250 ms.

--worker-restart-interval 00:10:00.25