• Hello,

    After upgrading to PHP 7.4, the rest of me admin seems to be normally responsive, but the tools.php?page=view-broken-links page has become extremely slow.

    Any known issues?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @bhadaway

    Just checked in a testing site and didn’t notice anything like that (actually things were a bit faster than v.7.2).
    Can you use the Query Monitor plugin and check for possible errors and/or slow queries?
    https://wordpress.org/plugins/query-monitor/

    Thank you,
    Dimitris

    Thread Starter Bryan Hadaway

    (@bhadaway)

    There are no errors, but BLC is the only plugin throwing slow query warnings (8 in total).

        blcLinkQuery->get_links()
        wp-content/plugins/broken-link-checker/includes/link-query.php:580
        blcLinkQuery->get_filter_links()
        wp-content/plugins/broken-link-checker/includes/link-query.php:682
        wsBrokenLinkChecker->admin_menu()
        wp-content/plugins/broken-link-checker/core/core.php:387
        do_action('admin_menu')
        wp-includes/plugin.php:478
    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hello @bhadaway

    Thank you for response!

    May I also ask

    – how many (roughly) links are on the site and how many are listed already on “Tools -> Broken Links” page (if you look at “all” tab there)?

    – is there any server-side cache (especially an object cache) active for site and if yes, could you try clearing it up and see if it changes anything?

    Kind regards,
    Adam

    Thread Starter Bryan Hadaway

    (@bhadaway)

    1. Over 10k now. They’ve all been scanned and accounted for.

    2. Yes, I’m using OPcache. Clearing the cache had no effect.

    However, note that the links haven’t increased from when it was fast to now that it’s slow.

    The major change was upgrading to PHP 7.4. I wonder if there was a subtle change to how the OPcache is handled in 7.4.

    Actually, just found…

    https://stitcher.io/blog/preloading-in-php-74
    https://www.ibexa.co/blog/benchmarking-php-7.3-vs-7.4-with-symfony-4.4-trouble-with-opcache-preloading

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @bhadaway

    Thanks for response and additional information!

    As for cache, I was thinking more of object cache rather than OPCache as object cache would directly affect DB queries while OPCache would rather affect script execution. I don’t think that the way code is executed has changed much here and I’d rather expect the slowness to be more related to either handling DB data or to the way connections are handled.

    But that’s just an assumption as I wasn’t able to replicate it on 7.4 too, so I might be wrong.

    Actually, I think you might be right about OPCache though that most likely wouldn’t affect all setups. I’ve asked our developers to look into it and I’m awaiting some feedback on it from them so I (or one of my colleagues) we’ll update you here once we got some insights from developers’ point of view.

    Best regards,
    Adam

    Thread Starter Bryan Hadaway

    (@bhadaway)

    Appreciate it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Known issues with PHP 7.4?’ is closed to new replies.