From owner-freebsd-current@freebsd.org Tue Mar 3 10:24:20 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14CA426AC68 for ; Tue, 3 Mar 2020 10:24:20 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48WtR657jSz3KWh for ; Tue, 3 Mar 2020 10:24:18 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id AAD7826AC67; Tue, 3 Mar 2020 10:24:18 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A93F626AC66 for ; Tue, 3 Mar 2020 10:24:18 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48WtR46HYZz3KSY for ; Tue, 3 Mar 2020 10:24:16 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wr1-f54.google.com with SMTP id j16so3639959wrt.3 for ; Tue, 03 Mar 2020 02:24:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=TJaWUMKQwk2w+yQC7E4Qg0z7C9qQ/m6/cQiRI+7oc2k=; b=BjNTi7cB8Ir/7lEIXdgncxw2PcAuyMWNflgc7wGGmDbECnERlIKkGUQEQFN92CW7Op UkkJGB4bpatUt0ghWhBcJ76t2QNYX19fFPVBytInVomxAJNHQcczpy72lC5VAOSTKPA9 Br5L0qbXsmuh9/0zTaf+I9I19mD0R2pjrKc//BYFS78cpst6+iAgDSGFwN+wj+9sGvkn XujBSJ68rFT1ARkZEty8bsiREftwniYIelgX1689X88XR04hZuwqwT0ceNBYQeR8JRFI U4dkN5FW0gkdfFsNmNBj8yODlnuL8uQTsDoLR79c8yo28KKy4GA97rDgFb/S3Go47Mul PZcw== X-Gm-Message-State: ANhLgQ2h914ruvcRyj252Hh6gGqxDNPlpWXfY5MHE3CJDJAtK1S8GVGt 0t0yUKQDCAQrn5ByyLAG5vWLm/YX X-Google-Smtp-Source: ADFU+vurx0SnVq6NPW+a/9U2kbMpgQwKKxbzKI6+45zQzMzM0Kbenc/FzgcEP6lObW8LGho9LTmA+w== X-Received: by 2002:adf:de10:: with SMTP id b16mr4595727wrm.145.1583231054307; Tue, 03 Mar 2020 02:24:14 -0800 (PST) Received: from ?IPv6:2a02:8109:98c0:40ee:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:40ee:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id 90sm32364922wro.79.2020.03.03.02.24.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Mar 2020 02:24:13 -0800 (PST) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: current@FreeBSD.org Subject: Wired memory consumes almost all my memory recently Message-ID: <6b9eba37-0866-fda6-4dd8-205eb3d77458@FreeBSD.org> Date: Tue, 3 Mar 2020 11:24:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48WtR46HYZz3KSY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.221.54 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-3.53 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[54.221.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.53)[ip: (-2.93), ipnet: 209.85.128.0/17(-2.99), asn: 15169(-1.66), country: US(-0.05)]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; DMARC_NA(0.00)[FreeBSD.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[54.221.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2020 10:24:20 -0000 Hi current@, I'm experiencing some problems with memory on r358410. I'm building a lot of ports in poudriere for testing purposes, which is very a resource-intensive operation. After a couple of hours of such a workload, the machine starts to become much less responsive (e.g., it takes a couple seconds to start a new tmux pane). When I run top I would always see that almost all my memory is wired (15G), swap reports a couple of hundreds megabytes being used, and the free memory is less than 100M. If I kill all my desktop processes like Firefox and Thunderbird (it takes a couple of minutes to complete this task!) then the machine becomes responsive again, still having maybe a couple hundreds of megabytes of free memory for me. I thought that maybe this is an ARC problem (I'm using ZFS) but it didn't help to restrict ARC to 8G by setting sysctl vfs.zfs.arc_max=8517738496. I think that I've never experienced similar problems before. Cheers, Mateusz Piotrowski