[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Excessive memory usage? (long)
From: Nick Betcher <nbetcher () usinternet ! com>
Date: 2002-05-09 23:08:53
[Download RAW message or body]
Based off of your ps dump it seems that a lot of your system is also being
consumed by system daemons. Do you need a samba server running on your
machine? What about 7 different virtual consoles? You use portmap? You also
use NFS? You also run a database server off of your desktop? Postmaster?
qmgr? tlsmgr? Ever considered dropping cups to save some memory? You run a
dns server?! All that extra stuff is taking up 21.6 extra megs, which
shouldn't be running on your desktop.
Also, you have 57.5megs of your ram cached, and if I'm not mistaken, that
doesn't mean it's used. So technically you are only using 62 megs of ram, and
if you stopped running those daemons, it would go down to 40.9megs. Amazing,
if you do the math.
On Thursday 09 May 2002 06:55 pm, Andrea Aime wrote:
> Hi everybody,
> I'm writing this mail cause I feel that there's something wrong with memory
> consumption lately. Usually I use Linux with KDE 3 (recent CVS, compiled
> myselft on my Mandrake 8.2) to browse half an hour during the evening,
> and after half an hour browsing I end up with the following memory usage:
>
> free
> total used free shared buffers cached
> Mem: 126864 120544 6320 0 764 57576
> -/+ buffers/cache: 62204 64660
> Swap: 257000 29060 227940
>
> ps auv O+r output follows:
>
> PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
> 2 ? SW 0:00 0 0 0 0 0.0 [keventd]
> 3 ? SW 0:00 0 0 0 0 0.0 [kapmd]
> 4 ? SWN 0:00 0 0 0 0 0.0 [ksoftirqd_CPU0]
> 5 ? SW 0:00 0 0 0 0 0.0 [kswapd]
> 6 ? SW 0:00 0 0 0 0 0.0 [bdflush]
> 7 ? SW 0:00 0 0 0 0 0.0 [kupdated]
> 8 ? SW 0:00 0 0 0 0 0.0 [kreiserfsd]
> 483 ? SW 0:00 0 0 0 0 0.0 [khubd]
> 2053 vc/1 S 0:00 92 7 1448 304 0.2 kwrapper ksmserver
> --res 1915 tty2 S 0:00 102 6 1373 344 0.2 /sbin/mingetty
> tty2 1916 tty3 S 0:00 102 6 1373 344 0.2 /sbin/mingetty
> tty3 1917 tty4 S 0:00 102 6 1373 344 0.2 /sbin/mingetty
> tty4 1918 tty5 S 0:00 102 6 1373 344 0.2 /sbin/mingetty
> tty5 1919 tty6 S 0:00 102 6 1373 344 0.2 /sbin/mingetty
> tty6 1544 ? S 0:00 19 59 1380 392 0.3 gpm -t ps/2 -m
> /dev/psau 1037 ? S 0:00 9 12 1423 412 0.3
> /usr/sbin/atd 1 ? S 0:04 124 27 1384 452 0.3 init
> 2110 pts/0 S 0:00 118 6 1433 456 0.3 vmstat 1
> 907 ? S 0:00 35 18 1481 464 0.3 klogd -2
> 875 ? S 0:00 54 25 1518 480 0.3 portmap
> 898 ? S 0:00 55 24 1455 532 0.4 syslogd -m 0
> 941 ? S 0:00 44 25 1522 532 0.4 rpc.statd
> 2006 vc/1 S 0:00 160 8 2259 540 0.4 xinit
> /home/wolf/.xinitr 1603 ? S 0:00 78 19 1600 584 0.4
> crond
> 1660 ? S 0:00 1 1556 6231 628 0.4 postgres: stats
> buffer p 1661 ? S 0:00 2 1556 5263 632 0.4 postgres:
> stats collecto 1743 ? S 0:00 25 1364 3291 664 0.5 smbd
> -D
> 1090 ? S 0:00 156 134 2169 728 0.5 xinetd -stayalive
> -reuse 1914 tty1 S 0:00 434 15 2404 752 0.5 login -- wolf
> 61 ? S 0:00 32 32 1723 756 0.5 devfsd /dev 2359 pts/1
> R 0:00 163 59 2676 784 0.6 ps axv O+r 2014 vc/1 S
> 0:00 239 541 1862 848 0.6 sh /home/wolf/.xinitrc 2131 ttyS0 S
> 0:00 213 172 1731 852 0.6 pppd 57600 -detach crtsc 1658 ?
> S 0:00 380 1556 5239 880 0.6 /usr/bin/postmaster 2015 vc/1
> S 0:00 246 541 1882 884 0.6 /bin/sh /opt/kde3/bin/st 1525 ?
> S 0:00 291 95 3668 904 0.7 pickup -l -t fifo 1995 vc/1
> S 0:00 252 541 1874 908 0.7 /bin/sh /usr/X11R6/bin/s 1517 ?
> S 0:00 301 65 3694 964 0.7 /usr/lib/postfix/master 1526
> ? S 0:00 339 120 3771 1056 0.8 qmgr -l -t fifo -u 1527 ?
> S 0:00 346 115 3756 1056 0.8 tlsmgr -l -t fifo -u 1754 ?
> S 0:00 78 502 3209 1056 0.8 nmbd -D
> 1971 vc/1 S 0:00 324 541 2222 1080 0.8 -bash
> 2077 pts/0 S 0:00 387 541 2258 1112 0.8 /bin/bash
> 1128 ? S 0:00 196 183 4616 1292 1.0 cupsd
> 1062 ? S 0:00 97 1168 9039 1464 1.1 named -u named
> 1066 ? S 0:00 0 1168 9039 1464 1.1 named -u named
> 1071 ? S 0:00 105 1168 9039 1464 1.1 named -u named
> 1072 ? S 0:00 0 1168 9039 1464 1.1 named -u named
> 1073 ? S 0:00 1 1168 9039 1464 1.1 named -u named
> 2164 pts/1 S 0:00 385 541 2258 1612 1.2 /bin/bash
> 1690 ? S 0:00 11 8 6955 1636 1.2 /usr/bin/perl
> /usr/share 2050 ? S 0:14 955 111 6492 2760 2.1
> /opt/kde3/bin/artsd -F 1 1715 ? S 0:01 180 72 7291 3612
> 2.8 xfs -port -1 -daemon -dr 2212 ? S 0:00 50 53 12534
> 4824 3.8 kdesud
> 2112 ? S 0:00 43 441 17826 5036 3.9 kppp
> 2031 ? S 0:00 269 32 18547 6172 4.8 kdeinit: Running...
> 2034 ? S 0:00 123 32 18479 6480 5.1 kdeinit: dcopserver
> --no 2074 ? S 0:00 678 123 19792 7576 5.9 kalarmd
> -session 11c0a80 2037 ? S 0:00 364 32 19483 7600 5.9
> kdeinit: klauncher 2055 ? S 0:00 481 32 19947 8072 6.3
> kdeinit: ksmserver --res 2071 ? S 0:00 977 67 20464 8820
> 6.9 korgac -session 11c0a800 2066 ? S 0:00 702 32 20723
> 8900 7.0 kdeinit: klipper 2052 ? S 0:00 648 32 22959
> 8936 7.0 kdeinit: knotify 2210 ? S 0:00 467 32 20015
> 9020 7.1 kdeinit: kcookiejar 2039 ? S 0:01 661 32 21379
> 9352 7.3 kdeinit: kded 2056 ? S 0:05 977 32 21787 10288
> 8.1 kdeinit: kwin -session 2111 ? S 0:01 2603 441 20682
> 10400 8.1 kppp
> 2058 ? S 0:01 1190 32 21999 10648 8.3 kdeinit: kdesktop
> 2063 ? S 0:05 1351 32 23579 11476 9.0 kdeinit: kicker
> 2075 ? S 0:08 1122 32 23327 12372 9.7 kdeinit: konsole
> 2007 ? S 0:20 1835 1466 149197 12808 10.0 /etc/X11/X :0
> -defergl 2119 ? S 0:06 2501 32 30647 19908 15.6 kdeinit:
> konqueror --si 2307 ? S 0:13 1846 2278 29681 20276 15.9
> kmail -caption KMail -i 2120 ? S 0:28 2830 32 37387 25672
> 20.2 kdeinit: konqueror --si
>
>
> Now, as you can see I only have a couple of konsoles, a couple of
> konqueror, one displaying a text file, the other displaying kde.org, kmail
> (5500 messages more or less). Nevetheless, the system is sucking more than
> 128MB of memory. I've searched for a kernel side explaination, but Andrea
> Arcangeli told me that cached memory is effectively used by programs, so
> the total memory consumption sums up to 150 MB just for some basic tasks...
> it seems to much to me... do you see something wrong or should I consider
> it as "normal"? I've compiled kdelibs with --fast-malloc=full, don't know
> if it's relevant. BTW, when I start KDE and just one console memory usage
> is around 60 MB...
> Best regards
> Andrea Aime
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic