From owner-freebsd-questions@freebsd.org Wed Mar 29 13:41:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6ED7CD23358 for ; Wed, 29 Mar 2017 13:41:28 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx2.webtent.net (mx2.webtent.net [216.139.202.4]) by mx1.freebsd.org (Postfix) with ESMTP id 482042699 for ; Wed, 29 Mar 2017 13:41:27 +0000 (UTC) (envelope-from robert@webtent.org) Received: from localhost (localhost [127.0.0.1]) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 272C4D7E77; Wed, 29 Mar 2017 09:41:27 -0400 (EDT) Received: from mx2.webtent.net ([127.0.0.1]) by localhost (mx2.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 19345-02; Wed, 29 Mar 2017 09:41:26 -0400 (EDT) Received: from [192.168.1.105] (media.rfitz.com [96.254.71.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: robert@mx2.webtent.net) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id EF775D7E59; Wed, 29 Mar 2017 09:41:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=webtent.org; s=201611; t=1490794886; bh=pwgntGWtnAUgJp6dnQ54IbO5+n7HhC7GrpK8cVTbAlE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=uTTmCDWMbwb6gtLgiLcbJVS+ANSX/Yf9KCJEb9A+HjuQ7/ma8xhGuN+0NlmgMdwwr M9n0DzsXseTF2KHUJI9njkDtxxNphgHXiGE7gdjiYG8v0pK6FFBhuCxK8vPNxx1QGd z4uDne610Nw0+anJQBEmYaNUIz/wF/kUKX61EoXxhgkv6dDCY6ykKryccynudOaL2J Jwm3ve6EvisoVrlzFbZT3NNX3WfhXZiLPHEyoXFJ3kkwmkwoTvCpf7qbzo0+jaCpuv yxYPWhw9X9YNNQqztWA33HEUDzL6SDcqRQ91pGJqnsuVJpajbtHa8BPzCfwD++VCTR BtOJmQBnWSevQ== Message-ID: <58DBB986.1060609@webtent.org> Date: Wed, 29 Mar 2017 09:41:26 -0400 From: Robert Fitzpatrick User-Agent: Postbox 4.0.8 (Windows/20151105) MIME-Version: 1.0 To: Adam Vande More CC: FreeBSD Subject: Re: Swap usage References: <58DBAB34.1000200@webtent.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 13:41:28 -0000 Adam Vande More wrote: > On Wed, Mar 29, 2017 at 7:40 AM, Robert Fitzpatrick via freebsd-questions< > freebsd-questions@freebsd.org> wrote: > >> I've read a lot of posts on this subject and realize swap usage will >> happen even if you have plenty of physical memory. > > > This is not a true statement. Thanks for the clarification. > >> But are my usage results normal? .... >> >> last pid: 56095; load averages: 0.41, 0.35, 0.23 up 9+18:56:41 >>> 08:34:39 >>> 102 processes: 1 running, 101 sleeping >>> CPU: 1.6% user, 0.0% nice, 1.0% system, 0.2% interrupt, 97.2% idle >>> Mem: 692M Active, 29G Inact, 3033M Wired, 644M Cache, 1655M Buf, 149M Free >>> Swap: 4096M Total, 2890M Used, 1205M Free, 70% Inuse >>> >> There is 34G physical memory in the server but swap usage keeps creeping >> up, could this possibly be a leak? After startup, it kept putting memory in >> Inactive until it plateaued at 29G as swap usage then started rising. >> > > Possibly. More probable than a legit bigfoot sighting, less probable than > your system is preforming how it's configured. > > What is using the RAM? > Yep, I was just reading about and making changes to the PostgreSQL database config and able to get more Inactive in use. So, nevermind unless you see something else. -- Robert