![]() In many cases, we’ve prevented major downtimes by finding and correcting serious server errors. When such situations, we scan the server for health or security issues. Pro Tip : A damaged quota table indicates a more serious underlying problem such as a failing hard disk. Re-enable quota for the affected partition.Recreate the quota table using the “quotacheck” command (or fixquota in cPanel servers).Stop services such as mail, web and FTP that can write new files.Disable quota for the affected partition (usually /home in web hosting servers).When we see a sudden surge in mail or web quota errors for many users at once, we immediately check the quota table. In some situations, such as a server crash or hard disk errors, these files could get corrupted, leading to many users getting quota related errors. Linux servers store quota information in files such as er, oup. We’ve been able to reduce the incidence of such downtime in web hosting companies by sending “Disk Quota Warning” emails with specific steps on what to check, and how to delete excess files. In heavily loaded or less powerful servers, we educate the users via custom tool tips in the panel that the correct value will be reflected in 15 mins.ĭisk space overage results in customers losing their business mails, or websites being down.In powerful servers, we disable this cache (choose off), as server load isn’t affected.To fix this, our tech support team uses two approaches: cPanel stores disk usage info for 15-30 mins, to reduce disk access, and thereby keep down server load. It is caused by a cPanel feature called “disk quota cache”. That is, even if a 1 GB file is deleted, the space usage doesn’t show any difference. In cPanel servers, even after a disk quota exceeded error is resolved, the web panel shows the old disk space info. So, if you’re a shared web host, increase the quota by 100 MB temporarily so that services to the user is immediately restored. Business mails coming in during this period will bounce. Pro Tip : All this detective work takes time. We resolve this issue by searching the whole file system with the username, deleting them, and then updating the quota table. We’ve found such files in /usr, /var, / or in some cases even in /root directory. This could be from past troubleshooting steps, incomplete site restore, etc. In self-managed VPS servers, we’ve found user files stored outside the user’s home directory. ![]() Special case – User’s files located outside home directory ![]() Once we’ve found the top directories, we drill down until we locate all non-essential files. That is why we use Linux command line tools (such as du) to list all directories in a user’s account, and sort them as per size. It’s not easy to find these space files if you look at a web panel report. Old uncompressed backups (from a previous site restore for eg.).But there are other locations that are not so obvious: In many cases, we’ve found large files (such as backup, videos, DB dumps, etc.) in the user’s home directory itself. Fixing mail/web space overageĪbout 80% of disk quota exceeded errors occur due to users uploading files beyond their subscription limit. Today, we’ll take a look at how to troubleshoot, fix and prevent quota exceeded errors. Users exceeding their mail or web space quota.Website owners see this error when they try to upload a file, send a mail or update a database.Įvery month, our engineers resolve hundreds of “Disk Quota Exceeded” errors in our role as website support for web hosting companies. Disk Quota Exceeded is a common error in Linux web hosting servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |