Solve the problem that magento2 SSH index skipped or delayed for a long time

Job ID: 34432589

Budget: $10 – $30 USD

Because the website needs to upload many products
Use: magento indexer:reindex SSH command
The following feedback appears

www-data@debian:~$ /var/www/tapestryfor.com/bin/magento indexer:reindex
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:00
process error during indexation process:
Category Products index is locked by another reindex process. Skipping.
process error during indexation process:
Product Categories index is locked by another reindex process. Skipping.
Catalog Rule Product index has been rebuilt successfully in 00:00:00
Product EAV index has been rebuilt successfully in 00:01:28
Stock index has been rebuilt successfully in 00:00:01
Inventory index has been rebuilt successfully in 00:00:00
Catalog Product Rule index has been rebuilt successfully in 00:00:00
Product Price index has been rebuilt successfully in 00:00:03
process error during indexation process:
Catalog Search index is locked by another reindex process. Skipping.
www-data@debian:~$
1, to solve this problem and the site's many products indexed long time
2, tell is how the steps to solve the problem
Related categories: PHP Linux Magento Apache MySQL