google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
750 stars 163 forks source link

Set celery task limits and fix worker timeout #1486

Closed aarontp closed 5 months ago

aarontp commented 6 months ago

Description of the change

After this change there will be four different timeouts that can occur:

Applicable issues

Additional information

Checklist

jleaniz commented 6 months ago

@aarontp removing '--pool=solo' from worker.py:253 should enable time limits and avoid the blocking issues we were experiencing.

aarontp commented 6 months ago

@aarontp removing '--pool=solo' from worker.py:253 should enable time limits and avoid the blocking issues we were experiencing.

Indeed, that worked, thanks!

aarontp commented 5 months ago

PTAL, I added the soft limit exception to the execute() method as well.