Monitor disk space usage

Use the p4 diskspace command to monitor disk space usage. By default, p4 diskspace displays the amount of free space, disk space used, and total capacity of any filesystem used by Helix Server.

Important

If P4AUDIT is configured on any active server, the audit log file becomes large very quickly because it grows each time any user gets file content. Make a plan to manage the disk space. Include in your plan any retention policies for storing historical copies of the audit log files.

By default, Helix Server rejects commands when free space on the filesystems housing the P4ROOT, P4JOURNAL, P4LOG, or TEMP falls below 250 megabytes. To change this behavior, set the filesys.P4ROOT.min (and corresponding) configurables to your desired limits:

If the user account that runs the Helix Server process is subject to disk quotas, the server observes these quotas with respect to the filesys.*.min configurables, regardless of how much physical free space remains on the filesystems in question. For the options you have in reconfiguring default values, see Specify values for filesys configurables.

For more information, see Configurables in the Helix Core Command-Line (P4) Reference.