Describe the bug
We are currently using dnscollector version 1.0.0 with the afpacket sniffer. The issue arises when attempting to stop or restart the dnscollector service. The process does not shut down gracefully. Instead, it seems to hang indefinitely until the timeout is reached, at which point systemd forcefully kills the process. Could this be due to some of the system resources not being released?
Describe the bug We are currently using dnscollector version 1.0.0 with the afpacket sniffer. The issue arises when attempting to stop or restart the dnscollector service. The process does not shut down gracefully. Instead, it seems to hang indefinitely until the timeout is reached, at which point systemd forcefully kills the process. Could this be due to some of the system resources not being released?
INFO: 2024/10/07 14:23:32.077692 worker - [afpacket] afpacket sniffer - stop to listen...
This problem does not occur if there is no incoming traffic on the interface. To Reproduce
Expected behavior The service should stop or restart gracefully.