Inode Policy (Files and Directories)
Webzi establishes limits on the number of files and directories (inodes) that can be created in a hosting account. This policy applies to shared hosting plans, business email, WordPress hosting, and reseller hosting. It does not apply to dedicated infrastructure (VPS and dedicated servers).
1. What is an Inode?
An inode is a data structure in Linux systems that stores information about a file or directory. In simple terms, each file and each folder in your hosting account counts as one inode, regardless of its size.
Example: A 1 KB file and a 1 GB file each occupy exactly 1 inode. An empty folder also occupies 1 inode.
2. What Counts as an Inode?
The following elements consume inodes in your account:
- Files: Any file (HTML, PHP, images, PDFs, etc.)
- Directories: Each folder, including subfolders
- Emails: Each stored email (sent, received, spam, trash)
- Cache files: Generated by WordPress, plugins, applications
- Temporary files: PHP sessions, temporary uploads
- Hidden files: Files starting with a dot (.htaccess, .env, etc.)
- Log files: error_log, access_log, etc.
- Backups: If you store backups in your account
3. Limits by Service Type
Inode limits vary depending on the contracted plan. Please check the detailed features of each plan on the corresponding pages:
General limit: In cases where the limit is not specified in the plan, the default limit is 1,500,000 inodes per account.
4. Reseller Hosting Limits
Each cPanel account created under a Reseller plan has an independent limit of 1,500,000 inodes. The reseller can set lower limits for their clients, but cannot exceed this maximum.
The inode consumption of each cPanel account is calculated individually, not cumulatively at the reseller level.
5. How Likely Am I to Reach the Limit?
Very low for normal use. Webzi's limits are significantly higher than those of other providers in the market. The vast majority of websites will never come close to this limit.
These limits are designed to protect the infrastructure against:
- Abusive or improper use of the service
- Compromised accounts by attackers generating thousands of malicious files
- Runaway scripts that create files indefinitely
- Excessive accumulation of unmanaged emails
6. Common Causes of High Inode Usage
If your account is approaching the limit, the most common causes are:
| Cause | Description | Solution |
|---|---|---|
| Accumulated emails | Thousands of emails in inbox, sent, or spam | Delete old emails, empty spam and trash |
| WordPress cache | Cache plugins generate thousands of files | Clear cache from the plugin or cPanel |
| Session files | PHP sessions that are not automatically deleted | Clean /tmp or sessions folder |
| Hack/Malware | Attackers create thousands of malicious files | Scan with antivirus, restore clean backup |
| Local backups | Multiple backups stored in the account | Download backups and delete them from server |
| Error logs | Very large or multiple error_log files | Fix PHP errors, delete old logs |
7. Notifications
Webzi will send automatic email notifications when your account reaches the following thresholds:
- 80% of the limit: Preventive notice to take action
- 90% of the limit: Urgent warning
- 100% of the limit: Limit reached notification
It is the customer's responsibility to keep their contact information updated and to review the notifications sent.
8. Consequences of Reaching the Limit
When an account reaches 100% of its inode limit:
- You will not be able to create new files or directories
- You will not be able to receive new emails (they will bounce back to the sender)
- Your website may display errors if it tries to write files (cache, sessions, uploads)
- Databases may fail if they need to create temporary files
- Automatic backups may fail
Grace period: Once the limit is reached, you will have 7 days to reduce the number of inodes. If you do not, the account may be completely restricted until you regularize your situation.
9. How to Reduce Inode Usage
Recommendations to reduce inode consumption:
- Clean emails: Delete old emails, empty spam and trash
- Clear cache: From WordPress or cPanel's cache manager
- Delete backups: Download them locally and delete them from the server
- Review temporary files: /tmp, /cache folders, sessions
- Delete unused installations: Test sites, abandoned installations
- Review plugins: Some plugins generate excessive log or cache files
- Scan for malware: A hack can generate thousands of files
10. How to Monitor Inode Usage
You can check your current inode consumption in the following ways:
- cPanel: In the right sidebar, "Statistics" section, you will see "Inodes" with current usage and limit
- Terminal/SSH: Run the command
find . -type f | wc -lto count files - Client area: Some plans show inode usage in the Webzi panel
11. Request a Limit Increase
If your usage is legitimate and you need a higher inode limit, you have the following options:
- Plan upgrade: Higher plans may have higher limits
- Migrate to VPS: VPS have no inode limit
- Special request: Contact support to evaluate your particular case
Note: Limit increases on shared hosting are subject to evaluation and may not be approved if they affect server performance.