From nobody Sat Sep 24 18:40:22 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MZd9z0zNVz4dGk3 for ; Sat, 24 Sep 2022 18:40:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MZd9y5dZXz3WZH for ; Sat, 24 Sep 2022 18:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MZd9y4Nh8z18vs for ; Sat, 24 Sep 2022 18:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28OIeMOY058614 for ; Sat, 24 Sep 2022 18:40:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28OIeMET058613 for virtualization@FreeBSD.org; Sat, 24 Sep 2022 18:40:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 263062] tcp_inpcb leaking in VM environment Date: Sat, 24 Sep 2022 18:40:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugene@zhegan.in X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664044822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8zfut1UVmalveHCZcuq5hgR1D3ORyHR7tkoYyZNe2mw=; b=bj01iI+VhzOeB38lPK1Sgwump6Kx2aPWJBb9LcL/dx9dVa8kaKlqlI39iFsmO36msUJv2+ w6BR1dUaVDEZL/zvdMbb/ipG343GpSD2RDmfivSEgzSPl57cYLtLkwvnyYiuuHSb/AikID 8kjEIvka7zyfWK0wm5ty8R61Qo4jNFOp7tLBNjSUcrOskApo4Y32BpAuLSFhD9WEQbu8FV 1S3WFHvTSTAXDgqD5vcH5i4tQ2JT2Mh7KUkaZ+sZ3F/gEHp76gw70r7ftlbrdLkVB7wFYz w20ved3f1fgKi0+Hq1fnL/5YHvIH2IO9T6Rp7ekQ6sZtUwim+vLh8va51EDbjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664044822; a=rsa-sha256; cv=none; b=rLBlLZ2wpTbjfGgiaj0DRSsEDDQEbhgwC8Q5Q96OQwwegIM1JoocvATaAJmBlGwQjeE2Sd Pgvx0n+baZrXToxPQmIzPujjjUuwRzrOEpuyo4RlgpA+7hYI2TAgOV0e7fN+/PDM9wndJY A+9ltYwrYbhHVOTlyItbXCMvLYyY+zepMChLrjowiGPLsz/96OBVeGYZciv2QfhFn0EOQx j7pzFIbR1txlL1z0rVLhLA2A1Mhb0PB3rdYnwt5JhtIoqy1RDR3UC2FA91cTD6GGyvdHvf c3AWF6YQA9L3s7TbF2swxRSdWLJLzOKS26ngsASyuneWcFNWmLw00GnaorYPdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263062 --- Comment #2 from Eugene M. Zheganin --- Same stuff happends with udp_inpcb: [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [zone: udp_inpcb] kern.ipc.maxsockets limit reached [root@prometheus:~]# vmstat -z | egrep 'USED|inpcb' ITEM SIZE LIMIT USED FREE REQ FAILSLEEP XDOMAIN udp_inpcb: 496, 2045354, 1024072, 384, 2230019,1677781, = 0,=20=20 0 tcp_inpcb: 496, 2045354, 376653, 1387, 778968, 0, 0, = 0 udplite_inpcb: 496, 1022671, 0, 0, 0, 0, 0, = 0 Another peculiar thing: when increasing the kern.ipc.maxsockets, it cannot = be set to a value larger than kern.maxfiles, but when this issue triggers, it = is already way larger (kern.ipc.maxsockets is around 1M, kern.maxfiles is arou= nd 400R). How can this even be possible ? --=20 You are receiving this mail because: You are the assignee for the bug.=