Support » Plugin: Enhanced Media Library » Major wp-admin slowdown

  • Resolved Cameron Barrett

    (@cameronbarrett)


    I had to recently disable this plugin because it’s causing my wp-admin to slow way down, making it almost unusable. We run a large multisite (about 100 sub sites). The database is about 1.1GB is size and the Media Library has about 6000 items in it.

    Turning this plugin off reduced the wp-admin load time from 16 seconds to under 5 seconds for a medium-level complex Page displaying the Edit screen in the WordPress back-end.

    The culprit is the a call named: wpuxss_eml_on_init in: wp-content/plugins/enhanced-media-library/enhanced-media-library.php

    163: * wpuxss_eml_on_init
    169:add_action( ‘init’, ‘wpuxss_eml_on_init’, 12 );
    171:if ( ! function_exists( ‘wpuxss_eml_on_init’ ) ) {
    173: function wpuxss_eml_on_init() {

    This call is taking up to 23% of the page load CPU. Here’s a screenshot of New Relic.

    https://www.dropbox.com/s/iifeqgqqwcsrewl/Screen%20Shot%202018-06-06%20at%201.08.42%20PM.png?dl=0

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author webbistro

    (@webbistro)

    Hello Cameron,

    Please try to unset Show count at Settings > Media Library (tab) and let me know if this helps.

    Best,
    -Nadia

    • This reply was modified 1 week, 5 days ago by  webbistro.

    Already unchecked.

    I unchecked “Show media items of child media categories as a result of filtering” and that did not help much, either.

    Plugin Author webbistro

    (@webbistro)

    No, I mean exactly “Show count: Show item count per category for media filters.
    Disable this if it slows down your site admin. The problem is resolved in the upcoming major update v3.0”. It’s above the setting you mentioned.

    Best,
    -Nadia

    Right, it was already unchecked (disabled).

    Plugin Author webbistro

    (@webbistro)

    Well, I need more information about your installation:

    (1) You said Media Library with more than 6000 images in it. Multisite does not have a common media library. Each sub-site has its own. So, what do you mean?

    (2) What is the page of admin exactly which you have measured? The URL?

    (3) How many taxonomies did you create with Enhanced Media Library per site on average? And how many terms (categories) per taxonomy?

    Thank you.

    Best,
    -Nadia

    Plugin Author webbistro

    (@webbistro)

    Hello Cameron,

    Have you seen my previous message? Can you please give me more information about the issue?

    Best,
    -Nadia

    Sorry, I’m out of the office for a few days. I can follow up when I’m back next week.

    Cameron Barrett

    (@cameronbarrett)

    1) 5624 items in the main site’s Media Library

    2) /wp-admin/options-general.php?page=media-library

    3) Only 2 taxonomies, lightly used.

    MPUserr

    (@mpuserr)

    I also have a Multisite install and with the update to Enhanced Media Library v2.6.4, the Media Library page does not load at all. I had to deactivate the plugin. I’m using WP v 4.9.6.

    Plugin Author webbistro

    (@webbistro)

    Hello Cameron,

    Thank you for the information, we are still working on various tests. I’ll come back as soon as I have more information.

    Best,
    -Nadia

    Plugin Author webbistro

    (@webbistro)

    Hello @mpuserr,

    I am sorry the plugin has caused issues to you. Can you please give me more details:

    (1) Media library List or Grid mode?

    (2) What do you mean by “does not load at all”? Empty screen? No images but the header and the footer are in place? Endless spinning?

    (3) Is it the main network website or the other one?

    Thank you.

    Best,
    -Nadia

    Plugin Author webbistro

    (@webbistro)

    Cameron,

    Do you have any development environment to test the changes in a beta version?

    Best,
    -Nadia

    Yes, you can email me (cbarrett@nps.k12.nj.us) any a diff version of the plugin and I can test it both on staging and production. It’s a dedicated managed server at WP Engine, not yet running PHP 7.

    Hi Nadia,

    I have the beta version you sent me running in Production and there is a definite speed increase in loading the WordPress back-end while this plugin is enabled. Some back-end page loads were up to 11-20 seconds with the previous version and now we’re looking at 2-6 seconds. We do have a LOT of plugins running on this large multisite and pages using Visual Composer also load slower, but that’s unrelated to the above issue.

    I’m going to keep an eye out for more back-end slowness but right now it appears like you’ve fixed some, if not all, of the issues your plugin was causing with back-end page load times.

    Plugin Author webbistro

    (@webbistro)

    Cameron,

    Thank you for confirming! We’ll release an update soon.

    Best,
    -Nadia

Viewing 15 replies - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.