Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 1997 16:52:13 -0700
From:      David Greenman <dg@root.com>
To:        Andrew Reilly <reilly@zeta.org.au>
Cc:        gordon@drogon.net, hackers@FreeBSD.ORG
Subject:   Re: Wheres all my memory going? 
Message-ID:  <199710082352.QAA24445@implode.root.com>
In-Reply-To: Your message of "Thu, 09 Oct 1997 09:26:14 %2B1000." <199710082326.JAA20837@gurney.reilly.home> 

next in thread | previous in thread | raw e-mail | index | archive | help
>On  8 Oct, David Greenman wrote:
>>>Machine boots OK. I start named (8.1.1) and it initialises. However, after
>>>some time (a day or so) the machine start to run out of swap space. I only
>>>allocated 64M of swap. (Is this the problem?) What I can't figure out is
>>>where the memory is going. Output of 'top -b' shows:
>> 
>>    Yes, you need more swap than you have RAM...this is very important to
>> avoid problems.
>
>Does that mean that it is not possible to run a FreeBSD system without
>swap at all?  I can think of a number of situations (mostly kind of
>embedded) where you can arrange to satisfy all of the memory
>requirements with RAM, but don't want to add a disk or use a network
>for swap.

   That's what it means. As soon as the free pages get depleted and the system
tries to reclaim some memory, it will get unhappy and start killing off
processes rather than recaiming only unmodified pages or whatever. This is a
problem that needs to be dealt with in the future.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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