High Resource Usage

From Free Hosting Wiki
Revision as of 23:51, 8 November 2011 by TechAirlines (Talk | contribs)


Jump to: navigation, search

To prevent abuse to the free hosting servers, x10 has implemented a policy where it temporarily suspends accounts that reach and bust the limit placed on server resource usage. This means that resource intensive scripts can possibly get flagged by the system, even if it's the only time they will be ever ran.

The type of suspension issued by High Resource Usage (HRU) is different from other suspensions in that in only blocks access to your website. You can still log into cPanel and FTP to attempt to fix your issue. Any account found breaking the resource usage limits will be suspended for 1 hour. Community Assistants are unable to unsuspend you for HRU suspensions, you must wait the hour.

Resource Limits

As of fall 2011:

  • 300 seconds of CPU time per hour

To get your suspended, your site has to surpass the above limit. Usually, reaching that limit indicates a bug in your scripts.

Wordpress

Wordpress (WP) is a known CPU hog and with just a few plug-ins will cause an HRU suspension. A caching plug-in should help reduce WP's load on the server, but it may not be sufficient to prevent HRU suspensions, and on large sites will actually cause high resource usage during the cache generation.

There currently isn't a way of determining which WP plug-in(s) may have caused a suspension. If this happens to you more than once, you'll have to use trial and error to figure out which plug-ins you can run.

  1. First, note the maximum period that your site runs without getting suspended (e.g. 1 week).
  2. Disable all the plug-ins but one,
  3. Then re-enable others (starting with the most important) at twice the suspension period (e.g. fortnightly).
  4. If your site gets suspended, disable the last enabled extension.

You can try to reduce the test period by running a load test on your site. Basically, find out your site's peak usage and use some tool to request pages on your site at double the peak frequency. If this doesn't cause an HRU, you can enable more plug-ins and repeat the load test. However, this run the risk of being identified as a denial of service (DoS) attack and getting your IP blocked by the firewall.

If you re-enable extensions more frequently, you can't be very sure that the last enabled extension is the most problematic and is thus the one to disable. Even with a long period between re-enabling extensions, your site still might get the occasional HRU suspension. If all else fails, you could try installing different blogging software. Check Softaculous or Fantastico in your site's cPanel for easy installation.

Personal tools
Namespaces

Variants
Actions