File Size Considerations

If you want to limit the size of the log files on any node, set the environmental variable SSCMSGSIZE to the desired maximum size, in units of kilobytes. For example, a SSCMSGSIZE value of 32 limits the size of each log file to 32 KB.

When DPX is about to write a log message, it checks the file size, and if the file has reached its size limit, creates a new log file on the node and writes the log message to it. Multiple log files on a node for the same day are distinguished by an increasing number in the file name.

Because the purpose of SSCMSGSIZE is to manage disk space, only three log files are kept each day on any given node. As soon as a fourth log file is generated on the node in a given day, the earliest log file from that day is emptied out and at day-end (midnight) it is removed. As additional log files are generated, the earliest is emptied then removed, so that, as a general rule, no more than three log files are retained per node per day.

Note. On Windows, certain file management limitations may prevent log files from being emptied or removed when expected. At midnight, DPX attempts to clean up and remove unused or unneeded files. Manually restarting DPX forces reinitialization of modules.

Related Topics:

Last updated