Date: Sun, 30 Dec 2012 19:19:05 -0700 From: Ian Lepore <freebsd@damnhippie.dyndns.org> To: Brett Wynkoop <wynkoop@wynn.com> Cc: freebsd-arm@freebsd.org Subject: Re: BeagleBone swap problems Message-ID: <1356920345.54953.107.camel@revolution.hippie.lan> In-Reply-To: <20121230210922.3db468ed@ivory.wynn.com> References: <20121230210922.3db468ed@ivory.wynn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2012-12-30 at 21:09 -0500, Brett Wynkoop wrote: > Greeting- > > It looks like something in head is giving swapping a problem. I am > swapping on a file /usr/swap/0 since the system runs out of memory > trying to build the kernel. > > This happened trying to rebuild the kernel. > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > > The system is non-responsive and I guess I will have to drop to the > debugger and reset. You shouldn't run out of memory building a kernel on a board with 256mb. Did you define MALLOC_PRODUCTION in make.conf when you built world? If not, then all your binaries are using way more memory than they need to. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1356920345.54953.107.camel>