Date: Tue, 13 Oct 2015 22:05:41 +0200 From: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> To: freebsd-mips@freebsd.org Subject: Re: Edge Router Lite runs out of memory on buildworld Message-ID: <20151013200541.GA68251@lyxys.ka.sub.org> In-Reply-To: <20151013032213.GA52162@lyxys.ka.sub.org> References: <20151013032213.GA52162@lyxys.ka.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, * Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151013200541.GA68251>