BuycPanel Blog

BuycPanel Blog

Latest news and updates

8/18/2015 – Addons to Improve the Speed of Your Hard Drive

Posted by Jamison on 18 08 2015.

If running, opening a single application, or simply opening a folder takes your computer 30 to 60 seconds from finishing the task, or if it takes more than a minute to start your computer, it is time to revisit your hard drive.  Revisiting your hard drive will address not only the speed of its performance but also may identify health problems your hard drive may already be experiencing.

 

Check your disk space.

 

View your server’s disk usage.

 

STEP 1: Log in to your WHM.

 

STEP 2: Select “Server Information” under the Server Status Section.

 

STEP 3: Navigate on the bottom of the screen to see the displayed Current Disk Space Usage.

 

View your domain’s disk space usage for all of your account’s databases and directories.

 

STEP 1: Log in to your cPanel.

 

STEP 2: Select “Disk Space Usage” under the Files Section.

 

This will show the distribution of usage of your account’s directories.  This is useful as you can…

If running, opening a single application, or simply opening a folder takes your computer 30 to 60 seconds from finishing the task, or if it takes more than a minute to start your computer, it is time to revisit your hard drive.  Revisiting your hard drive will address not only the speed of its performance but also may identify health problems your hard drive may already be experiencing.

 

Check your disk space.

 

View your server’s disk usage.

 

STEP 1: Log in to your WHM.

 

STEP 2: Select “Server Information” under the Server Status Section.

 

STEP 3: Navigate on the bottom of the screen to see the displayed Current Disk Space Usage.

 

View your domain’s disk space usage for all of your account’s databases and directories.

 

STEP 1: Log in to your cPanel.

 

STEP 2: Select “Disk Space Usage” under the Files Section.

 

This will show the distribution of usage of your account’s directories.  This is useful as you can identify which directory is mostly contributing to reaching your disk space limit.

 

Please note that recent changes may not be considered by cPanel when calculating the disk usage as these recent changes may have not yet been logged into the cPanel cache.  But you don’t need to panic as it should correct itself within a few hours.

 

You can also check your disk space using the Shell Command “df –h”.  You will receive information on the total file size of your file system, the amount of used space as well as the available space.

 

To configure the amount of disk space of one of your users, you may perform the following steps:

 

STEP 1: Log in to your WHM.

 

STEP 2: Select the “Quota Modification” at the left hand column of the Account Functions Section.

 

STEP 3: Select the user you wish to modify the disk space quota by clicking “Modify.”

 

STEP 4: You can now set the quota (in MB) of the particular user. Or you may also click the Unlimited button.

 

STEP 5: Click Save.

 

Check your current running applications.

 

It could be that several programs are continuously running in background and it can contribute to slow system performance.  You can review the list of software currently running.  Install programs that you do not need.

 

Check the health of your hard drive.

 

If in many cases you try to open a file or folder and your programs stop responding, your file may already be corrupted.  As such, check your antivirus protection.

 

Your cPanel license essentially includes a built-in antivirus through Clam Antivirus (ClamAV).  ClamAV is an open source antivirus engine for detecting Trojans, viruses, and malware.  If ClamAV identifies a potential threat, it will flag the file to prompt you to take immediate action.

 

So your system will be routinely check, you can perform a ClamAV Scanner cron job that will check the system during off-peak hours.  The cron job will run the command below and search the home directory for infected files:

 

for i in `awk ‘!/nobody/{print $2 | “sort | uniq” }’ /etc/userdomains | sort | uniq`; do /usr/local/cpanel/3rdparty/bin/clamscan -i -r /home/$i 2>>/dev/null; done >> /root/infections&