Date: Sat, 11 Feb 2017 07:54:10 -0600 From: Karl Denninger <karl@denninger.net> To: freebsd-arm@freebsd.org Subject: Re: Out of swap - NOT Message-ID: <e4d1a59b-e8f6-78ef-2508-ee5282cd06de@denninger.net> In-Reply-To: <assp.0215ceeae3.20170211023050.387b9cc7@pearl>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 2/11/2017 01:30, freebsd-arm@wynn.com wrote:
>
> Greeting-
>
> So I have seen this several times on FreeBSD-12 - uname info to follow
>
> FreeBSD bb2.wynn.com 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: Fri
> Jan 6 03:13:01 UTC 2017
> root@releng3.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE
> arm
>
> MAKE=make sh ../../../conf/newvers.sh BEAGLEBONE
> cc -c -O -pipe -g -nostdinc -I. -I../../.. -I../../../contrib/libfdt
> - -I../../../gnu/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> - -include opt_global.h -march=armv7a -funwind-tables -ffreestanding
> - -fwrapv -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
> - -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> - -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
> - -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
> - -Wno-error-tautological-compare -Wno-error-empty-body
> - -Wno-error-parentheses-equality -Wno-error-unused-function
> - -Wno-error-pointer-sign -Wno-error-shift-negative-value -mfpu=none
> - -std=iso9899:1999 -Werror vers.c ctfconvert -L VERSION -g vers.o
> linking kernel.full ctfmerge -L VERSION -g -o kernel.full ... ***
> Signal 9
>
> Stop.
> make: stopped in /export/src/sys/arm/compile/BEAGLEBONE
> root@bb2:/sys/arm/compile/BEAGLEBONE #
>
> pid 24523 (ctfmerge), uid 0, was killed: out of swap space
> pid 21365 (make), uid 0, was killed: out of swap space
> pid 38527 (ctfmerge), uid 0, was killed: out of swap space
> [wynkoop@bb2 ~]$
>
>
> I have run the kernel build several times and this is always the
> result. I also had an rsync killed for out of swap. The interesting
> part is that at no time did I really run out of swap. This is on an
> original BeagleBone with 256M of ram and 768M of swap. At no time did
> pstat or top in another window report that all the swap was used. In
> fact swap use never got above 10%.
>
> I have been using BSD since the early 1980's and have never seen a
> system report a process being killed for out of swap when there is
> still plenty of swap before now.
>
> Ideas?
>
> - -Brett
> - --
>
> wynkoop@wynn.com
> 917-642-6925
> 929-272-0000
In all probability it's really out. Remember that RAM allocation has to
either come from physical RAM or swap. If the requested allocation
cannot be made then you get this exact situation, and it happens quickly
enough that you won't see it most of the time with monitoring tools.
What's probably biting you is temporary file space, which comes from RAM
since it's mounted on a ramdisk, and exhausts it. I've run into this
same situation trying to build on a Pi2.
My recommendation? Connect a USB disk drive to the system and put a swap
partition on there. Or cross-compile (which is what I do) on a nice big
AMD64 box since that is MUCH faster.
--
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
[-- Attachment #2 --]
0 *H
010
`He 0 *H
\0X0@=0
*H
010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA0
161218194535Z
211217194535Z0W10 UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
*H
0
͍fd`1ie6";fSz`5¹/?{=Ӵowjħ_fnӴMG\ҢҖ4ib}>@mJo&mM;
Q9U cj]p퐆W.2E=
^¢tzĄ'5i7_`~#dY
`]R]N%R}EXzqV@[oN T>5AwYˡA"\v&YG]+($p:M,T?=mJkMљg*ym
L!J[./d?W^LysD'1
+V'~{-SSX= q-f=%&V<m4BeSet|
l2m 6iO{wv
+aHXˈ5=~é*C!?uJr3tb'3`Oe)üLxt&3N526llU
.|Cp[l? 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB
OpenSSL Generated Certificate0U/Zi
0GhG0U#0$q}ݽʒm50U0karl@denninger.net0
*H
b%X%gwq
Ɂэr K[DMJ35W6
sz8d|qB2Cyw2PbV}
â[!W{HD7oD.TZ'w6~g( -,]R8P{*[f<1=7jGj9铚~3f2AʺN k~@vz^j(>ͺyh2y{/9}4.45#S|<fW!.,Bss*Q+h=}l@ "q "M&6J5*,G {hɫjbNgǠ.ЃXȶ4$O.5evHlZba!4eE!x|Za1nZ5TuPvW|#G+ DZpI7S'n0 haGa@vZ e|]Cu+))vRyY100010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0
`He M0 *H
1 *H
0 *H
1
170211135410Z0O *H
1B@zr=x>́!Y@PY-K\RИ3@x4\ۆs@:4u0l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0*H
1010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0
*H
)`[$StDƠih#FpH
Nbiw{쮄},01˛+-Q kF@I̽I{wߧw"w4.ub끹ͥd@y'3ܕ\p ϵ.'r/EpH}T/Wm_KR>)KSnm6Mp*%M[SFrS1F6 mTȒ(*zk|wN_p~[gsh|1L["QP(w 6%9=ViGGǖ
>FeO5r
b 5џ Pw!sCdSo~4B7 >
Q+0E\%ͳjebmc"d\&5(uq\
۵UZmu/?02rX\{ >]ziu9yj4:a
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4d1a59b-e8f6-78ef-2508-ee5282cd06de>
