From owner-freebsd-questions@freebsd.org Thu Dec 29 17:49:28 2016 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 35BC0C9607C for ; Thu, 29 Dec 2016 17:49:28 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C5AD11D7 for ; Thu, 29 Dec 2016 17:49:27 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-it0-f67.google.com with SMTP id n68so39445430itn.3 for ; Thu, 29 Dec 2016 09:49:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=xu/Mc/M/yaNoEDKT2SrP6SzkMZJjPR8dDXwlQ/ZeVNM=; b=gbfplmiT76OlS493RSGfPqBTSrkbhvVQG6EzZ5+12GuqckWN5CGmeDMv9EDUUg11nc 7eyZGZ/MpOYlMZuM9vHD8IucsiRsZwjCGXY6aMNQ7NLxHuQM6p2Ve6/O9k8qX+RR2Uyp uhnLitQO6pF90xgeDyj3sOmEo0S4WjtRDxBI+V2ifteb37GvmmLk1dD/LzgXGR50nHut +UxSMtw/stnmBTCxsWCjm4PckL6H/jjLibyAFR0DMvORT/f7bh/CfUxxhi7iNaJBvZJ1 ILgOKUKoDRFGhpxc+gjYEL4Yqh/koyI2LpudahX9pJhKqXvZXdhs4K5EUfb4/IehnMja 2t/w== X-Gm-Message-State: AIkVDXKtuGm3nrQXMOuhLml5oaQ+fik7D9+tXkJ/6Wbs2zVC8BNKTP0MCSp6IQp1euPu4A== X-Received: by 10.36.90.80 with SMTP id v77mr34425316ita.73.1483033341502; Thu, 29 Dec 2016 09:42:21 -0800 (PST) Received: from WorkBox.homestead.org ([184.97.148.124]) by smtp.gmail.com with ESMTPSA id 130sm24171844ity.5.2016.12.29.09.42.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Dec 2016 09:42:20 -0800 (PST) Received: from localhost (WorkBox.homestead.org [local]) by WorkBox.homestead.org (OpenSMTPD) with ESMTPA id cca23874; Thu, 29 Dec 2016 11:42:21 -0600 (CST) References: <20161229162919.34694.qmail@ary.lan> <1483032642.96075.3.camel@yandex.com> User-agent: mu4e 0.9.16; emacs 25.1.1 From: Brandon J. Wandersee To: Stari Karp Cc: John Levine , freebsd-questions@freebsd.org Subject: Re: swap partition In-reply-to: <1483032642.96075.3.camel@yandex.com> Date: Thu, 29 Dec 2016 11:42:21 -0600 Message-ID: <86y3yyzl6q.fsf@WorkBox.homestead.org> MIME-Version: 1.0 Content-Type: text/plain 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: Thu, 29 Dec 2016 17:49:28 -0000 Stari Karp writes: > On Thu, 2016-12-29 at 16:29 +0000, John Levine wrote: >> In article <1483012420.95172.9.camel@yandex.com> you write: >> > >> > I like to increase swap partition ... >> Why?Most BSD systems hardly use swap space at all.There's plenty >> of paging but that's mostly from the files that back the memory. >> >> R's, >> John > > I am using Synth and I have 8 GB memory and swap partition was made > defaut 3.6 GB and when I built LibreOFFice and Firefox for example > together than going swap to 100% > (swap_pager: out of swap space > kernel: swap_pager_getswapspace(5): failed) > and because that I think to increase swap partition. Building each of those ports individually or temporarily disabling the use of tmpfs with `synth configure` would make a whole lot more sense than creating a new or larger swap partition that you'll never use again. Yes, Synth builds will fail if you try and build several large packages at once and run out of temporary space in RAM. The same thing happens with Poudriere. But once you've completely built a repository for the first time you're unlikely to run into that problem again, since the large ports that caused the failure in the first place will probably not be built simultaneously again. -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ----------------------------------