Magento 2 default import process is quite slow if all proper setting is not used. Default Magento can slow the import process just after 500 products, so always try to import 500 products at a time.
May be you have more than 10k or 100k products in store. So you need to change indexing type “on save” to schedule. After just try the import products process, it will be much faster. After import script success, you just need to run reindexing command from SSH.
So just follow 2 ways to fix speed issues.
- Either split csv files with 500 products each
- Or change indexing setting from on save to update by schedule.
Later just run indexing command
sudo php bin/magento indexer:reindex