From nobody Fri Dec 24 15:41:35 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 640DA1911BFA for ; Fri, 24 Dec 2021 15:41:35 +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 4JLBB71bT1z4dtn for ; Fri, 24 Dec 2021 15:41:35 +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 086CA2691A for ; Fri, 24 Dec 2021 15:41:35 +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 1BOFfY6x012011 for ; Fri, 24 Dec 2021 15:41:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BOFfYKn012010 for bugs@FreeBSD.org; Fri, 24 Dec 2021 15:41:34 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, 24 Dec 2021 15:41:35 +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: diego@bsd.com.br 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=1640360495; 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=0M5uwA+uH2gxDtdjLUiqYB9DNXu4jDjL/QCebUiir5E=; b=kq7tmAdhgb0IxJW2yzWcqeCM5/UDzugHSL+9BY25CR7UkOCYLGqZ8gD62HK0c7b8Po0nGe 90uwyilqPHcWmXKwnXxQEhNdLsfu2y4B6v7JfqczxiYfwdaGhpRBp2+S450lwFasQM9JlN YqbYZMSTdViL35HT0auxKAvQs/K3fZ2mEVI6FAggnckfGaIJvN7dZRFDas/J4kNIGPYwlD N6BvwK/Mjkii6ixIYH0IWsA8OkmBeYfyTUwIKdhHN7GT7T46uCI9aGnM+EKhRILf/DWenR UOkg8efp0LKk1yalxLkdYT5RHrmfKiZn9u4P9KU0kdQDd5fvl3sZLSk6MUDzQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640360495; a=rsa-sha256; cv=none; b=MJeFn9gbrLVblDXE0hQFeMNnSMmtoScgGevFt7XX4nQRsrLIc+y/W/3ROLur16ThmI4BgP QImxorgRl1ph81o5qx1dYJA+8qJ+4qLQdUoGQujY9aKH5TLFSpI0KGmO2NMvnzXYgHN1Qe TpVS1i2ji3F6/h8WLDG0W2rv/Y2QHhK/6lgA6eijxMZeRMk5s3bu20d+lW/IVa3ynplYlU KCB6nVEHC1NfNUaplo2nz3wvDuI2OgtYz5CekSKnKRM/pmFdMBmEQnmfkRKBUAi+pqRazK QT1lhZM/tWlpxWEeaNYj+3bTAxqa6/VVkxykHaQYUPDHv5IhCSJQMMd2b1G8uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260406 --- Comment #49 from Diego Linke --- (In reply to Kristof Provost from comment #47) Yes, this is small EC2 Virtual Machine. This used to work fine with FreeBSD= 12 and pf.=20 # top -b | head -8 last pid: 22974; load averages: 0.81, 0.81, 0.76 up 16+01:51:17=20=20= =20 12:33:44 66 processes: 2 running, 63 sleeping, 1 zombie CPU: 0.8% user, 0.0% nice, 0.2% system, 0.0% interrupt, 99.0% idle Mem: 42M Active, 179M Inact, 15M Laundry, 609M Wired, 103M Buf, 79M Free ARC: 98M Total, 4310K MFU, 32M MRU, 1824K Anon, 2034K Header, 57M Other 7726K Compressed, 31M Uncompressed, 4.12:1 Ratio Swap: 512M Total, 38M Used, 474M Free, 7% Inuse # vmstat procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 xb5 in sy cs us sy = id 1 0 0 1.0G 79M 237 1 0 0 286 39 0 0 41 377 215 1 0 = 99 # swapinfo=20 Device 1K-blocks Used Avail Capacity /dev/md99 524288 39088 485200 7% Please find below the output with the latest dtrace script. I think there i= s a syntax error on it: # dtrace -s dtrace.script -c "pfctl -f /etc/pf.conf" dtrace: failed to compile script dtrace.script: line 1: probe description fbt:kernel:zone_alloc_limit_hard:return does not match any probes /etc/pf.conf:21: cannot define table fireholL1: Cannot allocate memory /etc/pf.conf:22: cannot define table fireholL2: Cannot allocate memory /etc/pf.conf:23: cannot define table fireholL3: Cannot allocate memory /etc/pf.conf:24: cannot define table fireholWEB: Cannot allocate memory /etc/pf.conf:25: cannot define table normshield: Cannot allocate memory /etc/pf.conf:26: cannot define table ipblacklistcloud: Cannot allocate memo= ry /etc/pf.conf:27: cannot define table Webbots: Cannot allocate memory /etc/pf.conf:28: cannot define table haley_ssh: Cannot allocate memory /etc/pf.conf:29: cannot define table bi_any_1_7d: Cannot allocate memory pfctl: Syntax error in config file: pf rules not loaded --=20 You are receiving this mail because: You are the assignee for the bug.=