From owner-freebsd-ports@freebsd.org Tue May 5 10:20:21 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62E982E0ACD for ; Tue, 5 May 2020 10:20:21 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49GbMT13Ncz3DfB for ; Tue, 5 May 2020 10:20:21 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 222942E0ACC; Tue, 5 May 2020 10:20:21 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21E762E0ACB for ; Tue, 5 May 2020 10:20:21 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GbMR6sLDz3Df9 for ; Tue, 5 May 2020 10:20:19 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f178.google.com with SMTP id b2so1031361ljp.4 for ; Tue, 05 May 2020 03:20:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5VGxoQcA9hg1ZzjTpP/L6RkKwfzYvgEszUXSEsrfWdI=; b=EyHhgVge0pBsxDU5q4gwOFXFZ8yoxvpLKmNmR/u+HmalrD6zDHPEx6GPL7HMVgxUnD T0Fv/bNiGqJueucHfUHV+2uWDZ6f8eBgYpGsNFsH9m2iIi22jm5E8gBwMgfKslEvevCI miIXQ0DIKTmQUPlOvccR6NBvXKlaXH7QvyimJtSJZYuxY/1MTVW1xxtNvvTV1KObjqYl 7uxcTRb/nDUhoKELNb1pFe8sVLa+qkqcstqQ7p8hFT9AXXLD4DgWGN84pWDneacH1w9q k/4K+DPJIBZ4d2CwkPRPGKqlXPAYGJrzoB/I/AJHNWOdHkj8WYTUFK9lOqAxl3Ml8onI hKAg== X-Gm-Message-State: AGi0PuYfya7600/jVRFlwcNPSr7kAdzPsb3tvLHp4PKpM4+joljnpEaq BrOH2UNFokMe1b3BkdWItWJiAmkfYHg= X-Google-Smtp-Source: APiQypLC9R/bPCdH++F5RSGsn5wdp1HyIK8tTCN6jdLzasTFPbbOT8SsLExzU5wjh57kk0Y885gFfw== X-Received: by 2002:a2e:2a82:: with SMTP id q124mr1426700ljq.155.1588674017831; Tue, 05 May 2020 03:20:17 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id w29sm1605482lfq.35.2020.05.05.03.20.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 May 2020 03:20:17 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id a21so1015113ljb.9 for ; Tue, 05 May 2020 03:20:16 -0700 (PDT) X-Received: by 2002:a2e:3813:: with SMTP id f19mr1362017lja.216.1588674016626; Tue, 05 May 2020 03:20:16 -0700 (PDT) MIME-Version: 1.0 References: <20200505093712.5qeyqt7gioolhdyu@ozzmosis.com> In-Reply-To: <20200505093712.5qeyqt7gioolhdyu@ozzmosis.com> From: Gleb Popov Date: Tue, 5 May 2020 14:19:50 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Out of memory building lang/ghc-8.8.3 To: andrew clarke Cc: FreeBSD ports X-Rspamd-Queue-Id: 49GbMR6sLDz3Df9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.178 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-2.25 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[178.208.85.209.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.25)[ip: (-0.38), ipnet: 209.85.128.0/17(-0.39), asn: 15169(-0.43), country: US(-0.05)]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[178.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:20:21 -0000 On Tue, May 5, 2020 at 1:37 PM andrew clarke wrote: > Beware anyone building lang/ghc-8.8.3 from the ports tree. Building it > here on FreeBSD 12.1-REL AMD64 with Poudriere, the build ran out of swap, > despite the PC having 8 GB RAM, 8 GB swap and not much else running. > > My /usr/local/etc/poudriere.conf: > > BASEFS=/poudriere > ZPOOL=zroot > FREEBSD_HOST=http://mirror.internode.net/ > POUDRIERE_DATA=/poudriere/data > RESOLV_CONF=/etc/resolv.conf > DISTFILES_CACHE=/usr/ports/distfiles > USE_TMPFS=yes > ALLOW_MAKE_JOBS=yes > KEEP_OLD_PACKAGES=yes > PARALLEL_JOBS=8 > > Maybe I can retune the last three parameters to use less memory. I've not > tried yet. > > This isn't really a whinge, I'm just surprised it failed. I'd have thought > 8 GB was enough. > > (ghc is a build dependency of textproc/hs-pandoc) > Did you have something else building at the same time? On my laptop with 16 Gb of RAM I also see OOM failures when building multiple "heavy" packages (llvmXX, gccX, ghc, rust, libreoffice) simultaneously. In this case I use -J poudriere option to limit number of jobs. > Cheers. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >