LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Very low RAM using KDE in Arch Linux (https://www.linuxquestions.org/questions/linux-software-2/very-low-ram-using-kde-in-arch-linux-835941/)

ootawata 10-03-2010 11:34 AM

Very low RAM using KDE in Arch Linux
 
Earlier today I was reading a webpage while installing an application when suddenly my harddrive starting reading/writing like crazy and my screen practically locked up. I went to tty1 and did "top" to see if there was a single application causing some horrible infinite loop or eating too much memory. Nothing stuck out, so I rebooted my machine. While it was rebooting (since it was still being slow), I looked at the "Mem:" line from "top" and saw that even the 4 GB of swap was exceeded by an entire GB. As of writing this, I only have 20MB of available cache, and it occasionally dips as low as 8MB.
I've done some searching online, and I'm seeing people complaining about X using 250MB of the available memory, and mine is far worse (mine is using a little over 1GB of memory). Some were saying that it is caused by KDE effects (mine are disabled).

Any thoughts?
I luckily have another partition on this computer, and I may nuke my Arch partition and start anew if nobody has any ideas.

Thanks.

Here's what "top" looks like:
Code:

top - 10:26:49 up 20 min,  2 users,  load average: 0.52, 0.58, 0.54
Tasks: 132 total,  1 running, 131 sleeping,  0 stopped,  0 zombie
Cpu(s):  6.6%us,  1.2%sy,  0.0%ni, 92.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  1023672k total,  988564k used,    35108k free,    43600k buffers
Swap:  3903756k total,        0k used,  3903756k free,  333932k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 1392 root      20  0  127m  41m  13m S    8  4.2  1:09.17 X                 
 1754 ootawata  20  0  797m 215m  28m S    5 21.6  1:34.22 rekonq             
 1570 ootawata  20  0  443m  44m  31m S    1  4.4  0:10.40 kwin               
 1591 ootawata  20  0  734m  50m  28m S    1  5.0  0:07.77 plasma-desktop     
 1695 ootawata  20  0  367m  30m  15m S    1  3.1  0:06.51 konsole           
 1691 ootawata  20  0  392m  28m  16m S    0  2.8  0:00.27 kget               
 1858 ootawata  20  0 55088  13m 8184 S    0  1.4  0:06.39 npviewer.bin       
    1 root      20  0  3896  604  504 S    0  0.1  0:00.29 init               
    2 root      20  0    0    0    0 S    0  0.0  0:00.00 kthreadd           
    3 root      20  0    0    0    0 S    0  0.0  0:00.01 ksoftirqd/0       
    4 root      RT  0    0    0    0 S    0  0.0  0:00.00 migration/0       
    5 root      RT  0    0    0    0 S    0  0.0  0:00.00 watchdog/0         
    6 root      RT  0    0    0    0 S    0  0.0  0:00.00 migration/1       
    7 root      20  0    0    0    0 S    0  0.0  0:00.01 ksoftirqd/1       
    8 root      RT  0    0    0    0 S    0  0.0  0:00.00 watchdog/1         
    9 root      20  0    0    0    0 S    0  0.0  0:00.12 events/0           
  10 root      20  0    0    0    0 S    0  0.0  0:00.02 events/1           
  11 root      20  0    0    0    0 S    0  0.0  0:00.00 cpuset             
  12 root      20  0    0    0    0 S    0  0.0  0:00.00 khelper           
  13 root      20  0    0    0    0 S    0  0.0  0:00.00 netns             
  14 root      20  0    0    0    0 S    0  0.0  0:00.00 async/mgr         
  15 root      20  0    0    0    0 S    0  0.0  0:00.00 pm                 
  16 root      20  0    0    0    0 S    0  0.0  0:00.00 sync_supers       
  17 root      20  0    0    0    0 S    0  0.0  0:00.00 bdi-default       
  18 root      20  0    0    0    0 S    0  0.0  0:00.02 kblockd/0         
  19 root      20  0    0    0    0 S    0  0.0  0:00.03 kblockd/1         
  20 root      20  0    0    0    0 S    0  0.0  0:00.00 kacpid             
  21 root      20  0    0    0    0 S    0  0.0  0:00.00 kacpi_notify       
  22 root      20  0    0    0    0 S    0  0.0  0:00.00 kacpi_hotplug     
  23 root      20  0    0    0    0 S    0  0.0  0:00.00 kseriod           
  24 root      20  0    0    0    0 S    0  0.0  0:00.00 khungtaskd         
  25 root      20  0    0    0    0 S    0  0.0  0:00.05 kswapd0           
  26 root      25  5    0    0    0 S    0  0.0  0:00.00 ksmd               
  27 root      20  0    0    0    0 S    0  0.0  0:00.00 aio/0             
  28 root      20  0    0    0    0 S    0  0.0  0:00.00 aio/1             
  29 root      20  0    0    0    0 S    0  0.0  0:00.00 crypto/0           
  30 root      20  0    0    0    0 S    0  0.0  0:00.00 crypto/1           
  431 root      20  0    0    0    0 S    0  0.0  0:00.00 ata_aux           
  441 root      20  0    0    0    0 S    0  0.0  0:00.14 ata_sff/0         
  454 root      20  0    0    0    0 S    0  0.0  0:00.00 ata_sff/1         
  491 root      20  0    0    0    0 S    0  0.0  0:00.27 scsi_eh_0         
  506 root      20  0    0    0    0 S    0  0.0  0:00.00 scsi_eh_1         
  524 root      20  0    0    0    0 S    0  0.0  0:00.00 scsi_eh_2         
  530 root      20  0    0    0    0 S    0  0.0  0:00.00 scsi_eh_3         
  536 root      20  0    0    0    0 S    0  0.0  0:00.00 scsi_eh_4         
  544 root      20  0    0    0    0 S    0  0.0  0:00.00 scsi_eh_5         
  609 root      20  0    0    0    0 S    0  0.0  0:00.03 jbd2/sda3-8       
  610 root      20  0    0    0    0 S    0  0.0  0:00.00 ext4-dio-unwrit   
  611 root      20  0    0    0    0 S    0  0.0  0:00.00 ext4-dio-unwrit   
  728 root      20  0    0    0    0 S    0  0.0  0:00.02 flush-8:0         
  758 root      20  0  3892  576  488 S    0  0.1  0:00.00 agetty             
  759 root      20  0  3892  576  488 S    0  0.1  0:00.00 agetty             
  760 root      20  0  3892  580  488 S    0  0.1  0:00.00 agetty             
  761 root      20  0  3892  580  488 S    0  0.1  0:00.00 agetty


TobiSGD 10-03-2010 12:46 PM

Sorry, but I can't see any problems here, according to your top-output your systems seems to be running fine.

H_TeXMeX_H 10-03-2010 02:55 PM

I agree that from that top output you have 663 MB of RAM being used, and no swap being used. I guess normal with KDE.

You will need to post the output of top when it happens again, or post the program that is using up all the RAM, usually at the very top of top.

paulsm4 10-03-2010 03:02 PM

Adobe Flash.

You can "gag" Flash with this Firefox plugin (it can be a lifesaver):

https://addons.mozilla.org/en-US/firefox/addon/433/

IMHO


All times are GMT -5. The time now is 07:08 PM.