Bobcares

How to fix ‘Disk usage warning’ alerts in cPanel/WHM servers

by | Aug 18, 2016

At Bobcares, we provide outsourced technical support services for shared hosting companies. During this service span, we’ve resolved a multitude of server issues and errors.

One among the very common issues faced by cPanel/WHM server owners is getting this disk usage warning email:

The filesystem “/dev/sda6”, which is mounted at “/”, has reached “warn” status because it is 84.73% full.

Notification Type:
 warn ?

Server:
 host.*******.***

The server owners may often have a number of questions like – Is this a serious message? What should I do now? Is it safe to ignore it? and so on..

Today, we’ll discuss what this message means, how to resolve it and what are the best practices that we follow at Bobcares to avoid such recurrent warnings.

What is this message?

As seen from the message contents, this is a warning message that notifies that the disk space in ‘/’ partition of the cPanel server is 84.73% full.

As more and more websites get hosted in a shared server, its natural that the available free space in the server slowly diminishes and such warning mails come.

For proper functioning of a server, it is recommended to keep at least 10% of its disk space free. When free space gets low, cPanel sends this warning email.

Disk space warning messages should be taken seriously and sorted out with top priority. Otherwise, the server disk space can easily get filled up, causing it to crash.

See how our 24/7 support team helps you!

How to resolve disk space warnings

Not having enough space in the server can affect all the websites hosted in it. So whenever a disk warning is reported, we treat it as a top priority issue.

In our cPanel server management services, our engineers follow a 3-step process to handle such disk space warnings.

1. Validate the warning

Our engineers check the disk usage status in the server using the command ‘df -h’.

 

Disk usage in server

Disk usage in server

 

From this result, we understand that the ‘/’ partition is 84.73% full and hence its a valid warning email.

[ Don’t lose your sleep over server issues. Keep your customers happy with the best support specialists. ]

2. Examine the disk usage

We have to clear some space in the server to bring the disk usage below 80%. But the files and folders to be deleted should be chosen only after a detailed check.

To check which of the folders in a partition are taking up the maximum space, our engineers use commands like these:

 

Detailed usage of folders

Detailed usage of folders

 

In the folders that are taking up the most space – /home, /var and /usr – further examination is done to pin point the files that are taking up more space.

3. Free up some disk space

The final step is to delete space-consuming files, after confirming that they are not relevant for the server functioning. Some of these files are old logs, core dump files, etc.

After deleting all the unwanted files and folders, the disk space in the server would get better and the warning mails would stop.

 

Disk space cleared up

Disk space cleared up

Utmost caution has to be performed during file deletion. Wrongly deleting an important file can even lead to loss of customers or crash of the entire server.

That’s why we examine the files and folders that are taking up the space, and confirm that they can be deleted, before jumping into action and deleting stuff.

[ Focus on your core business without interruptions. Our tech support experts are here to manage your customers 24/7. ]

How Bobcares handles disk space issues

Here we saw how to resolve a disk usage alert warning. But, if proper preventive actions are not taken, the disk space may get filled up easily, and alerts would come again.

In the shared servers we manage, our engineers do 24/7 disk space monitoring, setup daily and weekly jobs to clear up unwanted files, limit disk usage for accounts, etc. to avoid recurring alerts.

Another scenario we’ve noted is that deleting folders and clearing up disk space may not be feasible in those servers where all the files are valid ones and nothing is left to be deleted.

For instance, system binaries, web site files and databases, etc. cannot be deleted. In such cases, we add more disk space to the server or migrate some accounts to another server.

In short..

The proactive actions we perform, varies with each case, depending on the resource usage, web traffic, budget and features offered by each web host.

We also give recommendations to shared server owners on how to manage their server resources effectively. If you’d like to know how to get the best out of your servers, we’d be happy to talk to you.

 

GET 24 HOURS PHONE SUPPORT SERVICES

Use Bobcares for your phone support services. Ensure 24/7 coverage for your customers!

CONTACT US FOR 24/7 PHONE SUPPORT PLANS

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF