From owner-freebsd-mips@freebsd.org Tue Oct 13 20:06:01 2015 Return-Path: Delivered-To: freebsd-mips@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 93B8CA12AD1 for ; Tue, 13 Oct 2015 20:06:01 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F1D4FB1 for ; Tue, 13 Oct 2015 20:06:00 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id t9DK5ga9028959 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL) for ; Tue, 13 Oct 2015 22:05:43 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id t9DK5gvm068378 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 13 Oct 2015 22:05:42 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.15.2/8.15.2/Submit) id t9DK5foA068377 for freebsd-mips@freebsd.org; Tue, 13 Oct 2015 22:05:41 +0200 (CEST) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Tue, 13 Oct 2015 22:05:41 +0200 From: Wolfgang Zenker To: freebsd-mips@freebsd.org Subject: Re: Edge Router Lite runs out of memory on buildworld Message-ID: <20151013200541.GA68251@lyxys.ka.sub.org> References: <20151013032213.GA52162@lyxys.ka.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151013032213.GA52162@lyxys.ka.sub.org> Organization: private site User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Tue, 13 Oct 2015 22:05:43 +0200 (CEST) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 20:06:01 -0000 Hi, * Wolfgang Zenker [151013 05:22]: > for a few months now I have been building CURRENT on an Edge Router Lite, > last successful build was about a week ago: > % uname -a > FreeBSD pomona 11.0-CURRENT FreeBSD 11.0-CURRENT #10: Wed Oct 7 07:15:47 CEST 2015 wolfgang@pomona:/usr/obj/usr/src/sys/UBQTERL mips > Today buildworld failed with the system running out of memory > on building libc.so: [..] > Kernel is built with "options NO_SWAPPING", so there is no swap space at all. > I will try again without tmpfs now, to see if this frees enough memory. strangely enough, with /tmp on flash instead of a ramdisk, it fails a bit earlier: compiling the first sourcefile of libc: [..] echo libc.so.7: /usr/obj/usr/src/tmp/usr/lib/libcompiler_rt.a /usr/obj/usr/src/tmp/usr/lib/libssp_nonshared.a >> .depend cc -O -pipe -G0 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/mips -DNLS -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -I/usr/src/lib/libc/mips/softfloat -I/usr/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -I/usr/src/lib/libutil -I/usr/src/lib/msun/mips -I/usr/src/lib/msun/src -c /usr/src/lib/libc/db/btree/bt_close.c -o bt_close.o Killed *** Error code 137 % dmesg pid 20537 (make), uid 0, was killed: out of swap space Oct 13 11:19:31 pomona kernel: pid 20537 (make), uid 0, was killed: out of swap space Maybe the memory used for the tmpfs before is not being returned even after unmonting /tmp? I will try again with a reboot after commenting out /tmp in fstab. Wolfgang