You are not logged in.
I wasn't sure what would be right place to post this so I decided to put this here since I am using 64-bit arch.
I've seen lot of memory issue threads on forums but most of them are just misunderstandings about buffers or not knowing how to use top or such.
My story begins with my computer being on for 2 months straight (from 18th march to 18th of may), with constantly less than 200 MB when I leave my computer idle with not much running. That was true even after two months uptime. There were updates on pacman during that time which I did periodically. Then on 18th of may I was forced to boot for some reason, and after that I have not been able to keep my computer up for more than a week due to memory usage buildup.
When I boot my computer it uses only 130 MB of RAM, but only after 2 days up, it already is using 550 MB of RAM.
lauri@alpha [~] $ free -m
total used free shared buffers cached
Mem: 1503 1190 312 0 80 522
-/+ buffers/cache: 587 915
Swap: 4400 26 4374
and top says
top - 21:31:04 up 2 days, 29 min, 0 users, load average: 0.68, 0.33, 0.26
Tasks: 126 total, 1 running, 125 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8%us, 0.4%sy, 0.0%ni, 95.6%id, 1.2%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1539128k total, 1369724k used, 169404k free, 87608k buffers
Swap: 4506196k total, 26780k used, 4479416k free, 603412k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10136 lauri 1 0 717m 122m 32m S 0 8.1 3:27.90 firefox
10373 lauri 1 0 284m 37m 18m S 1 2.5 0:05.34 mplayer
3231 root 6 0 133m 35m 9.9m S 6 2.4 48:12.76 X
10192 lauri 1 0 434m 24m 16m S 0 1.6 0:01.61 pidgin
10370 lauri 1 0 305m 22m 16m S 1 1.5 0:03.17 smplayer
3248 lauri 1 0 116m 17m 2704 S 1 1.2 0:59.62 openbox
3243 lauri 1 0 411m 14m 9052 S 0 1.0 1:49.76 thunar
10374 lauri 1 0 237m 9872 1008 S 0 0.6 0:00.11 mplayer
10382 lauri 1 0 67940 9272 4224 S 2 0.6 0:04.03 urxvt
3792 lauri 1 0 272m 8080 4548 S 0 0.5 0:24.73 notification-da
10143 lauri 1 0 69224 7988 4164 S 0 0.5 0:00.37 urxvt
3217 root 1 0 78660 7200 1284 S 0 0.5 0:09.62 denyhosts.py
11375 root 1 0 21820 6988 612 S 0 0.5 10:25.57 mount.ntfs-3g
10384 lauri 1 0 18800 4368 1588 S 0 0.3 0:00.64 bash
10145 lauri 1 0 44052 2924 2320 S 0 0.2 0:00.03 ssh
3342 lauri 1 0 38652 2400 1744 S 0 0.2 0:26.10 gconfd-2
2963 hal 1 0 38272 2324 1348 S 0 0.2 0:03.50 hald
10142 lauri 1 0 16484 1612 1204 S 0 0.1 0:00.01 irkki
3250 lauri 1 0 89760 1208 924 S 1 0.1 2:38.71 conky
3794 lauri 1 0 42756 1140 1020 S 0 0.1 0:00.05 gvfsd
2964 root 1 0 22208 1136 952 S 0 0.1 0:00.09 hald-runner
10398 root 7 0 10748 1136 828 R 1 0.1 0:00.46 top
14226 root 1 0 24316 1028 856 S 0 0.1 0:00.00 hald-addon-rfki
14242 root 1 0 24316 1024 856 S 0 0.1 0:00.00 hald-addon-leds
3237 lauri 1 0 14428 1020 984 S 0 0.1 0:00.01 sh
3188 lauri 1 0 14428 1004 1000 S 0 0.1 0:00.58 startx
2998 root 6 0 24324 996 852 S 0 0.1 1:02.17 hald-addon-inpu
2946 root 1 0 28460 980 764 S 0 0.1 0:01.70 syslog-ng
3263 lauri 1 0 12848 972 752 S 0 0.1 0:02.28 dbus-daemon
3013 root 1 0 24320 964 816 S 0 0.1 0:19.91 hald-addon-stor
3012 root 1 0 24320 960 816 S 0 0.1 0:19.77 hald-addon-stor
3240 lauri 1 0 18036 904 720 S 1 0.1 0:05.63 stalonetray
14648 root 1 0 28352 888 464 S 0 0.1 0:00.01 wpa_supplicant
3187 lauri 1 0 13476 848 848 S 0 0.1 0:00.00 bash
2960 dbus 1 0 12876 824 568 S 0 0.1 0:14.42 dbus-daemon
3193 root 1 0 52428 812 672 S 0 0.1 0:01.72 sshd
3175 root 1 0 79644 772 772 S 0 0.1 0:00.02 cupsd
3799 lauri 1 0 71568 764 672 S 0 0.0 0:00.01 gvfs-fuse-daemo
3021 hal 1 0 19824 720 716 S 0 0.0 0:00.00 hald-addon-acpi
10090 http 1 0 35316 688 280 S 0 0.0 0:00.02 lighttpd
3004 root 1 0 24316 672 672 S 0 0.0 0:00.00 hald-addon-gene
3152 root 1 0 5988 632 540 S 0 0.0 0:01.51 crond
3186 root 1 0 20824 588 584 S 0 0.0 0:00.00 su
1 root 1 0 3892 556 528 S 0 0.0 0:02.73 init
675 root 1 -4 6560 552 348 S 0 0.0 0:00.28 udevd
3180 root 1 0 3888 468 464 S 0 0.0 0:00.00 agetty
3181 root 1 0 3888 468 464 S 0 0.0 0:00.00 agetty
3182 root 1 0 3888 468 464 S 0 0.0 0:00.00 agetty
3183 root 1 0 3888 468 464 S 0 0.0 0:00.00 agetty
3184 root 1 0 3888 468 464 S 0 0.0 0:00.00 agetty
3185 root 1 0 3888 468 464 S 0 0.0 0:00.00 agetty
14241 root 1 -2 6556 428 212 S 0 0.0 0:00.00 udevd
3230 lauri 1 0 15536 420 420 S 0 0.0 0:00.00 xinit
3155 root 1 0 5932 412 352 S 0 0.0 0:01.42 uptimed
14240 root 1 -2 6556 408 196 S 0 0.0 0:00.00 udevd
3261 lauri 1 0 19816 192 192 S 0 0.0 0:00.00 dbus-launch
2945 root 1 0 26092 172 156 S 0 0.0 0:00.00 syslog-ng
2 root 1 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 1 0 0 0 0 S 0 0.0 0:05.12 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root 1 0 0 0 0 S 0 0.0 0:04.13 ksoftirqd/1
6 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
7 root 1 0 0 0 0 S 0 0.0 0:04.42 ksoftirqd/2
8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/2
9 root 1 0 0 0 0 S 0 0.0 0:04.51 ksoftirqd/3
10 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/3
11 root 1 0 0 0 0 S 0 0.0 0:15.83 events/0
12 root 1 0 0 0 0 S 0 0.0 0:03.95 events/1
13 root 5 0 0 0 0 S 0 0.0 0:04.61 events/2
14 root 1 0 0 0 0 S 0 0.0 0:03.07 events/3
15 root 1 0 0 0 0 S 0 0.0 0:00.00 cpuset
16 root 1 0 0 0 0 S 0 0.0 0:00.00 khelper
17 root 1 0 0 0 0 S 0 0.0 0:00.00 netns
18 root 1 0 0 0 0 S 0 0.0 0:00.00 async/mgr
19 root 1 0 0 0 0 S 0 0.0 0:00.00 pm
20 root 1 0 0 0 0 S 0 0.0 0:00.31 sync_supers
21 root 1 0 0 0 0 S 0 0.0 0:00.31 bdi-default
22 root 1 0 0 0 0 S 0 0.0 0:02.17 kblockd/0
23 root 1 0 0 0 0 S 0 0.0 0:02.03 kblockd/1
24 root 1 0 0 0 0 S 0 0.0 0:00.28 kblockd/2
25 root 1 0 0 0 0 S 0 0.0 0:00.28 kblockd/3
26 root 1 0 0 0 0 S 0 0.0 0:00.00 kacpid
27 root 1 0 0 0 0 S 0 0.0 0:00.00 kacpi_notify
28 root 1 0 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug
29 root 1 0 0 0 0 S 0 0.0 0:00.00 kseriod
34 root 1 0 0 0 0 S 0 0.0 0:00.07 khungtaskd
35 root 1 0 0 0 0 S 0 0.0 0:47.47 kswapd0
36 root 1 5 0 0 0 S 0 0.0 0:00.00 ksmd
37 root 1 0 0 0 0 S 0 0.0 0:00.00 aio/0
38 root 1 0 0 0 0 S 0 0.0 0:00.00 aio/1
39 root 1 0 0 0 0 S 0 0.0 0:00.00 aio/2
40 root 1 0 0 0 0 S 0 0.0 0:00.00 aio/3
41 root 1 0 0 0 0 S 0 0.0 0:00.00 crypto/0
42 root 1 0 0 0 0 S 0 0.0 0:00.00 crypto/1
43 root 1 0 0 0 0 S 0 0.0 0:00.00 crypto/2
44 root 1 0 0 0 0 S 0 0.0 0:00.00 crypto/3
558 root 1 0 0 0 0 S 0 0.0 0:00.00 ata/0
588 root 1 0 0 0 0 S 0 0.0 0:00.00 ata/1
590 root 1 0 0 0 0 S 0 0.0 0:00.00 ata/2
591 root 1 0 0 0 0 S 0 0.0 0:00.00 ata/3
592 root 1 0 0 0 0 S 0 0.0 0:00.00 ata_aux
600 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
601 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
602 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2
603 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3
604 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_4
605 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_5
638 root 1 0 0 0 0 S 0 0.0 0:21.73 jbd2/sda5-8
639 root 1 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit
640 root 1 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit
641 root 1 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit
642 root 1 0 0 0 0 S 0 0.0 0:00.00 ext4-dio-unwrit
910 root 1 0 0 0 0 S 0 0.0 0:00.02 khubd
2040 root 1 0 0 0 0 S 0 0.0 0:00.00 kpsmoused
2080 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_6
2081 root 1 0 0 0 0 S 0 0.0 0:24.79 usb-storage
2168 root 1 0 0 0 0 S 0 0.0 0:00.00 usbhid_resumer
2353 root 1 0 0 0 0 S 0 0.0 0:00.02 hd-audio0
2830 root 1 0 0 0 0 S 0 0.0 0:44.83 flush-8:0
10323 root 1 0 0 0 0 S 0 0.0 0:00.00 flush-8:32
11297 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_12
11298 root 1 0 0 0 0 S 0 0.0 0:00.20 usb-storage
11310 root 1 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_13
11311 root 1 0 0 0 0 S 0 0.0 0:00.62 usb-storage
13386 root 1 0 0 0 0 S 0 0.0 0:00.00 cfg80211
14223 root 1 0 0 0 0 S 0 0.0 0:09.31 phy0
As you can see, it is not any program in itself but some library that multiple programs share.
Any help would be appreciated.
Last edited by Aperculum (2010-06-10 18:32:37)
Offline
Press capital 'M' in top to sort by memory usage. That will make it easier to read.
Offline
Done so, there is firefox, mplayer and pidgin runnig but they don't come even close using 400 megas of my ram in use.
Offline
Try ps_mem from AUR. I'm convinced that top/htop/free are broken. They all produce the same results and they all show me absurd numbers. This isn't to say that you don't have another problem, but it will show you something much different.
Offline