From nobody Fri Dec 17 12:12:15 2021 X-Original-To: bugs@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 7555118F6C02 for ; Fri, 17 Dec 2021 12:12:15 +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 4JFnsq1Jmrz4sHJ for ; Fri, 17 Dec 2021 12:12:15 +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 EBF491BC8C for ; Fri, 17 Dec 2021 12:12:14 +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 1BHCCEVw016175 for ; Fri, 17 Dec 2021 12:12:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BHCCEqn016174 for bugs@FreeBSD.org; Fri, 17 Dec 2021 12:12:14 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: bugs@FreeBSD.org Subject: [Bug 260406] pfctl: Cannot allocate memory (after a time) Date: Fri, 17 Dec 2021 12:12:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tech-lists@zyxst.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639743135; 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=iqkZqm7+CAdLpajgvtlf7ODaxdsyMgOlesUWMhzPu4Y=; b=JRTFu+rUMHf0IJMZ6VP96U1ZpDsDwVLNElSLyOCvxK2KrDNGNoRu+KNPkERIQEai9At+6K JiOEuKyhSI+y2kHcfSKWrncaPCaGJSufxOb2tR0d7eP3oeBs4kyuqCg0PVS6nN/ATM3c5I CQL2DvYSefEubzTdH3ox70BRatPJNYqFm339r4v8axN3urylRTjBO6BRs0ZxMJu7HOGTog QGqF5p7ocO31wVuWXi4+yiNru80srmxaXWhKh9JleQoEl1kXmlxmCj6mjBqe4I5KSLMjkP Krb4FtgUv8o6cwlDszLi4cnmoqbfpqIK+JM5y/wwB0YjtFtZKMVSGMbYHicEZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639743135; a=rsa-sha256; cv=none; b=cDNQUxcTX1LgUyH4P+myRq0u3mUOLe5rwpG9f3/OvyhykVEq3ZeBRZTJ0YOYtWOokmYv+7 8dGiZDN8nblnZdz6z1lHt4x2pacmAT0Vhe+KP5iEEaP6u+5yKJmjguBrvuc/Z2s+je/jSl aFFe95Y+ISkoTcqVGAOaWMWaoQ6zps8YoY7VX425GUyOxUSZqiNoVLZNoh+Dvk/5JzmF6m xCi/ueFUO+oypbDkmqYbS8BIv25hVmDU+LAycL4/EVANmK9vUDxG/iqOS5XvOmTJGftO/u h6Bi81sMOPPxAPxXaHn532qj/rjeMnamC3YZMTtQpp9iC07y5Yaa2zboeqFchA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260406 --- Comment #16 from tech-lists@zyxst.net --- (In reply to Kristof Provost from comment #14) ok it's failing now: # vmstat -z | grep pf pf mtags: 48, 0, 0, 0, 0, 0, 0, = 0 pf tags: 104, 0, 0, 0, 0, 0, 0, = 0 pf states: 312, 100000, 22, 212, 13790, 0, 0, = 0 pf state keys: 88, 0, 22, 760, 13790, 0, 0, = 0 pf source nodes: 136, 10000, 0, 0, 0, 0, 0, = 0 pf table entry counters: 64, 0, 0, 0, 0, 0, = 0,=20=20 0 pf table entries: 160, 25400000, 24700, 5400, 58807, 3, 0,= 0 pf frags: 248, 0, 0, 0, 0, 0, 0, = 0 pf frag entries: 40, 5000, 0, 0, 0, 0, 0, = 0 this is with: in /etc/sysctl.conf: # net.pf.request_maxcount: 25400000 and in /etc/pf.conf: set limit table-entries 25400000 so, doubling it now: sysctl net.pf.request_maxcount=3D50800000 net.pf.request_maxcount: 25400000 -> 50800000 and in /etc/pf.conf set limit table-entries 50800000 pfctl: Cannot allocate memory. # vmstat -z | grep pf pf mtags: 48, 0, 0, 0, 0, 0, 0, = 0 pf tags: 104, 0, 0, 0, 0, 0, 0, = 0 pf states: 312, 100000, 24, 210, 14066, 0, 0, = 0 pf state keys: 88, 0, 24, 758, 14066, 0, 0, = 0 pf source nodes: 136, 10000, 0, 0, 0, 0, 0, = 0 pf table entry counters: 64, 0, 0, 0, 0, 0, = 0,=20=20 0 pf table entries: 160, 25400000, 24700, 5400, 58807, 4, 0,= 0 pf frags: 248, 0, 0, 0, 0, 0, 0, = 0 pf frag entries: 40, 5000, 0, 0, 0, 0, 0, = 0 pf state scrubs: 40, 0, 0, 0, 0, 0, 0, = 0 --=20 You are receiving this mail because: You are the assignee for the bug.=