Featured Posts

Using DKIM with Exim and cPanel Similar to the intentions of SPF records and DomainKeys, DKIM is intended to authenticate a sender by using a public/private key pair to digitally sign email, therefore increasing deliverability. At this...

Readmore

Copy Outgoing Email on a cPanel Server with Exim A common request we get is how a user can automatically BCC outgoing email to another address. This is most often requested by law firms that need to be able to retain copies of communication. Forwarding...

Readmore

Do You Care About Your Customers' Data? I was working a case last week for a new client that's been hosting local business websites for over three years. As with all of my case studies, I did a short survey of the client's infrastructure, processes,...

Readmore

Tips to Reduce Your Customer Support Costs When hosting websites, whether as a mainstream hosting provider, a hobby, or to supplement another service, it's your job to make sure your customers have access to technical support in case they need...

Readmore

Roundcube: MySQL or SQLite? cPanel 11.25 introduces a new feature: The ability to have RoundCube use SQLite instead of MySQL. After benchmarking resource usage and performance, I've come to the conclusion that SQLite is definitely...

Readmore

The cPanel Admin Rss

Removing WHM Disk Space Errors

Posted by Vanessa | Tagged under , | Posted on April 13, 2011

1

If your server is approaching 99% disk space, your users may be aware of this before you are.  At the 1% free margin, the following error will pop up when accessing certain features in cPanel and WHM:

Sorry for the inconvience!
The filesystem mounted at / on this server is running out of disk space. cPanel operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition

While 99% may seem like a dangerous limit, servers nowadays are getting rather large. If you have a server with over 3T of disk space, that 1% free could be well over 100G of space – space that would seemingly become waste.

Until this limit is removed in a future release, you can actually trick cPanel into thinking that the server has more space available. The key is the cache files located in /root/.cpanel/datastore, specifically the file _bin_df_-P_-k_-l.

If you edit that file and change the occurrence of 99% to a lower value, you’ll see the restricted cPanel and WHM features return to normal.  Keep in mind that the cache regenerates, so in some cases it may be appropriate to create a cron job to periodically change the file.

Of course, if 99% disk usage on your server leaves you with a minuscule amount of space, you’ll want to remove some files or add additional storage. The following articles may be useful:

 

Thanks to my colleague Lee for sharing this tidbit of info

 

Liking this article? Share it and spread the word!
  • Print
  • PDF
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Related posts:

Comments (1)

Excellent article — just had this problem today with a new client who’s /usr/ partition was running out of space due to /usr/local/apache/logs/error_log filling up and becoming a 56GB file!

The better issue was to resolve the PHP script that was creating the errors in the first place, so that the log didn’t fill up like that. =0)

Thanks!

Write a comment