Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My file server's RAM is alawys completely full (as far as I can tell from top). If I boot it up, the ram is, for the most part, not utilitized, but as soon as NFS clients start writing to it, it fills up. It works fine after that and never really goes into swap, but the NFS read/write performance goes down the tubes once the RAM is full.
Is there a reason why this is happening?
My file server is running RH9 with the 2.4.20-8smp kernel. I can't upgrade the kernel as it is the only kernel my crummy SATA RAID controller works under.
I have the same prob with my computer, "top" and "free meminfo" show that all my ram is filled. but when i use something like gkrellm, it shows how much ram i am really using
According to free you only have 80 meg of the ram actually tied up in apps with 949meg being used as cache and buffers. This is normal for linux. It will use any 'free' memory for cache rather than waste it... the free value minus cache/buffers is a more reliable way to judge 'free' memory... ie in this case it's 949448 'free'...
The NFS problem might be due to something else?
And is there no way to use your SATA Raid with a (better) 2.6 kernel? What raid is it?
Originally posted by amosf According to free you only have 80 meg of the ram actually tied up in apps with 949meg being used as cache and buffers. This is normal for linux. It will use any 'free' memory for cache rather than waste it... the free value minus cache/buffers is a more reliable way to judge 'free' memory... ie in this case it's 949448 'free'...
hmm.. ok. I suppose I could have suspected as much, however, it still seems odd that NFS suffers at the point at which all the RAM is being used for cache.
Quote:
The NFS problem might be due to something else?
And is there no way to use your SATA Raid with a (better) 2.6 kernel? What raid is it?
Promise FastTrack 150 SX4, running RAID 5.
The Promise website is down at the moment, but at the time I installed the card (February?) the 2.4 kernel was the only one supported - the 2.4.20-8 was listed explicitly in the instructions as being the *only* kernel this card would run under (and happens to be the kernel the distro came with). I had to call tech support a few times during the install & every time I called, they made sure I was running 2.4.20-8. I guess you get what you pay for.
"hmm.. ok. I suppose I could have suspected as much, however, it still seems odd that NFS suffers at the point at which all the RAM is being used for cache."
Might have something to do with the way it's caching the data... Don't know
"Promise FastTrack 150 SX4, running RAID 5."
I think there is native support for this in the latest 2.6 kernels, but since it has software raid components then the binary proprietry promise driver you are using will be faster at this stage I'd say...
Not sure what the problem is, but the memory usage seems okay at least.
Originally posted by trickykid Using RAM is good. If you never use it all, why have that much to begin with? This is something Windows puts to waste and is good at.
well, if nothing was effected by the RAM being in use, I'd agree. However, the fact that my NFS performance drops when it is completely in use makes me wish that it wasn't.
Originally posted by BrianK well, if nothing was effected by the RAM being in use, I'd agree. However, the fact that my NFS performance drops when it is completely in use makes me wish that it wasn't.
Then I'd suggest running Memory tests then, if its not swapping but once its full its just degrading performance, that points to bad RAM or memory leaks, etc.
Originally posted by trickykid Then I'd suggest running Memory tests then, if its not swapping but once its full its just degrading performance, that points to bad RAM or memory leaks, etc.
what has come up in another thread is that my RAID controller is software based w/ hardware acceleration. I'm guessing this has something to do with it & seems to make the most sense.
If it was an issue with bad memory, I'd expect that I'd be getting errors more than slowness. If it was a memory leak, I'd expect to run into swap space once the mem is full, which it isn't. Looks like I'll chalk this one up as a cheap controller card & get a new one once I get another terabyte of space to back up my current data.
I have the same problem with the same SMP : 2.4.80-8SMP RedHat 9.
My memory gets full in couple of hours, but even if I shut down every application, the usage drops only 10-25%. I think it clearly indicates a memory leak but I was unable to detect what is the source. I suspect GNOME or X but if it was the case it would have been detected or reported by others earlier, no?
And something more, after few days of running I am unable to start a new Mozilla window or any Office window, it crashes and eventually I have to reboot my "solid" Linux Box.
Anyway, help appreciated...
I was going to paste in some data, but I had to reboot this machine few minutes ago. I will do it later.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.