From owner-freebsd-questions@freebsd.org Fri Jun 29 13:10:16 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 89939EF7855 for ; Fri, 29 Jun 2018 13:10:16 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 2AF238AC5A for ; Fri, 29 Jun 2018 13:10:16 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fYt8f-000Keh-Eb; Fri, 29 Jun 2018 07:08:37 -0600 Date: Fri, 29 Jun 2018 07:08:37 -0600 From: The Doctor To: "@lbutlr" Cc: freebsd-questions Subject: Re: swap_pager_getswapspace Message-ID: <20180629130837.GE77205@doctor.nl2k.ab.ca> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) 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: Fri, 29 Jun 2018 13:10:16 -0000 On Fri, Jun 29, 2018 at 04:13:54AM -0600, @lbutlr wrote: > Getting a lot of swap_pager_getswapspace errors and erratic behavior from my FreeBSD 11.1 mail server. > > # pstat -sm > Device 1M-blocks Used Avail Capacity > /dev/ada0p3 3656 647 3008 18% > /dev/md99 1024 444 579 43% > Total 4680 1092 3588 23% > > Which seems like I have enough... > > => 40 468862048 ada0 GPT (224G) > 40 1024 1 freebsd-boot (512K) > 1064 461372408 2 freebsd-ufs (220G) > 461373472 7488615 3 freebsd-swap (3.6G) > 468862087 1 - free - (512B) > > Should I made the md99 file larger, or should I try to expand the freebsd-swap partition (the drive is about half full) > My rule of thumb is your swap should RAM x 2 . Adjust accordingly. Best to adjust /dev/md99 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism By the work one knows the workmen. -Jean De La Fontaine