WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
Multisite Network Activation Takes Forever (2 posts)

  1. Garth Gutenberg
    Member
    Posted 5 months ago #

    I have a WP multisite with > 2000 sites. I just tried to do a Network Activate of this plugin. Initially it hit the 60s PHP execution timeout, so I set that to unlimited. After this, when I hit Network Activate the page just sat there spinning for > 30 mins before I restarted apache. This is a copy of our production environment, so no harm done. But short of debugging the plugin myself, is there anything I can do to fix this?

    https://wordpress.org/plugins/wordpress-https/

  2. Garth Gutenberg
    Member
    Posted 5 months ago #

    I added some debug code to this and re-ran the activation. After 2.5 hours the script crapped out (not sure why - nonce lifetime maybe?), and it had touched 1500 of the 2000 sites. So I'm re-running the activation again, but I don't expect any different results.

    What's interesting is that the first 10 sites get hit in about 1 second. But by the time the 2.5 hour mark hit it was taking 10 seconds per site. Is this a MySQL thing, or a bug in the plugin code? I couldn't find anything in particular that should cause this in the plugin, but I didn't spend that long debugging it either.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.