From owner-freebsd-mips@freebsd.org Tue Oct 13 20:08:57 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 A9211A12CBE for ; Tue, 13 Oct 2015 20:08:57 +0000 (UTC) (envelope-from mmitchel@gmail.com) Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com [IPv6:2607:f8b0:400d:c04::229]) (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 6E3EE11F2 for ; Tue, 13 Oct 2015 20:08:57 +0000 (UTC) (envelope-from mmitchel@gmail.com) Received: by qgeb31 with SMTP id b31so25077113qge.0 for ; Tue, 13 Oct 2015 13:08:56 -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=w2WXY3+ctFFT0WQpK7JQuwKFlsrMor19s2WwfPBBYBw=; b=IjBtp05VXjs2tWJgz8r86740PVXY6pp42nKdLrTgjPdvgNTW41Xp3bmNxKJdxTovoy KulXEbkYP1m8kXbhnqst1A49SlNLC/TfJB5iW+WU1XRaQRcfF24cGCzynLyzKxiViOi7 P2B/r/pLenq3ffiz75CIQoTVabOqDr7lb3q3vWC9Hk/8O37OAXiBzneR/iPCdexoWcBf k7tPebAMUFXokiLWlS5UvVY0CTRpdpwf5zj4akkMegusRQGR0LQ8GzdJdt/LsAC1Fucn CsIXGsgg07KUMjHzwAMX9F7S2qMT639Pk+TFlRO7J6CNYTBtehqyLttb6y63C0xcnaRQ NNEg== MIME-Version: 1.0 X-Received: by 10.140.97.136 with SMTP id m8mr41888746qge.74.1444766936594; Tue, 13 Oct 2015 13:08:56 -0700 (PDT) Received: by 10.55.177.133 with HTTP; Tue, 13 Oct 2015 13:08:56 -0700 (PDT) In-Reply-To: <20151013200541.GA68251@lyxys.ka.sub.org> References: <20151013032213.GA52162@lyxys.ka.sub.org> <20151013200541.GA68251@lyxys.ka.sub.org> Date: Tue, 13 Oct 2015 13:08:56 -0700 Message-ID: Subject: Re: Edge Router Lite runs out of memory on buildworld From: Michael Mitchell To: Wolfgang Zenker Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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:08:57 -0000 you might want to try adding swap space (1 GB?) and restart the process https://www.freebsd.org/doc/handbook/adding-swap-space.html : mdm On Tue, Oct 13, 2015 at 1:05 PM, Wolfgang Zenker wrote: > 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 > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >