Recommendation to improve wp-admin control panel performance

Recommendation to improve wp-admin dashboard performance: please provide suggestions and a way to identify bottlenecks in the Wordpress admin dashboard issue. This is a multi-user mode and third-party plugins are included. How to determine plugin conflict and which plugin causes primary / memory problems. All these php-fpm, nginx work in the DOcker container

Observed issues: During login During publication, create a new page load

+7
performance php docker nginx wordpress
source share
7 answers

Thanks for all your submissions. I identified the problem and resolved it. The problem is the network file system, and the php script takes longer to read it, because the total size of the loaded assets is in GB, and the wordpress structure built into the filter will make a recursive call to calculate the size. I used the slow Debug bar action and filter to determine which action / filter takes longer.

Decision. And in the multisite admin panel there is a parameter if you enable it and it will skip calculating the disk size. Now the site is very fast. But it will lose the functionality of restricting users from ex loading. I define 2 gb for each site, then this function will be disabled to limit users with a 2 GB disk quota. Is there any way to customize this stuff? Please provide your valuable suggestions.

+1
source share

Below is a step-by-step guide to identifying performance issues.

  • If the server is not in production or if it does not matter much, try switching to any default WordPress theme (for example, TwentySeventeen) and see if something changes.

  • You can disable all plugins and see if this helps. If so, try turning on the plugins one by one, and this will help you determine which plugin is causing performance problems.

  • Try installing a free plugin called Debug Bar (you can do it from Plugins-Add New), it will show you the slow things on your website.

    debug bar plugin

  • Checking your browser console may also help.

+3
source share

Since this problem is caused by the interaction of both your code (plugins) and your production environment, you will need a tool that takes all this into account when trying to determine the cause.

I really like New Relic for this. This is a paid product, but with a free trial, you can diagnose your problem. They have WordPress integration that will show you how many seconds / ms each action hook and plugin happens.

+2
source share

There are several PHP performance tools, such as XHProf, that can help you determine the cause of the problem.

Please do not forget to tell us what the problem is by updating your answer!

+1
source share

Can you provide us with a list of plugins ??

I could tell you that this is a waste of memory from my experience ...

Do you use, for example, a widget for a visual composer, the one named so is the worst backend in terms of his needs for styles and premium themes, which are most often combined with the master slider revolution, which also has an insane memory ...

Do you have many plugins, so let's say more than 10-20? Do you need all of them? Which ones load when editing a page in the backend?

If you really need everyone they think about renting a better server ...; -)

+1
source share

What I found during my struggle with slow wp-admin is the wordpress wordpress function , which is responsible for automatically saving and creating thousands of copies of the same message. It sets the autosave interval. This is not a performance killer, but in my case (woocommerce with several thousand entries) it helped a little to improve the speed of the admin panel, it may also be useful for you.

You can try in your .php functions to add the following:

add_action( 'init', 'stop_heartbeat', 1 ); function stop_heartbeat() { wp_deregister_script('heartbeat'); } 
+1
source share

I recommend making a backup of the site on another server and checking the problem. If problems still exist, disable the plugins one by one.

0
source share

All Articles