Home Forums Newsletter Plugin Support Deliver speed is too slow

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15631
    dsueiro
    Participant

    I’m using Mandrill extension and I have a database with 5k email.
    I configured the deliver speed to 5k per hour but its taking 12hrs to send all emails.
    My website is hosted in a Digital Ocean Virtual Machine.

    What can I do get the emails delivered faster?

    #15710
    Stefano
    Keymaster

    Hi, probably the sending process is slow because your PHP configuration or your server cannot manage to send 5000 emails per hour. Check the logs generated by Newsletter (wp-content/logs/newsletter) and on main log you could find a timeout reached. Let me know.

    #15841
    dsueiro
    Participant

    Stefano,

    Here is some message logs:
    22-04-2015 06:32:14 – INFO – 17,4 MB – limits_exceeded> Max time set to 28
    22-04-2015 06:32:42 – INFO – 19,4 MB – limits_exceeded> Max execution time limit reached
    22-04-2015 06:37:04 – INFO – 17,4 MB – limits_exceeded> Max time set to 28
    22-04-2015 06:37:33 – INFO – 19,4 MB – limits_exceeded> Max execution time limit reached

    It is sending 60 emails in average each 5 minutes.
    I’m using a VPS with 1GB RAM and 2 1GHz cores. I think this is related to php timeout.

    I’ve changed “max_execution_time” to 60 and here is the log:
    22-04-2015 06:37:33 – INFO – 19,4 MB – limits_exceeded> Max execution time limit reached
    22-04-2015 06:42:05 – INFO – 17,4 MB – limits_exceeded> Max time set to 57

    And now it is sending more emails per cycle (almost twice).

    Is there any recommended value for max_execution_time?

    #15843
    Stefano
    Keymaster

    You have the max execution time of php too low, it’s 30 seconds. You should ask the provider to raise it to at least 180 seconds. On main configuration of Newsletter you can try to force that value: if it would be effective depends on your provider server settings.

    If you force only on Newsletter configuration you can avoid to have such larger value on every PHP execution.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.