MAX_INFO_DIRS

Syntax

MAX_INFO_DIRS=num_subdirs

Description

The number of subdirectories under the LSB_SHAREDIR/cluster_name/logdir/info directory.

When MAX_INFO_DIRS is enabled, mbatchd creates the specified number of subdirectories in the info directory. These subdirectories are given an integer as its name, starting with 0 for the first subdirectory. mbatchd writes the job files of all new submitted jobs into these subdirectories using the following formula to choose the subdirectory in which to store the job file:
subdirectory = jobID % MAX_INFO_DIRS
This formula ensures an even distribution of job files across the subdirectories.
Important:

If you are using local duplicate event logging, you must run badmin mbdrestart after changing MAX_INFO_DIRS for the changes to take effect.

Valid values

0-1024

Default

0 (no subdirectories under the info directory; mbatchd writes all jobfiles to the info directory)

Example

MAX_INFO_DIRS=10

mbatchd creates ten subdirectories from LSB_SHAREDIR/cluster_name/logdir/info/0 to LSB_SHAREDIR/cluster_name/logdir/info/9.