Emails sending very slow (300 per hour) after migrating to different server

Ok, so i see you were able to run crontab mwcron and no error was shown, so i think the cron jobs were added.. can you run crontab -l and see what it shows?
 
Yea Baby ;)

root@localhost:/# crontab -l
* * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php send-campaigns >/dev/null 2>&1
*/2 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php send-transactional-emails >/dev/null 2>&1
*/10 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php bounce-handler >/dev/null 2>&1
*/20 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php feedback-loop-handler >/dev/null 2>&1
*/3 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1
0 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php hourly >/dev/null 2>&1
0 0 * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php daily >/dev/null 2>&1
* * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php send-campaigns >/dev/null 2>&1
*/2 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php send-transactional-emails >/dev/null 2>&1
*/10 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php bounce-handler >/dev/null 2>&1
*/20 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php feedback-loop-handler >/dev/null 2>&1
*/3 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1
0 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php hourly >/dev/null 2>&1
0 0 * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php daily >/dev/null 2>&1
root@localhost:/#
 
Haha, not quite there unfortunately because we have duplicate cron jobs as you can see :-s so we need to remove the duplicates...
so do all the steps again WITHOUT the first one where you would do crontab -l >> mwcron, just:
Code:
# create a file named mwcron
touch mwcron

# add all the cron jobs in that file
echo "* * * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php send-campaigns >/dev/null 2>&1" >> mwcron
echo "*/2 * * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php send-transactional-emails >/dev/null 2>&1" >> mwcron
echo "*/10 * * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php bounce-handler >/dev/null 2>&1" >> mwcron
echo "*/20 * * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php feedback-loop-handler >/dev/null 2>&1" >> mwcron
echo "*/3 * * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1" >> mwcron
echo "0 * * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php hourly >/dev/null 2>&1" >> mwcron
echo "0 0 * * * /usr/bin/php -q /var/www/vhosts/domain.mailwizz.com/httpdocs/apps/console/console.php daily >/dev/null 2>&1" >> mwcron

# add the file entries to the cronjob
crontab mwcron

# remove the file.
rm mwcron

Then do a crontab -l to see if there are still duplicates.
 
Last edited:
@twisted1919

Are we there yet? :)

root@localhost:/# crontab -l
* * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php send-campaigns >/dev/null 2>&1
*/2 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php send-transactional-emails >/dev/null 2>&1
*/10 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php bounce-handler >/dev/null 2>&1
*/20 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php feedback-loop-handler >/dev/null 2>&1
*/3 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1
0 * * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php hourly >/dev/null 2>&1
0 0 * * * /opt/sp/php7.1/bin/php -q /srv/users/serverpilot/apps/my-website/public/apps/console/console.php daily >/dev/null 2>&1
root@localhost:/#
 
@twisted1919 Thanks bud. You're the best. Just got a popup that my support expired. Im gonna go renew it now cuz you rock.

Jet let me know what I have to do to move my license over to this linode server. Going to kill the other one.
 
I think im having some permission problems. Tried imported a csv file like i normally do and got the following error

  • Your form has a few errors, please fix them and try again!
  • Unable to move the uploaded file!
 

Attachments

  • Screen Shot 2017-04-19 at 5.03.08 PM.jpg
    Screen Shot 2017-04-19 at 5.03.08 PM.jpg
    85.7 KB · Views: 5
@Eric535 0 Run this from command line then try again:
Code:
chmod +x /srv/users/serverpilot/apps/my-website/public/apps/console/commands/shell/set-dir-perms && /srv/users/serverpilot/apps/my-website/public/apps/console/commands/shell/set-dir-perms
 
@twisted1919 I sent a campaign today of 39,459. It still took 6 hours and 45 minutes. Same speed as my hostgator vps. Is this a normal send rate? I have used another software that would send emails alot faster when i would use AWS like im using now. Anything else I can do to make it faster?
 
@Eric535 - I am sure we can do much better than this. what delivery servers are you using? can you also post a screenshot with the delivery settings from backend > settings > cron?
 
@Eric535 0 Run this from command line then try again:
Code:
chmod +x /srv/users/serverpilot/apps/my-website/public/apps/console/commands/shell/set-dir-perms && /srv/users/serverpilot/apps/my-website/public/apps/console/commands/shell/set-dir-perms

@twisted1919
This worked but today when I tried updating to the new version it wouldnt let me because of permissions errors. So im guessing my permissions issue is global. I took a snapshot of the root folder to see if anyone can see anything funny
 

Attachments

  • Screen Shot 2017-04-26 at 3.21.28 PM.jpg
    Screen Shot 2017-04-26 at 3.21.28 PM.jpg
    293.6 KB · Views: 6
Back
Top