The MU forums have moved to WordPress.org

recursion gone wrong ... i'm email spamming myself (4 posts)

  1. lampstax
    Member
    Posted 14 years ago #

    Does anyone know if there's some default plugin caching on WP ?

    I dont have Super Cache on, and its caching a plugin I wrote.

    Unfortunately this plugin recursively calls itself to check for a value for an option, then set that option value if not set, and recheck if that option value exist recursively. It emails me the blog name for debugging purpose when it needs to set the value.

    This is somehow causing it to call itself hundreds of time / minute for the past 20 or 30 minutes.

    I turned off the plugin. Then deleted the plugin. Then deleted the affected blog that was named in the debug email.

    But its still running the code for some reason. My mail box is blowing up with spams ( from myself! )

    I'm thinking this is some sort of function cache ?

    Is there anything I can do short of restarting the server?

  2. SteveAtty
    Member
    Posted 14 years ago #

    Have you got eAccellerator, or another php caching app installed?

  3. lampstax
    Member
    Posted 14 years ago #

    Doh !

    We actually have eAccelerator on for another website which shares the server.

    Is there a way to clear out the cache for only a specific site with eAcellerator ?

    Thanks

  4. SteveAtty
    Member
    Posted 14 years ago #

    I've no idea, I never really looked too deeply - can you opt to remove a single specific file from the cache?

About this Topic

  • Started 14 years ago by lampstax
  • Latest reply from SteveAtty