-
Notifications
You must be signed in to change notification settings - Fork 88
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
Cancel queued and running pipeline task #176
Comments
See also #134 |
https://docs.celeryproject.org/en/latest/userguide/workers.html#revoke-revoking-tasks The
|
@pombredanne Note that we picked the "thread" pool instead of the default "prefork" one since we were encountering the following error when entering multiprocessing section of the code: This issue is related to a conflict between Celery that uses billard were the toolkit is using multiprocessing, if I remember correctly. We may want to revisit this since the "thread" pool does not support several Celery features like terminate and timeouts. |
let's do it. |
@pombredanne The problem is not only on the TK side, we have entirely based the multiprocessing code in ScanCode.io on the |
Current concurrency setup:
We decided to use the The issue: The Possible solutions:
|
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
The interuptible system in the toolkit does not play nice with ProcessPool Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
… mode #176 Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
…ings #176 Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
…176 Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
#176 Signed-off-by: Thomas Druez <tdruez@nexb.com>
Ability to stop a running pipeline and delete queued pipeline available in latest release https://github.com/nexB/scancode.io/releases/tag/v30.0.0 |
https://docs.celeryproject.org/en/latest/userguide/workers.html#revoke-revoking-tasks
https://docs.celeryproject.org/en/stable/reference/celery.contrib.abortable.html
https://www.ralphlepore.net/safely-cancel-your-celery-task/
https://stackoverflow.com/questions/30624290/celery-daemonic-processes-are-not-allowed-to-have-children
The text was updated successfully, but these errors were encountered: