Skip to content
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

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

Open
ThatKalle opened this issue Oct 26, 2024 · 1 comment
Open

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

ThatKalle opened this issue Oct 26, 2024 · 1 comment

Comments

@ThatKalle
Copy link

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.

@ampledata
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants