-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hey guys! I've been using this faktory adaptor for quite some time and have had great success with it!
My application consists of a faktory worker inside of a kubernetes pod, which runs a image processing algorithm. The system works really well, but when I checked the logs recently I encoutered this error:
╭──── Traceback (most recent call last) ─────╮
│ /app/venv/lib/python3.8/site-packages/fakt │
│ ory/worker.py:248 in │
│ send_status_to_faktory │
│ │
│ 245 │ │ │ if future.done(): │
│ 246 │ │ │ │ self._pending.remove │
│ 247 │ │ │ │ try: │
│ ❱ 248 │ │ │ │ │ future.result(ti │
│ 249 │ │ │ │ │ self._ack(future │
│ 250 │ │ │ │ except KeyboardInter │
│ 251 │ │ │ │ │ self._fail(futur │
│ │
│ /usr/local/lib/python3.8/concurrent/future │
│ s/_base.py:437 in result │
│ │
│ 434 │ │ │ │ if self._state in [C │
│ 435 │ │ │ │ │ raise CancelledE │
│ 436 │ │ │ │ elif self._state == │
│ ❱ 437 │ │ │ │ │ return self.__ge │
│ 438 │ │ │ │ │
│ 439 │ │ │ │ self._condition.wait │
│ 440 │
│ │
│ /usr/local/lib/python3.8/concurrent/future │
│ s/_base.py:389 in __get_result │
│ │
│ 386 │ def __get_result(self): │
│ 387 │ │ if self._exception: │
│ 388 │ │ │ try: │
│ ❱ 389 │ │ │ │ raise self._exceptio │
│ 390 │ │ │ finally: │
│ 391 │ │ │ │ # Break a reference │
│ 392 │ │ │ │ self = None │
╰────────────────────────────────────────────╯
BrokenProcessPool: A process in the process
pool was terminated abruptly while the future
was running or pending.
I saw that this error apparently was resolved in #42 , but my pods are runnin faktory 1.0.0, so the fix should be availiable. This does not kill the pod or make it restart, but I would like to get to the bottom of this. Any tips?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels