get_bulk, set, and get_multi used 'with' chains that skipped close_socket when the operation failed, leaking file descriptors. Over time this exhausted the fd limit causing EMFILE crashes. Switched to case + try/after to guarantee socket cleanup. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||