• Resolved amedic

    (@amedic)


    Several months ago after installing MailPoet 3 I have experienced high CPU usage. Problem was solved with installing MailPoet 2.

    Yesterday I had again high CPU usage problems and the problem was in MP2 cron job.

    I have installed MailPoet 3 and manually configured cron job to once in 2 hours in the cPanel since I’m not sending mails very often.

    But I have just experienced CPU problems again. As soon I have disabled MP3 plugin the problem was solved.

    How to fix this?
    What is optimal frequency for the cron job?

    Thank you.

    EDIT:
    I’m also on SIteground. Is it better to manually setup cron job or use “Visitors…”? My site have aroud 1000 unique visits per day.

    • This topic was modified 5 years, 5 months ago by amedic.
Viewing 9 replies - 1 through 9 (of 9 total)
  • I’ve been through the same problem with MP on Siteground.
    Did you go by this?
    https://www.siteground.com/tutorials/wordpress/real-cron-job/
    It worked for me. but what a pain.

    Thread Starter amedic

    (@amedic)

    Yes, I have set it up to once in 2 hours. But had that spikes that crush my site. And I’m on Siteground VPS. Siteground hosting…

    Thread Starter amedic

    (@amedic)

    Can support give me an advice how to solve CPU issue. Becasue my only solution was to unsitall the plugin.

    Hey guys,

    We now offer the option to set up a server-side cron (Linux cron), which may help you with the high CPU usage issue.

    Like Pedro mentioned, SiteGround has a documentation to guide you: https://www.siteground.com/tutorials/cpanel/cron-jobs/#Adding_a_cron_job

    You should go to MailPoet > Settings > Advanced and select the option “Server side cron (Linux cron)” as your Newsletter task scheduler (cron). Then just follow the on screen instructions.

    We hope it helps!

    Thread Starter amedic

    (@amedic)

    Thank you for the reply.

    I have done that as soon as I have activated the plugin.
    I used path from the settings and created a cron job in the cPanel. Frequency was set to once in 2 hours, like I have explained in my post.

    I had to deactivate plugin last night. After 24h I have reactivated it and processor went up. As soon I have deactivated it CPU went to normal:
    https://imgur.com/a/c7fq1wo

    So what is the solution?
    I will migrate from Siteground soon. Are you experiencing the same issues on other hostings? I want to migrate to cloudey.net. Will I experience same CPU abuse with them also?

    Is solution to downgrate to MP2?

    Thank you.

    Thread Starter amedic

    (@amedic)

    @pedro-magnifico
    What path did you use? I have copied the path that I get in the settings but it seems it is not working.

    Thread Starter amedic

    (@amedic)

    Used wrong path in cron job.

    Now it is OK, thanks.

    Plugin Author MailPoet

    (@mailpoet)

    @amedic, you have sorted your issue, correct?

    Thread Starter amedic

    (@amedic)

    @mailpoet, I thought that I have, but after reactivating the plugin I had spikes in CPU and RAM usage. They lasts for about 5 minutes and after it everything is back to normal.

    I had to deactivate the plugin.

    Do you have problems only with Siteground?

    • This reply was modified 5 years, 5 months ago by amedic.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘High CPU usage’ is closed to new replies.