WordPress.org

Support

Support » Plugins and Hacks » WordPress HTTPS (SSL) » Multisite Network Activation Takes Forever

Multisite Network Activation Takes Forever

  • 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/

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite Network Activation Takes Forever’ is closed to new replies.
Skip to toolbar