Size threshold at which to consider restarting a worker
--worker-restart-memory-limit size
worker-restart-memory-limit
sets the memory
usage limit of a worker process. 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.
size
Amount of memory used by worker.
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