MIN_SWITCH_PERIOD

Syntax

MIN_SWITCH_PERIOD=seconds

Description

The minimum period in seconds between event log switches.

Works together with MAX_JOB_NUM to control how frequently mbatchd switches the file. mbatchd checks if MAX_JOB_NUM has been reached every MIN_SWITCH_PERIOD seconds. If mbatchd finds that MAX_JOB_NUM has been reached, it switches the events file.

To significantly improve the performance of mbatchd for large clusters, set this parameter to a value equal to or greater than 600. This causes mbatchd to fork a child process that handles event switching, thereby reducing the load on mbatchd. mbatchd terminates the child process and appends delta events to new events after the MIN_SWITCH_PERIOD has elapsed.

Default

Set to 1800 at time of installation for the HIGH_THROUGHPUT configuration template. If otherwise undefined, then 0 (no minimum period, log switch frequency is not restricted).

See also

MAX_JOB_NUM