Date: 08 Oct 1997 20:23:42 +0200 From: dag-erli@ifi.uio.no (Dag-Erling Coidan Smørgrav) To: Gordon Henderson <gordon@drogon.net> Cc: hackers@FreeBSD.ORG Subject: Re: Wheres all my memory going? Message-ID: <xzppvpg2jwx.fsf@hrotti.ifi.uio.no> In-Reply-To: Gordon Henderson's message of Wed, 8 Oct 1997 13:55:54 %2B0100 (BST) References: <Pine.LNX.3.95.971008132127.26875P-100000@unicorn>
next in thread | previous in thread | raw e-mail | index | archive | help
Gordon Henderson <gordon@drogon.net> writes: > 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: This is a FAQ. See the FreeBSD FAQ list, section 12, question 12.1: Q. Why does FreeBSD consume far more swap space than Linux? A. It doesn't. You might mean ``why does my swap seem full?''. If that is what you really meant, it's because putting stuff in swap rather than discarding it makes it faster to recover than if the pager had to go through the file system to pull in clean (unmodified) blocks from an executable. The actual amount of dirty pages that you can have in core at once is not reduced; the clean pages are displaced as necessary. -- * Finrod (INTJ) * Unix weenie * dag-erli@ifi.uio.no * cellular +47-92835919 * RFC1123: "Be liberal in what you accept, and conservative in what you send"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzppvpg2jwx.fsf>