unitedstates / BillMap

Utilities and applications for the FlatGov project by Demand Progress
Other
15 stars 2 forks source link

Similarity task exceeds time limit #574

Closed aih closed 3 years ago

aih commented 3 years ago

May need to increase time limit

[2021-09-07 19:53:30,107: ERROR/MainProcess] Task handler raised error: TimeLimitExceeded(12000.0)
Traceback (most recent call last):
  File "/home/ubuntu/.pyenv/versions/3.8.3/envs/flatgov/lib/python3.8/site-packages/billiard/pool.py", line 684, in on_hard_timeout
    raise TimeLimitExceeded(job._timeout)
billiard.exceptions.TimeLimitExceeded: TimeLimitExceeded(12000.0,)
[2021-09-07 19:53:30,109: ERROR/MainProcess] Hard time limit (12000.0s) exceeded for uscongress.tasks.bill_similarity_task[d391b2e6-c3cc-446e-96e7-cd2bdf8c6de8]
[2021-09-07 19:53:34,703: ERROR/MainProcess] Process 'ForkPoolWorker-2' pid:592 exited with 'signal 9 (SIGKILL)'
aih commented 3 years ago

Increased time limit for celery workers to 20000