Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59097 - System slows down, Memory turns into 512MB when Quota is turned on.
Summary: System slows down, Memory turns into 512MB when Quota is turned on.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-01 14:08 UTC by Gyujin Park
Modified: 2004-12-22 15:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gyujin Park 2004-08-01 14:08:01 UTC
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.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-11-17 15:39:24 UTC
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?
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-12-22 15:40:44 UTC
Please reopen with requested info.