From: liz Subject: Re: Memory usage Date: Tue, 10 May 2005 20:07:52 -0700 Message-ID: <42817708.6030607@unixgrrl.net> References: <20050506161018.GA3979@infradead.org> <1115410171.1960.26.camel@lade.trondhjem.org> <20050510122745.GA28981@infradead.org> <42816FA8.5000606@unixgrrl.net> <42817444.1040707@catfeeder.net> Reply-To: liz@unixgrrl.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1DVhZm-0005Ss-CY for nfs@lists.sourceforge.net; Tue, 10 May 2005 20:07:58 -0700 Received: from imap.infopop.com ([63.251.4.15] ident=mirapoint) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1DVhZl-0000po-1B for nfs@lists.sourceforge.net; Tue, 10 May 2005 20:07:58 -0700 To: Sean Dogar , nfs@lists.sourceforge.net In-Reply-To: <42817444.1040707@catfeeder.net> Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NFS server. We have a box running as a NFS server and a mysql server. What were running into is that we have a large amount of memory being sucked up by cache and the box is swapping like crazy. It doesnt seem to be release the cache back so im stumped. The only thing using memory is mysql. All we can think of is the NFS server is using kernel cache for caching (a reach i know) |~ total: used: free: shared: buffers: cached: |Mem: 4224462848 4206002176 18460672 0 41304064 2938032128 |Swap: 2146754560 1073373184 1073381376 |MemTotal: 4125452 kB |MemFree: 18028 kB |MemShared: 0 kB |Buffers: 40336 kB |Cached: 2095616 kB <---- 2G disk cache |SwapCached: 773556 kB |Active: 3186300 kB |ActiveAnon: 1707252 kB |ActiveCache: 1479048 kB |Inact_dirty: 607944 kB |Inact_laundry: 117300 kB |Inact_clean: 65180 kB |Inact_target: 795344 kB |HighTotal: 3276224 kB |HighFree: 1200 kB |LowTotal: 849228 kB |LowFree: 16828 kB |SwapTotal: 2096440 kB <-- 1G swap usage |SwapFree: 1048224 kB |HugePages_Total: 0 |HugePages_Free: 0 |Hugepagesize: 2048 kB If it is indeed NFS is there a way to make it not do that :P I looked in my o'reilly book, googled and posted to kernel dev (WIth my asbestos jacket on and zipped up ;) The machine is running 2.4.21 EL-SMP Im completely stumped... Thanks for looking at it :) Liz |> How does NFS handle caching? more particularly is there a way to limit |> the memory usage for caching? |> |> |> Does it show up as kernel cache or is it displayed in the process |> list? |> | Liz, | | Are you referring to a nfs server or client? | | -Sean | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCgXcIlt/irWun80cRAqtaAJ9LaRgz6LN44xh9d0bbvpLizWW2egCePjTD QWAHmxtHMeyCOKqw3JcPVwg= =wkVW -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs