When I have Quota turned on, as the Security Guide Doc, in Gentoo.org. The system gets very very slow even though CPU usage is low, the memory usage is very high. 99%. I have 512MB of ram. "ps" shows there is no such file with that much memory usage, but it seems as if after emerging "quota", and configuring as the documentation said, makes the system noticably slow for Apache 2 response to user requests, and vsFTP to user requests. However, the strange thing is, it never turns into swap. Reproducible: Always Steps to Reproduce: 1. emerge quota, and do what the "System ADmin Security Guide" tells you in gentoo documentations. 2. setup a quota for random user. (any number would be fine.) 3. reboot. Quota boots up automatically at startup. 4. see "free" or other apps that shows memory usage, and you will see 99% of memory is used. 5. now do "rc-update -d quota boot" to remove quota from booting. 6. reboot. 7. go to the proccess monitor and you will see that memory usage is about only ~30MB with Apache2 and vsFTPD running. Actual Results: 1. Physical Memory goes as high as it can. I have 512MB ram, actual is about 510MB so it goes up until 509MB. 2. Even though Physical Memory is very very high, it never turns into SWAP, resulting in Apache2 and vsFTPD to fail to do user requests, or very very slow. 3. even with "swapiness" 100, it never turns into SWAP. Expected Results: it should have been normal. The Physical memory level should be regular, not critically high. It should turn into swap, when it needs to. System Configuration 933MHz P3 Coppermine 2 x 256 MB Physical Memory 40GB Maxtor HDD 7200RPM (<-- /boot, /, swap partitioned mounted.) 80GB Maxtor HDD 7200RPM (<-- /home user quota enabled. here) ATI RAGE 128. 3COM SOHO Network Card. ================================================= Partitions /boot <-- 50M swap <-- 1024M / <-- rest of the space of 40GB /home <-- all space of 80GB ================================================= Also strange thing is that, whenever I erase a huge file, somewhere from 2GB ~ 4GB. the memory lowers to about 256MB, and goes back up slowly.
Sorry, I don't really know about quota and by the looks of the feedback here nobody else does. Could you please test if this issue still remains on 2.6.10-rc2?
Please reopen with requested info.