Tags Posts tagged with "HostGator"



I started to use back WP Super Cache on JayceOoi.com when W3 Total Cache was giving me issue on my VPS. And W3 Total Cache was not able to sustain PrettyGirl2u.com traffic on shared web hosting yesterday. Received warning email from HostGator about high CPU usage…


This message is to advise you of a temporary block placed on your account. This account was found to be consuming an inordinate amount of processor time, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system’s CPU in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case.

Requests to this scripts under this account may become degraded by limiting the ability for scripts to run for a limited amount of time, or if the issue persists, we may be forced to restrict how fast processes can be spawned until the issue has been resolved.

We recommend taking steps to reduce the overall CPU usage for the account, which may be as simple as generating a flat HTML page for popular content, or enabling caching that is available through many popular scripts, or disabling high CPU usage features such as searches or Ajax refreshes. Although we may not be able to help in all cases, we would be more than happy to assist if you are unable to determine any cause, or if you need help interpreting any of the information.

PrettyGirl2u.com should not have any high CPU usage because it does not have comment system which will increase DB usage. And I don’t see any traffic spike on Google Analytics. Anyway, I disabled W3 Total Cache and installed WP Super Cache back. I did some studies on WP Super Cache. Haha… I should have enabled Preload Mode on WP Super Cache since day 1 I use it. I preloaded all the post and refresh preloaded WP-Super-Cache files every 720 minutes (half 1 day). This means that the server will only access to database to query information once half a day or any new comment entered. And it really does reduce CPU usage on shared web hosting.

Did you enable Preload Mode on WP Super Cache?


Yeah… It is time to show the result after speeding so much time on blog optimization. Here you are ~ JayceOoi.com site performance after optimization.

JayceOoi.com performance overview

On average, pages in your site take 6.7 seconds to load (updated on Feb 14, 2011). This is slower than 85% of sites. These estimates are of high accuracy (more than 1000 data points). The chart below shows how your site’s average page load time has changed over the last few months. For your reference, it also shows the 20th percentile value across all sites, separating slow and fast load times.

Based on chart above (from Google Webmaster Tools), there was a drop in the middle of January. That was the result after blog optimization ~ about 5-6 seconds faster. And another 1 in early February ~ Moving out from HostMonster shared web hosting to HostGator VPS hosting ~ 1-2 seconds faster.

As a result, blog optimization is very important. And good web hosting does help too.


Thanks to poor DB server performance of HostMonster. JayceOoi.com was migrated to HostGator VPS Hosting Level 3 with cPanel. HostGator VPS Hosting Level 3 with cPanel is a fully managed hosting which means that HostGator will handle just about any issue or configuration request you may have with your server outside of custom software/script installations. That includes

  • Security audits.
  • Load problems or sluggishness.
  • Network related issues.
  • Failure of server to boot.
  • Hardware failures
  • Package installations via package manager (yum,rpm).
  • DNS Configuration
  • Troubleshooting script configurations and/or website errors.
  • Task automation.
  • Firewall setup & troubleshooting.
  • E-mail configuration.
  • Software upgrades & migrations. (php, mysql).
  • Custom apache configurations (mod_python, mod_ruby, mod_wsgi)
  • Perl/PECL module/extension installations.
  • Backup configurations.
  • Google Apps setups.

HostGator VPS Hosting Level 3 Features

  • CPU – 1.13 GHz
  • RAM – 768 MB
  • Disk Space – 30 GB
  • Bandwidth – 500 GB

There are 9 packages for HostGator VPS Hosting. The first 2 levels are provided without cPanel and Plesk ~ Virtuozzo (VZ) Only. The control panel (cPanel and Plesk) is add-on able from level 3 onward. For those who are not familiar with Linux SSH, stay with cPanel or Plesk is the best option for you. Else you have setup everything by yourself on Virtuozzo (VZ) only package.

HostGator VPS Hosting Level 3 with cPanel Resources

Yup, you will get around 600MB of RAM and 27GB of disk space left on HostGator VPS Hosting Level 3 with cPanel. This is without any website and database installed. cPanel VPS Optimized takes up some resources. Therefore, you will not get the exact full 768MB RAM and 30GB disk space. But that won’t be any issue because there are still lot of plenty of resources left. And it is very easy to upgrade to another level (which double the resources) if you are running out of resources.

Come on, sign up and try it out…


Most of our WordPress blogs are hosted on Linux Apache server. And there is a guide to speed up your website with Apache .htaccess file tweaks. Saw this one at AllGure.NET for quite some times but did not implement it until now. By the way, this is one of the W3 Total Cache feature ~ “Instant” second page views (browser caching after first page view). But too bad, I enabled it on W3 Total Cache and failed to work. So I stick with AllGure.NET guide, and work like a charm.

“Instant” second page view

Above is the second page view of spBlogger.com. spbloggger.com’s images, CSS, JavaScript are cached at browser. Therefore, only the first line is coming from spBlogger.com and the rest from others like Nuffnang, Facebook, Google, ContextWeb…

If you did not implement it, you will see lot of not modified 304 status codes responded by your web server. You are wasting server CPU resources and user time as browser actually makes a request to web server to request for those files which are not modified. And they should be cached at browser level. So no addition requests to web server. Here are the examples using WebPagetest before and after.

How to speed up WordPress blog with Apache .htaccess?

# Turn on Expires and set default expires to 3 month
ExpiresActive On
ExpiresDefault A7257600
ExpiresByType image/x-icon A14515200

# Set up caching on media files for 1 month
<FilesMatch “\.(gif|jpg|JPG|jpeg|png|PNG)$”>
ExpiresDefault A2419200

# Set up caching on commonly updated files 1 month
<FilesMatch “\.(xml|txt|html|js|css)$”>
ExpiresDefault A2419200

<FilesMatch “\.(ico|gif|jpg|JPG|jpeg|png|PNG|css|js|html?|xml|txt)$”>
FileETag None

# gzip compression
<IfModule mod_deflate.c>
<FilesMatch “\.(js|css)$”>
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon

By adding these at .htaccess file, your images will be cached at browser. And CSS, JavaScript, XML and HTML will be compressed by the Apache server before send to browser. However, not all the web hosting can support gzip compression properly. I tried it on my 3 web hosting with same configuration. HostMonster and Just Host do not compress HTML, CSS and JavaScript most of the time. Only HostGator does the compression work perfectly. Wonder why…