Support » Plugin: Proxy Cache Purge » Plugin fails with host migrations

  • I host my site on a Dreampress host and I’ve been using this plugin for years with success and I was super comfy given the plugin is “Brought to you DreamHost.”

    However a couple of weeks ago Dreamhost initiated a migration of my site to another server. Ever since then my site has been really slow when post updates have been performed (ie whenever wp_insert_post() is called). AJAX calls and routines would stall for ~30 seconds.

    After hours and hours debugging my code (custom plugin) it turns out this plugin caused the problem! When you specify a custom IP, and that IP no longer exists, the plugin stalls presumably because it’s trying to connect to the old specified IP.

    Suggested improvements:
    1) The plugin should detect this and spit out an error (to errors.log or ideally to admin console) if proxy connections are taking too long. I’m guessing it does a check when you first set an IP but perhaps it should do a more regular check.

    2) Dreamhost operational processes should be modified given the plugin comes from Dreamhost! If Dreamhost choose to migrate someones site, they should check for the existence of this plugin, and either update the custom ip to suit the new host or perform some alternate remediation before migrating and breaking the site.

    I trust implementing both of these will go a long way to keeping a site operational and be well received by Dreamhost customers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    The plugin actually doesn’t verify the IP because it can’t — If it was DreamHost only, sure could. The problem is this plugin is also used outside of DreamPress servers, so I have to leave it a little more open.

    That said! Yeah, moving you to a new server, which is something we automate, should be able to handle that. In fact, it’s supposed to handle that for you. So I’m going to go figure out what the heck happened there!

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    So we did some checking. The automated mover we have for version 3 of DreamPress actually does all this. At a guess, you’re using the older servers, though without your domain I can’t go and check to be sure.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin fails with host migrations’ is closed to new replies.