Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing Progress Tracker stops after ~2 minutes #272

Open
erikattechslice opened this issue Nov 20, 2020 · 1 comment
Open

Indexing Progress Tracker stops after ~2 minutes #272

erikattechslice opened this issue Nov 20, 2020 · 1 comment

Comments

@erikattechslice
Copy link

Im trying to create a new default website index. The progress bar and indexing seems to pause after 2 minutes of running. Im not sure if refreshing the page or the cron list from the command line gets it to start running again.

image

is there a way to keep the crontask to keep running and indexing the site?

Thanks!
Erik

@almasaeed2010
Copy link
Contributor

This tracker is actually not that accurate. That is why we removed it in the most recent version of this module (use the master branch to get the latest code). Instead we redirect users the queue manager page to see how many jobs remain /admin/config/system/queue-ui.

If you are looking to speed up indexing by running multiple parallel jobs, you can add the following entries to your crontab:

* * * * * drush cron-run queue_elasticsearch_dispatcher --root=/path/to/your/drupal/root
* * * * * drush cron-run queue_elasticsearch_queue_1 --root=/path/to/your/drupal/root
* * * * * drush cron-run queue_elasticsearch_queue_2 --root=/path/to/your/drupal/root
* * * * * drush cron-run queue_elasticsearch_queue_3 --root=/path/to/your/drupal/root
* * * * * drush cron-run queue_elasticsearch_queue_4 --root=/path/to/your/drupal/root
* * * * * drush cron-run queue_elasticsearch_queue_5 --root=/path/to/your/drupal/root

More info here: https://github.com/tripal/tripal_elasticsearch/blob/master/docs/queues.md

This requires a lot of processing power though so if you find that your server is slowing down, you might want to remove this or reduce the number of running queues.

I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants