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

  1. Garth Gutenberg
    Posted 2 years 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?


  2. Garth Gutenberg
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.