pytak icon indicating copy to clipboard operation
pytak copied to clipboard

asyncio.queues.QueueFull Error after X hours of running.

Open ThatKalle opened this issue 1 year ago • 2 comments

Error message recieved after running without issue for 17hrs or so.

2024-10-26 15:17:37,904 pytak INFO - Complete: <Task finished name='Task-3' coro=<RXWorker.run() done, defined at C:\Users\Administrator\AppData\Local\Programs\Python\Python313-32\Lib\site-packages\pytak\classes.py:236> exception=QueueFull()>
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-3' coro=<RXWorker.run() done, defined at C:\Users\Administrator\AppData\Local\Programs\Python\Python313-32\Lib\site-packages\pytak\classes.py:236> exception=QueueFull()>
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python313-32\Lib\site-packages\pytak\classes.py", line 246, in run
    self.queue.put_nowait(data)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python313-32\Lib\asyncio\queues.py", line 166, in put_nowait
    raise QueueFull
asyncio.queues.QueueFull

C:\adsbcot>

dump1090.exe still running. TAK-server still running.

Results in CoTs no longer being sent to server.

A restart of the program enabled flow again adsbcot -c adsbcot.ini.

ThatKalle avatar Oct 26 '24 15:10 ThatKalle

adsbcot is expected to exit when it encounters these types of errors. You should run it as a daemon with a process management tool like systemd, supervisord, et al. I know Windows has a process manager for these types of things, but I'm not familiar enough with it to offer advice on setup.

ampledata avatar Jan 03 '25 19:01 ampledata

Had the same issue, event when increasing the queue size in the file config. Any idea what cause that?

Zuilf456WQ avatar Aug 29 '25 22:08 Zuilf456WQ