From owner-freebsd-hackers Sat Mar 18 20: 9:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lince.tdnet.com.br (lince.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id CBEB337B6EC for ; Sat, 18 Mar 2000 20:09:01 -0800 (PST) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.106] by lince.tdnet.com.br with ESMTP (SMTPD32-5.00) id A7C41BA300A2; Mon, 20 Mar 2000 00:15:16 -0300 Message-ID: <38D427B0.113B2C5E@tdnet.com.br> Date: Sun, 19 Mar 2000 01:04:48 +0000 From: Gustavo V G C Rios X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: dg@root.com Cc: hackers@FreeBSD.ORG Subject: Re: limiting buffer cache References: <200003182210.OAA18235@implode.root.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Greenman wrote: > > >Does anybody here knows how to limit the size of my FS buffer cache ? > >I have already looked over LINT config file, but it seems not to have > >any option! > >I have ever send this message to questions, but nobody there seems to > >care/know. > > > >I would really appreciate your help. > > There really isn't a 'buffer cache' in FreeBSD. About 5 years ago FreeBSD > was changed so that buffers weren't used to cache filesystem data - instead > they are used as a mechanism to map cached pages from the VM system into > the kernel address space. All file caching now occurs in the VM system and > is completely dynamic in size, and varies with other activity in the system. > > -DG > > David Greenman > Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org > Creator of high-performance Internet servers - http://www.terasolutions.com > Pave the road of life with opportunities. So, that is it! When my users try to copy very big directories the system simply prevent anyone else from spawwing any other process, return the followind: swapper: out of memory! Are you telling me that there is no way to prevent my users from eating all my memory ? PS: I am already controlling system resource, using /etc/login.conf. -- If you're happy, you're successful. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message