This article explains the calculation of files to limit the amount of disk space that individual users can consume.
The maximum number of files is calculated in proportion to the size of the partition where a user's home directory is located, and the maximum number of files in that partition.
The number of files depends on a certain partition, and the administrator can specify the following parameters to change the value in the configuration file of the control panel :
- QuotaInodeMultiply — multiplier for the base number of files (the default value is 2). The calculated number of files should be multiplied by this coefficient. The larger the coefficient is, the more files will be available to a user
- QuotaInodeMin — the minimal number of files that can be allocated (the default value is 50000). If the calculated value (after applying the QuotaInodeMultiply coefficient) is less than the specified value, this parameter will be set to limit the number of files.
- QuotaInodeMax — the maximum number of files (the default value is 0). This limit will be applied only if the value differs from 0. If the resulting value (after using the QuotaInodeMultiply coefficient and the QuotaInodeMin parameter) is larger than the value in this parameter, this value will be applied. If the parameter's value is less than the QuotaInodeMin parameter, the QuotaInodeMin value will be used as the QuotaInodeMax value.