Your software
My Mautic version is: 2.15.3
My PHP version is:7.1.33
Your problem
My problem is: Import Contacts is very slow.
I have upload csv which has 14K plus record and tried with browser import it will take around 1hour and if i choose background import it will take more than 30 minutes.
It is very slow in both case.
The speed of the background import depends on the batch size you import with your cron job.
for example:
mautic:import --limit=500
will import only 500 contacts every time your cron job runs.
If your cronjob runs every 5 min, than it will take you 28 minutes
Try to go in with ssh, and run your cron commands by hand.
Start a stopwatch on your phone and time it how long the 500 emails takes.
If you see, that it’s really slow - you might need to look for a better hosting, or tweak your config.
If you see, that the 500 is done within 1 minute, than you can change your cronjob accordingly.
Please note, that if importing 14.000 contact really takes 30 minutes, you’ll have speed issues when you rebuild your segments.
I just transferred by segments from one install to another hit this issuue. It was solved very well by upping the limit. I ended going with 3000 which was handled very well by Mautic. I’m running on a beefy system but it seemed to not even phase the CPU or memory.
Hi,
This is the Cronjobs you need to set up for Mautic.
After installing Mautic make sure you have the email column indexed in leads table (Should be, but if not it can cause slow import.)
If you don’t know how to do these things I recommend to read more the forums or get pro Mautic help.