Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 13:23:07 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        Mike Loiterman <mike@ascendency.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Make buildworld fails for 5.0 
Message-ID:  <20030305131215.U58375-100000@hewey.af.speednet.com.au>
In-Reply-To: <00f301c2e2c4$23165a10$0301a8c0@mike>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Mar 2003, Mike Loiterman wrote:

> [21:02:07 root@little_boy: /usr/src]# swapinfo
> Device          1K-blocks     Used    Avail Capacity  Type
> /dev/ad2s1b         78008    51536    26472    66%    Interleaved
>
> I don't know what to make of either of these commands.
>
> Which logs should I be looking at?  Here is `tail' of /var/log/messages:
>
> Mar  3 18:14:50 little_boy kernel: swap_pager: out of swap space
> Mar  3 18:14:50 little_boy kernel: swap_pager_getswapspace: failed
> Mar  3 18:14:50 little_boy kernel: pid 40733 (genattrtab), uid 0, was killed: out of swap space
> Mar  3 20:09:38 little_boy kernel: swap_pager: out of swap space
> Mar  3 20:09:55 little_boy kernel: swap_pager_getswapspace: failed
> Mar  3 20:09:55 little_boy kernel: pid 58759 (genattrtab), uid 0, was killed: out of swap space
>
> Which seems that I am out of space, but I'm not sure why that is
> happening.  My machine is old and slow, but I never had problems
> compiling 4.x?

Yup, you are out of swap space.

Fix: add more RAM or swap space.

As to why this is happening.....probably because you have to many
processes running. Do 'ps aux' and check the %MEM column for memory pigs..

Workaround: drop to single-user mode and try buildworld again.

--

 :{ andyf@speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030305131215.U58375-100000>