From owner-freebsd-questions@freebsd.org Fri Jun 29 11:35:37 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 0C4271038226 for ; Fri, 29 Jun 2018 11:35:37 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 AEE55873BA for ; Fri, 29 Jun 2018 11:35:36 +0000 (UTC) (envelope-from kremels@kreme.com) From: "@lbutlr" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: swap_pager_getswapspace Date: Fri, 29 Jun 2018 05:36:58 -0600 References: To: freebsd-questions In-Reply-To: Message-Id: <5F3EF470-75BF-43A6-9007-93DAC698D614@kreme.com> X-Mailer: Apple Mail (2.3445.100.13.1) 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 11:35:37 -0000 On 29 Jun 2018, at 04:13, @lbutlr wrote: >=20 > Getting a lot of swap_pager_getswapspace errors and erratic behavior = from my FreeBSD 11.1 mail server. ...=20 > Should I made the md99 file larger, or should I try to expand the = freebsd-swap partition (the drive is about half full) I went ahead and increased it. Device 1M-blocks Used Avail Capacity /dev/ada0p3 3656 0 3656 0% /dev/md97 6144 0 6144 0% Total 9800 0 9800 0% About an hour and a half later, the machine spontaneously restarted. = After getting back in, dmesg is filled with nothing but swap errors = except for one line: pid 53649 (rsync), uid 0, was killed: out of swap space after reboot there are two (??) rsync daemons running, and I do use = rsnapshot which is using rsync hourly. root 89523 3.6 3.0 119892 106724 - S 05:25 0:17.10 = /usr/local/bin/rsync --daemon --config /usr/local/etc/rsync/rsyncd.conf root 39964 0.0 0.1 7252 1848 - Is 05:21 0:00.00 = /usr/local/bin/rsync --daemon --config /usr/local/etc/rsync/rsyncd.conf The top one is the 'current' one listed in /var/run/rsync.pid and the = other appears to be orphaned. --=20 Eyes the shady night has shut/Cannot see the record cut And silence sounds no worse than cheers/After earth has stopped the ears.