How To Fix “Could Not Write You May Be Over Quota: Bad File Descriptor” Error
March 12th, 2017 | by Ravi Chahar || 2 Comments |
WordPress is an easy yet sometimes hard to handle CMS. To host a WordPress website, you need a web hosting which has the cPanel to control your website.
Sometimes, the cPanel shows the errors which are really scary. Just a couple of days ago, one of my clients was getting 500 Internal Server Error.
Most of the people try to fix this problem by deactivating all the plugins.
It’s also recommended to increase WordPress memory limit for which you have to edit the wp-config.php file.
But what would you do if you get “could not write you may be over quota: bad file descriptor” error while editing the wp-config.php file?
Wouldn’t that be brainstorming? It has happened to me while solving the 500 error.
What Should You Check To Solve This Problem
In most of the cases, you should first try to apply the basic solutions.
#1. Increase Memory Limit
Sometimes, a plugin exhausts the WordPress memory. You can increase it using the wp-config.php file.
Just place a simple code inside the file and save.
You can replace 64M with 256M or even more, depending on your need. If you can edit this file then save it and try to check your website.
If you still get an Internal Server Error, go the next step.
#2. Deactivate All The Plugins
It’s possible that any plugin has conflicted with any other plugin.
You can use this method when you are not able to login to your WordPress admin panel. If you can login then just use the Plugins’ section to deactivate all.
If you don’t get an error after deactivation then it means, any of the plugins is the culprit. Try to activate one by one and find the one.
#3. Check Disk Space Usage
When you see “Could not write (PATH), You may be over Quota”. It’s possible that the disk space provided by your web hosting is full.
It happens when you have the small web hosting plan and the size of your website increases.
Suppose the disk space provided to you is 3GB and the size of your website has increased beyond that. It will definitely show “Disk Exhausted Error”.
You can use the cPanel to find the space used by any folder or file.
Most probably, PUBLIC_HTML consists all the data.
- Many web hostings backup your website and remain the backup file in the root directory (public_html). You should delete that file to empty the disk space.
- Another reason is the MAIL folder because if you’re using the custom domain email address through the Webmail then it’s possible that all the emails are getting stored. Just delete those extra emails and clear the Mail folder.
NOTE :- You can easily check the disk space usage from the cPanel. If you can’t, just ask your web hosting providers. They will provide you the details.
#4. Change or Upgrade Web Hosting
If your website has grown up then it’s important to upgrade the plan.
It’s always recommended to choose the reliable web hostings. You should know about the signs that you should change your web hosting.
There are a few recommended web hostings.
If you’re going to buy a managed hosting the choose WP Engine hosting which is one of the best managed web hostings in the market.
I Hope Now You Can Solve The “Could not write you may be over Quota” Error
The main problem occurs when you try to increase the memory limit and an error appears.
There are many users who don’t really look for the disk space while buying a web hosting. Most of the web hostings are providing unlimited space.
People make mistakes while backing up their website.
Whenever you backup your website, the backup file resides in the root directory or any specific backup folder. Once you download that to your computer, you don’t need that file on the live server.
If you get “Could not write You may be over Quota: Bad descriptor” even after deleting the files, it’s the problem with your small web hosting plan.
If you have any query, feel free to drop a comment.