Bulk insert is too slow

@Christian_Dahlqvist : yes it was...

I rebuilt the server and used io1 instead of gp2... increased the IOPS... also reduced the Heap size to 1.5GB (the sever has 4 GB RAM, and runs both MySQL and Elasticsearch)

It's running fine now... I think it must have been the IO as you pointed out... thanks for your help.