worker-restart-memory-limit-interval

Interval for which a worker can exceed its memory limit before restart

Syntax

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

Description

worker-restart-memory-limit-interval sets the interval for which a worker process can exceed its memory limit before restart. If a worker's working set size exceeds worker-restart-memory-limit for an interval of time greater than worker-restart-memory-limit-interval, then that worker is restarted.

Parameters

hr

Hours in interval.

min

Minutes in interval.

sec

Seconds in interval.

fractSec

Fractional seconds in interval.

Examples

Restart any worker whose working set size exceeds 1 GB for more than 1 hour.

--worker-restart-memory-limit 1GB
--worker-restart-memory-limit-interval 1:00:00
Was this topic helpful?