• Resolved britand

    (@britand)


    The other day our site slowed to a crawl. We had our host check into it, and this is the message we got back…

    “It seems the plugin WP Mail Catcher’ was DDOS’ing the site by making multiple requests a second to/wp-admin/admin.php?page=wp-mail-catcher&action=single_mail&id=320`. We have temporarily deactivated this plugin and things are looking good now. I would recommend looking into why this plugin was acting in this manner, but you should be good to go now that it is deactivated!”

    Any idea what caused this, how to fix it, or how to avoid it in the future? We really like your plugin and want to keep using it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author JWardee

    (@wardee)

    How many emails are you displaying in the table? My assumption is that you’ve set it to something like a couple of hundred and it’s generating the preview for each one when you load the page rather than lazy loading them.

    Let me know and I can investigate further.

    Thread Starter britand

    (@britand)

    To be clear, do you mean the “Number of items per page” in the screen options? If that is the case, how many do you recommend…the default of 20?

    Plugin Author JWardee

    (@wardee)

    I’ve tried a couple of ideas but can’t replicate the issue. Sorry I should been more clear ?? could you tell me:

    -How many emails has the plugin saved altogether?
    -How many emails are you viewing per page (the number in screen options)?

    The only time that URL is pinged is when you view the logs as a table so it’s likely a combination of:

    -Having too many admins logged in and viewing the email logs at the same time
    -Server not being powerful enough

    I have an idea for a possible fix which I can release in the next minor version but I can’t guarantee it will completely resolve your issue. I’ll reply in this thread when it’s released so you can give it a whirl.

    Thread Starter britand

    (@britand)

    I don’t recall how many it had saved at the time the issue happened. As for your second question, I think I had it set to show 100 per page.

    I’m the only one viewing the email logs, and I’m certain our server is up to par (we use FlyWheel for hosting). All that now said, maybe it was just some oddball glitch. I’ve since turned it back on, and so far so good. Even so, I will definitely try the update when it’s available. Thanks!

    Brian

    Plugin Author JWardee

    (@wardee)

    No worries. thanks for replying so fast! I have a sneaky suspicion it’s happening because of having it set to 100 per page so just viewing the page would result in 101 requests (1 for the main page then 1 for each email preview). Which this patch will resolve.

    I’ll reply to this thread when the patch is out for you to have a go with.

    Thread Starter britand

    (@britand)

    I am very glad to help, so no problem at all! (By the way, I also left a suggestion on Github for you regarding the ability to change the recipient email address when resending).

    • This reply was modified 4 years, 6 months ago by britand.
    Plugin Author JWardee

    (@wardee)

    Just a quick note to say I’ve published an update which should hopefully resolve your issue. The email preview is now rendered when the modal is opened. I’m going to close this issue but if you have any other issues feel free to start a new topic.

    Thanks for you suggestion on GitHub, I’ll look into it and will respond there!

    Thread Starter britand

    (@britand)

    Ok, thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘DDOS’ing Site?’ is closed to new replies.