From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 20:12:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B4F1BF for ; Tue, 28 Oct 2014 20:12:54 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C820BF for ; Tue, 28 Oct 2014 20:12:54 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id kq14so1530030pab.10 for ; Tue, 28 Oct 2014 13:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NVLkUW8Ign6wpDMoYRs8ke6VUQsr6NGN5TtQPUnJG0k=; b=wafxJFUklRcFCHP48cHn+jnZqoXp55+Bwo3rgpQDERvWb6PwHoeQPR2iqqTzJPN3na jvz2IzyS1D8y90eOGV5mGHlg5pvYimy33fHenYgqUTf0qP9ZumBUGHXHU3jqjdPS9MQb 2QDFfsBvXcTm81gTqfL6C6Xpfuo8vPNffOECiAW/j5JPpV6HO/YFR5rdtstbByeBCG7Q cMLT1R0daaC+gbzMckXz881dIeBeQ7u8JgbwC7UaEKmO606H89khkegC38GBRmWSzb16 gXJ458Md/OlRyHLQ/wk9rjXOmMZV2rrhnDh6Ebbbo3aMPtzcR13j2IHGOl9/cflB8wul UaiA== MIME-Version: 1.0 X-Received: by 10.66.191.135 with SMTP id gy7mr5666312pac.95.1414527173607; Tue, 28 Oct 2014 13:12:53 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Tue, 28 Oct 2014 13:12:53 -0700 (PDT) In-Reply-To: References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> <20141028130146.6d2b6179@gumby.homeunix.com> Date: Tue, 28 Oct 2014 15:12:53 -0500 Message-ID: Subject: Re: out of swap space From: Adam Vande More To: "Reed A. Cartwright" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: RW , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 20:12:54 -0000 On Tue, Oct 28, 2014 at 2:08 PM, Reed A. Cartwright wrote: > We've run out of swap on a system with 512GB of memory and 1TB of swap > space. > > Processes get killed, including services. It is usually easiest to > reboot to start from a fresh system. > > The funny effect is that you can log in to SSH and get a shell, but > cannot run any binary that is not already cached in memory. That > confused the hell out of me until I checked memory and swap usage. You can use protect(1) to ensure the wrong things don't get killed. -- Adam