From owner-freebsd-questions@freebsd.org Mon Jun 18 12:27:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D98C81003A78; Mon, 18 Jun 2018 12:27:25 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 807CC7C4A3; Mon, 18 Jun 2018 12:27:25 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2E4A121D94; Mon, 18 Jun 2018 08:27:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 18 Jun 2018 08:27:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=HbgY62XQgLlcfknk80spNdlcrqZKs vY329SIbF2cgWk=; b=mGDuNleII9Gb7EizDUNCqRYWEWZ6qxPZzy+EVVKGflotE RBiFCV7RXhvQ477fGNNZWdq2XVpLq7JBLCDfEc1yQVouTx8M5u/mv1YUNlKszJ36 GdVL9EnHA7Jr70InCIUCY3sMyBGbgKBySlGMu+p05zuV4ZN7j3hlSoDzZlo9gT1s FBS+YLE16LgDn2645pLFfHMa4q8zOgwlwkuCCPGzuAc4bTgT+ZcGrRErjJa9HvrY ZJkZRWOIY+4X8JXBG0K6Cn3OfmlAsasavEMI/As4UHyBdwjJkxoYoOXsvRbz5lRh pbHtkq47ECv+ocFmO97UuoxhHNbMLOJ9R7GEjsgRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=HbgY62 XQgLlcfknk80spNdlcrqZKsvY329SIbF2cgWk=; b=lsZkJF4FOp6O5YrKIIDIj9 +UDEDkJm91mx++6qgKUYF4llnt+MNX10sAhBPabuQ1yOMbttzdDf+sVLQkMCtlb7 i/GSo3TtwCafOTJiqVQu9fWfwRA3vgXafaeUol5qnwl8MbvO0/MsO31ORAapVyD8 1rN1/wOyph/8owMibwC90+YHgIH4jJ4GcVy3tQ4B0b/zBuoWjnZeOa4C+EJjnPPb oTKqrCO+f37NqSNZX+GYZYRDewhHunEvnyQbhLViYJkVJHpdr17zYoQQNEfqj7Rh 41iNRROKdftLepD0MNEdC7e5aK1UKXuc0x6lIu6a4fHGxX6Ul9aQj6VKGtTGPXUQ == X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 6D55FE446F; Mon, 18 Jun 2018 08:27:24 -0400 (EDT) Subject: Re: lightly loaded system eats swap space References: <20180618160855.44d9a0c2.freebsd.ed.lists@sumeritec.com> To: freebsd-stable@freebsd.org Cc: freebsd-questions@freebsd.org From: tech-lists Organization: none Message-ID: Date: Mon, 18 Jun 2018 13:27:23 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180618160855.44d9a0c2.freebsd.ed.lists@sumeritec.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 12:27:26 -0000 On 18/06/2018 09:08, Erich Dollansky wrote: > Hi, > > On Sun, 17 Jun 2018 23:19:02 +0100 > tech-lists wrote: > >> freebsd-11-stable r333874, ZFS raidz1-0 (3x4TB disks), 128GB RAM, >> Swap: 4096M Total, 3502M Used, 594M Free, 85% Inuse > > this might not be related but I noticed that your swap space is small > compared to RAM size. I noticed on a much smaller Raspberry Pi, that it > runs into trouble when there is no swap even there is enough RAM > available. Is it easily possible for you to add some GB of swap space > and let the machine run then? > > How much swap do the other machines have? Hi, Yes, the machine with the problem uses the default 4GB swap. That's all the swap it has. The machine without issue has a swapfile installed on a SSD in addition to the default 4GB swap. problematic machine: Device 512-blocks Used Avail Capacity /dev/ada0p3 8388608 3.3G 714M 83% machine without a problem, it has swapfile installed: Device 512-blocks Used Avail Capacity /dev/ada0s1b 8262248 1.7G 2.2G 44% /dev/md0 65536000 1.9G 29G 6% Total 73798248 3.7G 32G 10% I added the swapfile a long time ago on this machine due to the same issue. But my problem isn't so much an out of swapspace problem; all this is, is a symptom. My problem is "why is it swapping out at all on a 128GB system and why is what's swapped out not being swapped back in again". thanks, -- J.