I'm using snimpy as a client to gathering snmp data and scheduling the tasks with apscheduler and threadpool.
Recently, I found fd of our process has been used out. During debug, I found that there are many udp ports are open even when no snmp task is running.
I'm curious about the reason why udp ports must be kept open.
What matters more is that I found the number of open ports is increasing slowly.
I'm monitoring about 70 devices with snimpy once half hour, but there is 100 open udp port now. Every half hour this number increase one or more. Several days ago, my process exit for too many fds after running for three days.
I'm using snimpy as a client to gathering snmp data and scheduling the tasks with apscheduler and threadpool.
Recently, I found fd of our process has been used out. During debug, I found that there are many udp ports are open even when no snmp task is running.
I'm curious about the reason why udp ports must be kept open.
What matters more is that I found the number of open ports is increasing slowly.
I'm monitoring about 70 devices with snimpy once half hour, but there is 100 open udp port now. Every half hour this number increase one or more. Several days ago, my process exit for too many fds after running for three days.