My NAS is running FreeBSD 13.2-RELEASE-p9. I rebooted it a couple of days ago and suddenly, the network keeps crashing if certain services are running: When starting Unbound or Avahi, all outgoing and incoming connections immediately fail.
I just tried starting Unbound while leaving a ping to my router running: The ping replies immediately stopped, and a few minutes later, ping started displaying "
The output of
Executing
The board is an Odroid H2 with two Realtek RTL8111G interfaces. They are running in parallel with their own IPs. I understand Realtek NICs don't always work well with FreeBSD, but this whole setup has been fine for years. I have not been able to figure out what suddenly went wrong, I hope someone here can help me. Thanks in advance!
I just tried starting Unbound while leaving a ping to my router running: The ping replies immediately stopped, and a few minutes later, ping started displaying "
sendto failed: No buffer space available
". Unbound wrote the same message to Syslog.The output of
netstat -m
looks fine to me, the "max" values are not reached anywhere:
Code:
3439/3566/7005 mbufs in use (current/cache/total)
560/964/1524/1004414 mbuf clusters in use (current/cache/total/max)
560/964 mbuf+clusters out of packet secondary zone in use (current/cache)
0/1522/1522/502207 4k (page size) jumbo clusters in use (current/cache/total/max)
2063/2252/4315/148802 9k jumbo clusters in use (current/cache/total/max)
0/0/0/83701 16k jumbo clusters in use (current/cache/total/max)
20546K/29175K/49722K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were valid and substituted to bogus page
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed
Executing
service netif restart
makes everything go back to normal, assuming both Unbound and Avahi are not running.The board is an Odroid H2 with two Realtek RTL8111G interfaces. They are running in parallel with their own IPs. I understand Realtek NICs don't always work well with FreeBSD, but this whole setup has been fine for years. I have not been able to figure out what suddenly went wrong, I hope someone here can help me. Thanks in advance!