WordPress.org

Ready to get started?Download WordPress

Forums

FeedWordPress
FeedWordPress email_diagnostic_log slowing down page loads (4 posts)

  1. ewendland
    Member
    Posted 3 years ago #

    Hi,

    We were noticing super slow load times for our wp-admin pages. After lots and lots of debug statements we found that the culprit was FeedWordPress. It has a registered shutdown event email_diagnostic_log which apparently sends emails to the admins of the blog if there are errors.

    For the recipient list it wants to use an option called "feedwordpress_diagnostics_log_recipients". I can't see how that ever gets set... so for us it is NULL. This means that the code then goes out to figure out who are all the admins for this site. That takes quite a long time when you have lots and lots of users.

    The saddest thing is that the next step it takes is to decide if it should even be sending errors at this time. It has a nice way of only running this code once a day, but unfortunately the most expensive chunk of code (in our case) is located OUTSIDE of this check.

    If the authors could move the building of recipients inside the time-checked loop, this would be much more efficient.

    http://wordpress.org/extend/plugins/feedwordpress/

  2. thors1982
    Member
    Posted 3 years ago #

    This must be what is happening to me. Every time I enable this plugin it brings my site to a crawl. We also have lots and lots of users.

    If this could be fixed or if there is a workaround that would be good to know.

    Thanks

  3. Brian Messenlehner
    Member
    Posted 3 years ago #

    Same thing is happening to me. I'm not using the log so a quick and dirty fix for me was to remove all of the code inside the function email_diagnostic_log () in feedwordpress.php. I'm sure I can come up with a more elegant solution then just ripping out code but I don't have the time for it at the moment. Site seems to be running much faster now. Hopefully the devs push out an update that really addresses the issue.

  4. bigblueb
    Member
    Posted 3 years ago #

    Has anyone found a less hacky solution to this yet?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic