WordPress resource consumption


WordPress resource consumption issues and basic manipulations

Wordpress resource consumption

WordPress resource consumption

One of the best advantages WordPress offers is that the application can easily be extended thanks to the number of the free plugins available on the official repository. This however,  hides risks. The installation and activation of too many plugin may increase the resource consumption of the application which might be penalised by the hosting service provider. Before proceeding with the installation of any specific plugin, it would be good to put it on test on a local environment and check how it works. Before publishing to live, make sure you have a backup copy to revert. The same goes to themes as well. There are a number of themes published on the official website. Some of them are indeed professionally developed, but some of them cause wordpress resource consumption issues.

Resource consumption aspects

Speaking of resource consumption, I would like to highlight 3 main aspects of the problem.

  • Memory usage
  • CPU usage
  • and Mysql issues in a form of slow queries

As these 3 are separate issue which is some cases could be connected, they require different approaches to resolve.

WordPress memory usage

The error  that refers to insufficient memory is “Out of memory …” either displayed on the home page or on a specific inner page. WordPress triggers it when it reaches the maximum amount of memory. As a result of this there are not enough resources to complete the request. So the question here is how to resolve this.

Generally speaking there are a number of methods that would give positive effect over the memory usage. The main ones are :

  • Remove the plugins you do not need. I can assure you that WordPress does not need 20+ active plugins in order to operate normally.
  • Upgrade PHP Version. Note that newer PHP Versions are better optimised and usually decrease the consumption. For example PHP4 compared with PHP3 consumes over 45% less memory. So if your hosting provider supports multiple PHP version, I would recommend migration to a newer version.
  • Another available course of action is of course adding more memory. This depends on the situation. If the website is less known and the problem is caused by a number of plugins which are not actually needed, then upgrading the memory may not be wise.
  • Perhaps the best solution is going further and investigate what exactly is the root of the problem. There are a few great plugins that would help to measure the usage and pinpoint the top consumer. Such investigation requires a bit more skills and if you are new on the field, you may need help from experienced developer. Plugins that give better idea on which plugin consumes the majority of the resources are P3 Profiler; Memory Viewer and Debug Bar.
Summary
WordPress resource consumption - issues and solutions
Article Name
WordPress resource consumption - issues and solutions
Description
WordPress resource consumption issues - what consumes server resources. How to identify the top consumers and reduce the usage. Dealing with poorly coded plugins. WordPress memory and CPU usage problems.
Author
Publisher Name
wppotion


Do you want to share your opinion?

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


*

We are not industry specific. We are WordPress specific. We work with everyone to help them find solutions with their troubles.
If you show us the problem you are experiencing, we will show you how to fix it. It is that simple.


Reported WordPress issues

  1. Wordpress User Login in Android App
  2. Long form upon submit form disappear but page stuck at bottom while confirm message at top
  3. Do you know about WordPress “Portfolio”?
  4. when i try to post to my wordpress site using curl in php, it says that cookies are not supported in my browser
  5. Changing post type slug to '/' breaks all pages
  6. Add multiselect Dropdown as an conditional logic field in WP UserFrontendPro
  7. PHP Fatal error: Uncaught Error: Class 'WP_Theme' not found
  8. How to prevent WordPress theme from removing analytics tracking parameters
  9. Does souncloud offer custom made soundcloud plugins for use by third party websites
  10. Hide html if metabox is empty, using custom post types

WordPress problems we are working on

  1. Home URL with query string not being called correctly - Wordpress
  2. Importing a Wordpress site to MAMP Pro 5
  3. WordPress site using the kale theme - site appears off screen and needs scrolling to appear on mobile devices
  4. Need Help in Implementing Responsive Hexagon Grid in WordPress
  5. How can I change my image src tags from absolute to relative urls on Wordpress?
  6. WordPress plugin create trigger not working
  7. Identifying which item was selected from a dynamically created form in WordPress / PHP
  8. Password Protect wp-login.php page nginx
  9. mysql setup with wordpress
  10. Skewed Letter “B” in Bebas Neue Font on Chrome Windows

Resolved issues

  1. What “route” should I take? Wordpress (as headless CMS) or the MERN way?
  2. Wordpress Themeco Theme X Pro Cornerstone custom sorting element accessing parent variables
  3. Remove unwanted Symbol from Pardot Landing Page using Wordpress Page Code
  4. Gravity Form - Want To Duplicate Sign In Sheet Entries So Names Don't Need To Be Re-Entered Daily
  5. JQMIGRATE and Wordpress Elementor: n.easing[this.easing] is not a function. jquery.js?ver=1.12.4:4
  6. My website's input fields color changing to white on iphone, ipad and mac
  7. Category listing required based on select product tags
  8. Hot to extend a class from child theme in wordpress?
  9. Wordpress SSO with OneLogin
  10. Add custom flow on member registration form in Wordpress website
wppotion - powered by persistence and passion