You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should not set soft limit higher than hard limit. cl-quota does not control it in any way, but in some cases, the system can ban such limits combination and they won’t be set or will be set in some other way.
3457
3462
:::
3458
3463
3464
+
#### Known cl-quota limitations behaviour
3465
+
3466
+
::: tip Key Points Administrators Should Know:
3467
+
3468
+
* **User Creation**: All users (including panel users) are created with limits equal to 0
3469
+
* **Synchronization Timing**: Limits are applied within 5 minutes of user creation via automatic cron job
3470
+
* **File Discrepancies**: cPanel user files may show different values than actual enforced limits
3471
+
* **Cache Mechanism**: Non-root users see cached data from `/etc/container/cl-quotas.cache`
3472
+
* **Package Inheritance**: Users inherit package limits unless individual limits are set
3473
+
* **Special Values**:
3474
+
- `0` means inherit from package or uid=0
3475
+
- `-1` means unlimited (displayed as dash `-`)
3476
+
- Words "default" and "unlimited" are interchangeable with 0 and -1
3477
+
* **Auto-Sync Control**: Can be disabled via `cl_quota_limits_autosync=no` in `/etc/sysconfig/cloudlinux`
3478
+
* **Root User**: Limits are never set for root (uid=0) but stored for inheritance
* <span class="notranslate">cl-quota</span> does **NOT** synchronize inode limits with cPanel user configuration files (<span class="notranslate">`/var/cpanel/users/*`</span>)
3485
+
* Changes made through LVE Manager to package inode limits are correctly applied at the system quota level but do **not** update the corresponding user files
<span class="notranslate">cl-quota</span> does **NOT** synchronize:
3502
+
* cPanel user configuration files (<span class="notranslate">`/var/cpanel/users/*`</span>)
3503
+
3504
+
::: tip Note
3505
+
The lack of user file synchronization does not affect the actual quota enforcement. Inode limits are applied at the system quota level and function correctly regardless of what is stored in cPanel user files. The discrepancy is cosmetic and affects only file-based configuration visibility.
3506
+
:::
3507
+
3459
3508
#### Setting limits and integration with panel packages
3460
3509
3461
3510
@@ -3574,6 +3623,63 @@ It follows that:
3574
3623
3575
3624
* The users of <span class="notranslate"> pack1 </span> package will get <span class="notranslate"> pack1 </span> limits (5000:-1), the users of all the rest of the packages will get the limits of uid=0 because no limits are set for them. Exceptions: uid=500 and 958. uid=500 has both limits set individually, and uid=958 inherits only <span class="notranslate"> soft </span> limits.
3576
3625
3626
+
#### Troubleshooting
3627
+
3628
+
**Inode Limits Synchronization Issues**
3629
+
3630
+
If you notice discrepancies between different sources showing inode limits, this is likely due to the [known limitations](#known-cl-quota-limitations-behaviour) of <span class="notranslate">cl-quota</span>. Here's how to troubleshoot:
3631
+
3632
+
**How to check actual limits**
3633
+
3634
+
To check what limits are actually enforced, please use these commands:
3635
+
3636
+
<div class="notranslate">
3637
+
3638
+
```bash
3639
+
# Check system quota (this is what's actually enforced)
3640
+
repquota -u /
3641
+
3642
+
# Check specific user quota
3643
+
quota -u username
3644
+
3645
+
# Check what cl-quota thinks the limits are
3646
+
cl-quota
3647
+
3648
+
# Check package limits
3649
+
cl-quota --package-limits
3650
+
```
3651
+
</div>
3652
+
3653
+
**Script to verify user package and actual limits via CLI**
3654
+
3655
+
<divclass="notranslate">
3656
+
3657
+
```bash
3658
+
# Script to show user, package, and actual quota comparison
Copy file name to clipboardExpand all lines: docs/cloudlinuxos/limits/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -391,6 +391,10 @@ End users can monitor their inodes usage through cPanel only (not available on P
391
391
392
392
End user can also see the usage inside resource usage menu.
393
393
394
+
::: tip Important Note about Synchronization
395
+
When using inode limits with cPanel, please note that changes made through LVE Manager may not be reflected in cPanel user configuration files (<spanclass="notranslate">`/var/cpanel/users/*`</span>). This is a known limitation where the actual quota enforcement works correctly, but the user files may show outdated limit values. See [Known cl-quota limitations behaviour](/cloudlinuxos/command-line_tools/#known-cl-quota-limitations-behaviour) and [Troubleshooting](/cloudlinuxos/command-line_tools/#troubleshooting) for more details.
396
+
:::
397
+
394
398
## Network traffic bandwidth control and accounting system
0 commit comments