[Bug 263062] tcp_inpcb leaking in VM environment

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Aug 2023 08:18:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263062

t@ida2.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t@ida2.de

--- Comment #13 from t@ida2.de ---
Hi, I've got a related issue:
* Hetzner VM with AMD CPU
* FreeBSD 13.2-RELEASE-p2 GENERIC amd64

I've set up a mailrelay which uses rspamd for filtering. rspamd heavily uses
DNS queries, therefore unbound is installed and running.

For now the server already has stopped working three times with:
Aug 10 07:25:38 mailrelay kernel: [zone: udp_inpcb] kern.ipc.maxsockets limit
reached

I guess the DNS queries are the reason for this.

I've just rescaled the VM to Intel, but still it's Q35 chipset:
# dmidecode -s baseboard-product-name
Standard PC (Q35 + ICH9, 2009)

vmstat after the reboot says this:
# vmstat -z | egrep 'ITEM|inpcb'
ITEM                   SIZE  LIMIT     USED     FREE      REQ     FAILSLEEP
XDOMAIN
udp_inpcb:              496, 256000,      58,   12646, 5519436,   0,   0,   0
tcp_inpcb:              496, 256000,      47,     465,    1146,   0,   0,   0
udplite_inpcb:          496, 254671,       0,       0,       0,   0,   0,   0

If problem persists I'll talk to Hetzner support to change chipset to i440FX
and give feedback here.

-- 
You are receiving this mail because:
You are the assignee for the bug.