From nobody Wed Mar 16 14:00:00 2022 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 B29F71A10AD1 for ; Wed, 16 Mar 2022 14:00:00 +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 4KJX343b8Fz3GRy for ; Wed, 16 Mar 2022 14:00:00 +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 4409017AB2 for ; Wed, 16 Mar 2022 14:00:00 +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 22GE00qV045139 for ; Wed, 16 Mar 2022 14:00:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22GE00Bk045134 for bugs@FreeBSD.org; Wed, 16 Mar 2022 14:00:00 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 262595] Swap on ZFS doesn't work properly. Date: Wed, 16 Mar 2022 14:00:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dmilith@me.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1647439200; 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; bh=rDzJ2nBhwlVDfpQ95Li7wB6CuwSfrmns8/JFTpDTS68=; b=bIvElqN7F+ERZxq9jR80Qm7Q5K1QPU27gDd58v6gn5jd7uriD37A7XngTFR41iLn4Ur9Wg OfoerM4d8Ry7sMsgY1KeK08L/pFheH7plGKAObZ+Gr9eNftFcETpEWj7kJjgUIalQb/yTV bBfV4MFwFRxxsLH0ga8RGuGdHkn5ncyt16O2/cw8Fd9WIoyQIhtXw2Nofb5aDdTiYdc7ua r+/wRkn6bKRv8p/TdppcUK7tMyBeZ+y4we47B11YVE1e73A9k6dZmDTZTwPKfvhA/KH+bv g4iVESIb555e9oc2DXEZAnm40Q403jDfOr2/pI1Got7KUZXOsEebbyG6AExYDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647439200; a=rsa-sha256; cv=none; b=gYDnDfnsUp3NZ+5z53eqEkjZXsB7tkfGmV4AKtVY9cNtOl9mESrMnbympPPKG4OGUJKm7x CcAzO2PcTSz+/pAUOwmcdX6xWECXNROjW2PMmAoViyjkvAnjal7jXeQrjpIKiI6Kygd9l+ 1q/DYOvCwymx4gjp9ROgWJ+2Gcu2qXZIpPHdgo0mkWS+pxCw41ydwoANtfMe2+Gnvzs+xj /npZ4JCcOBW9sb6pV84UusdLy5rJggoTJX/jZtE07N74AfTev5nMCnPxP1sy61hPqsL7UI lZcAON1f7VekqUvO7HV9vE5mfSvPTpaxBe/SdYTDpJUVN4RtyKpjFwGv+j8ieQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262595 Bug ID: 262595 Summary: Swap on ZFS doesn't work properly. Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dmilith@me.com On one of my FreeBSD hosts I use swap on ZFS configured this way: ``` zfs create -V 64gb -o org.freebsd:swap=3Don -o checksum=3Doff -o compressio= n=3Doff -o dedup=3Doff -o sync=3Ddisabled -o primarycache=3Dnone zroot/swap swapon /dev/zvol/zroot/swap ``` The thing is=E2=80=A6 the swap is used in 1% there but I get OOMs from the = kernel with Influxdb using a bit over 50G RSS. Had exactly the same issue on one arm64 machine also with ZFS, crashing the same way=E2=80=A6 having gigabytes of free swap available. Seems like swap on ZFS is not a real thing, or it simply doesn't work well? --=20 You are receiving this mail because: You are the assignee for the bug.=