All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS using too much memory on diskless system
@ 2005-02-24 12:19 Gareth Glaccum
  2005-02-24 13:17 ` Bill Rugolsky Jr.
  2005-02-24 13:38 ` Neil Horman
  0 siblings, 2 replies; 6+ messages in thread
From: Gareth Glaccum @ 2005-02-24 12:19 UTC (permalink / raw)
  To: nfs

Hi,
I have a diskless system built and am having weird issues with the way NFS 
client is working. I am using SLES 9.0 with the stock kernel (2.6.5-7.111-30 
I think from memory).
I have mounted an NFS partition from another machine without any issues. 
However, when I use anything to write to the partition (for example, see 
later) the system uses memory to cache the files as I am mounted over GbE.
However, the machine is not limiting the memory used at all. In fact, it is 
using so much it is crashing the machine or causing other programs to be 
OOM'd.

To recreate the problem, the following command took the machine out in less 
than 3 seconds dd if=/dev/zero of=/mnt/NFSMOUNT bs=1024k count=4000 The 
machine has 4GB of memory and is using around 300Mb for its OS all told.
Is there some way of limiting the NFS cache size like there used to be in 
the 2.4 kernel? (see section B7 of the nfs FAQ I believe)

Any ideas gratefully received,
Gareth

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-24 14:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 12:19 NFS using too much memory on diskless system Gareth Glaccum
2005-02-24 13:17 ` Bill Rugolsky Jr.
2005-02-24 14:07   ` Gareth Glaccum
2005-02-24 13:38 ` Neil Horman
2005-02-24 14:14   ` Gareth Glaccum
2005-02-24 14:56     ` Neil Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.