no idea, but I didn’t see anyone posting problems related with java.net.SocketException: maximum number of DatagramSockets reached
and searching github for DatagramSockets
in the openhab organization shows nothing: Repository search results · GitHub
I would say: binding problem (UDP leak)
I don’t know why ss -u -a
does not show up anything on your system… that’s very strange.
here is the output from my system:
root@homer:~# ss -u -a
State Recv-Q Send-Q Local Address:Port Peer Address:Port
ESTAB 0 0 127.0.0.1:57366 127.0.0.1:59535
UNCONN 0 0 172.16.13.100:domain *:*
UNCONN 0 0 127.0.0.1:domain *:*
UNCONN 0 0 *:bootps *:*
UNCONN 0 0 *:sunrpc *:*
UNCONN 0 0 172.16.13.100:ntp *:*
UNCONN 0 0 127.0.0.1:ntp *:*
UNCONN 0 0 *:ntp *:*
UNCONN 0 0 172.16.13.100:58019 *:*
UNCONN 0 0 *:supfilesrv *:*
UNCONN 0 0 127.0.0.1:881 *:*
UNCONN 0 0 *:21474 *:*
UNCONN 0 0 *:mdns *:*
UNCONN 0 0 *:10001 *:*
ESTAB 0 0 127.0.0.1:59535 127.0.0.1:57366
UNCONN 0 0 *:39618 *:*
UNCONN 0 0 :::3671 :::*
UNCONN 0 0 ::ffff:172.16.13.100:56933 :::*
UNCONN 0 0 :::57062 :::*
UNCONN 0 0 :::domain :::*
UNCONN 0 0 :::sunrpc :::*
UNCONN 0 0 fe80::a28c:fdff:fe76:d3c%eth0:ntp :::*
UNCONN 0 0 ::1:ntp :::*
UNCONN 0 0 :::ntp :::*
UNCONN 0 0 :::supfilesrv :::*
UNCONN 0 0 :::mdns :::*
UNCONN 0 0 :::mdns :::*
UNCONN 0 0 ::ffff:172.16.13.100:46641 :::*
UNCONN 0 0 :::58965 :::*
UNCONN 0 0 :::10001 :::*
UNCONN 0 0 :::10001 :::*
UNCONN 0 0 :::1900 :::*
UNCONN 0 0 ::ffff:172.16.13.100:35140 :::*
UNCONN 0 0 :::3478 :::*
root@homer:~# ss -s
Total: 456 (kernel 543)
TCP: 368 (estab 187, closed 127, orphaned 0, synrecv 0, timewait 124/0), ports 383
Transport Total IP IPv6
* 543 - -
RAW 1 1 0
UDP 34 16 18
TCP 241 167 74
INET 276 184 92
FRAG 0 0 0
root@homer:~#
edit: are you running the command as root?