It is strange that the file descriptor value in the error messages is so high (e.g.,
30406), given the open connections is not close to the limit:
```
Jun 29 08:08:14 fep-1 /usr/local/fep-kamailio/sbin/kamailio[14111]: ERROR: <core>
[core/tcp_main.c:4451]: handle_tcpconn_ev(): io_watch_del(3) failed: for 0x7f524f7862d0,
fd 30406
```
The POSIX requires to use always the lowest available file descriptor value - `File
Descriptor Allocation`:
*
https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#t…
Maybe the implementation in your OS has bugs or doesn't follow the POSIX. You can try
to investigate the list of file descriptors listed in the proc for Kamailio processes,
should be in paths like:
```
/proc/_PID_/fd/
```
And you have to replace `_PID_` with the values corresponding to Kamailio processes,
interesting would be for `tcp main process` (usually the last process in `kamctl ps`) and
for the `tcp receiver ...`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2796#issuecomment-874608571