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.
3403
3408
:::
3404
3409
3410
+
#### Known cl-quota limitations behaviour
3411
+
3412
+
::: tip Key Points Administrators Should Know:
3413
+
3414
+
* **User Creation**: All users (including panel users) are created with limits equal to 0
3415
+
* **Synchronization Timing**: Limits are applied within 5 minutes of user creation via automatic cron job
3416
+
* **File Discrepancies**: cPanel user files may show different values than actual enforced limits
3417
+
* **Cache Mechanism**: Non-root users see cached data from `/etc/container/cl-quotas.cache`
3418
+
* **Package Inheritance**: Users inherit package limits unless individual limits are set
3419
+
* **Special Values**:
3420
+
- `0` means inherit from package or uid=0
3421
+
- `-1` means unlimited (displayed as dash `-`)
3422
+
- Words "default" and "unlimited" are interchangeable with 0 and -1
3423
+
* **Auto-Sync Control**: Can be disabled via `cl_quota_limits_autosync=no` in `/etc/sysconfig/cloudlinux`
3424
+
* **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>)
3431
+
* 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:
3448
+
* cPanel user configuration files (<span class="notranslate">`/var/cpanel/users/*`</span>)
3449
+
3450
+
::: tip Note
3451
+
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.
3452
+
:::
3453
+
3405
3454
#### Setting limits and integration with panel packages
3406
3455
3407
3456
@@ -3520,6 +3569,63 @@ It follows that:
3520
3569
3521
3570
* 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.
3522
3571
3572
+
#### Troubleshooting
3573
+
3574
+
**Inode Limits Synchronization Issues**
3575
+
3576
+
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:
3577
+
3578
+
**How to check actual limits**
3579
+
3580
+
To check what limits are actually enforced, please use these commands:
3581
+
3582
+
<div class="notranslate">
3583
+
3584
+
```bash
3585
+
# Check system quota (this is what's actually enforced)
3586
+
repquota -u /
3587
+
3588
+
# Check specific user quota
3589
+
quota -u username
3590
+
3591
+
# Check what cl-quota thinks the limits are
3592
+
cl-quota
3593
+
3594
+
# Check package limits
3595
+
cl-quota --package-limits
3596
+
```
3597
+
</div>
3598
+
3599
+
**Script to verify user package and actual limits via CLI**
3600
+
3601
+
<divclass="notranslate">
3602
+
3603
+
```bash
3604
+
# 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