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

Stuck in epoll_pwait #43

Open
ampledata opened this issue May 20, 2024 · 2 comments
Open

Stuck in epoll_pwait #43

ampledata opened this issue May 20, 2024 · 2 comments

Comments

@ampledata
Copy link
Collaborator

ADSBCOT will stop reading /run/*/aircraft.json after some time, and prints nothing else to the logs. An strace shows:

root@airtak-home:/boot# ps -ef|grep -i adsb
root       65480       1  0 May17 ?        00:00:00 /bin/bash /usr/local/sbin/run_adsbcot.sh
root       65481   65480  0 May17 ?        00:33:23 /usr/bin/python3 /usr/local/bin/adsbcot
root      499726   64351  0 23:31 pts/1    00:00:00 grep -i adsb
root@airtak-home:/boot# strace -p 65481
strace: Process 65481 attached
epoll_pwait(3, [], 3, 87, NULL, 8)      = 0
epoll_pwait(3, [], 3, 0, NULL, 8)       = 0
getpid()                                = 65481
epoll_pwait(3, [], 3, 100, NULL, 8)     = 0
epoll_pwait(3, [], 3, 0, NULL, 8)       = 0
getpid()                                = 65481
epoll_pwait(3, [], 3, 100, NULL, 8)     = 0
epoll_pwait(3, [], 3, 0, NULL, 8)       = 0
getpid()                                = 65481
epoll_pwait(3, [], 3, 100, NULL, 8)     = 0
epoll_pwait(3, [], 3, 0, NULL, 8)       = 0
getpid()                                = 65481
epoll_pwait(3, [], 3, 100, NULL, 8)     = 0
epoll_pwait(3, [], 3, 0, NULL, 8)       = 0
...
@ampledata
Copy link
Collaborator Author

To reproduce: sudo systemctl restart dump1090-fa

@ampledata
Copy link
Collaborator Author

May 20 23:36:44 airtak-home adsbcot[499976]: [INFO] Retrieved 64 ADS-B aircraft messages.
May 20 23:36:45 airtak-home adsbcot[499976]: [INFO] Retrieved 64 ADS-B aircraft messages.

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

1 participant