View previous topic :: View next topic |
Author |
Message |
feli[x] n00b
Joined: 10 Mar 2004 Posts: 2 Location: Sthlm
|
Posted: Thu Mar 25, 2004 10:39 am Post subject: Memory leak ? |
|
|
Dear Gentoo users!
I use Gentoo on my P4 with Intels i845 chipset, 768MB RAM, here is my 'uname -a':
Quote: | Linux tanja 2.6.4-rc1 #4 Tue Mar 9 09:45:28 CET 2004 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux |
My desktop manager Xfce4 has a nice bar chart in the panel which says me how much memory is used. Even when I do nothing (logged out over night, in console) I get a memory usage of something like 580/768MB used.
'top' says this:
Quote: | top - 11:35:25 up 1 day, 2:43, 4 users, load average: 0.02, 0.02, 0.02
Tasks: 48 total, 1 running, 47 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.3% us, 0.3% sy, 0.0% ni, 97.3% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 766020k total, 716576k used, 49444k free, 209968k buffers
Swap: 0k total, 0k used, 0k free, 110132k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1263 mandoux 15 0 49472 32m 26m S 1.0 4.4 0:34.43 firefox-bin
1410 mandoux 15 0 36204 16m 26m S 1.0 2.2 0:04.30 abiword-2.0
642 root 15 0 163m 31m 136m S 0.3 4.2 0:36.94 X
1500 mandoux 16 0 1996 1020 1784 R 0.3 0.1 0:00.02 top
1 root 16 0 1436 476 1284 S 0.0 0.1 0:04.14 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.03 events/0 |
I can't find out where it goes and I do not really how to find memory leaks. In the forum I did not find a related discussion.
If anybody has an idea ... Thanks
Felix. |
|
Back to top |
|
|
carbon Guru
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Thu Mar 25, 2004 3:34 pm Post subject: |
|
|
That should tell you all the processes that are currently running as well as the memory usage associated with each of them. _________________ I do what I want, and that's what I do.
GNU World Domination
Carbon |
|
Back to top |
|
|
feli[x] n00b
Joined: 10 Mar 2004 Posts: 2 Location: Sthlm
|
Posted: Fri Mar 26, 2004 1:08 pm Post subject: |
|
|
I let the computer switched on the morning (wth xfree) and I get this :
Quote: |
top:
top - 14:04:24 up 6:06, 2 users, load average: 0.14, 0.20, 0.18
Tasks: 47 total, 2 running, 44 sleeping, 0 stopped, 1 zombie
Cpu(s): 6.7% us, 1.3% sy, 0.0% ni, 92.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 766020k total, 737608k used, 28412k free, 178616k buffers
Swap: 0k total, 0k used, 0k free, 108696k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10485 mandoux 15 0 45268 28m 26m S 3.7 3.8 70:06.55 firefox-bin
8982 root 15 0 154m 22m 136m S 3.3 2.9 0:56.71 X
9238 mandoux 15 0 9736 5704 8572 S 0.3 0.7 0:00.14 xfwm4
10555 mandoux 15 0 45268 28m 26m S 0.3 3.8 0:13.60 firefox-bin
18847 mandoux 16 0 6764 4200 4616 R 0.3 0.5 0:00.16 xterm
18988 root 16 0 1996 1028 1784 R 0.3 0.1 0:00.02 top
... |
Quote: |
ps aux:
bash-2.05b# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1436 476 ? S 07:57 0:04 init [3]
root 2 0.0 0.0 0 0 ? SWN 07:57 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? SW< 07:57 0:00 [events/0]
root 4 0.0 0.0 0 0 ? SW< 07:57 0:00 [kblockd/0]
root 9 0.0 0.0 0 0 ? SW< 07:57 0:00 [aio/0]
root 5 0.0 0.0 0 0 ? SW 07:57 0:00 [khubd]
root 6 0.0 0.0 0 0 ? SW 07:57 0:00 [pdflush]
root 7 0.0 0.0 0 0 ? SW 07:57 0:00 [pdflush]
root 8 0.0 0.0 0 0 ? SW 07:57 0:00 [kswapd0]
root 10 0.0 0.0 0 0 ? SW 07:57 0:00 [kseriod]
root 11 0.0 0.0 0 0 ? SW< 07:57 0:00 [reiserfs/0]
root 156 0.0 0.1 1792 912 ? S 07:57 0:00 /sbin/devfsd /dev
root 4791 0.0 0.0 0 0 ? SW 07:58 0:00 [kjournald]
root 5638 0.0 0.0 1692 708 ? S 07:58 0:00 /usr/sbin/syslog-ng
root 5849 0.0 0.1 3264 1412 ? S 07:58 0:00 /usr/sbin/sshd
root 5890 0.0 0.0 1748 648 ? S 07:58 0:00 /usr/sbin/cron
root 5905 0.0 0.1 2236 1180 ? S 07:58 0:00 login -- mandoux
root 5906 0.0 0.0 1476 572 tty2 S 07:58 0:00 /sbin/agetty 38400 tty2 linux
root 5907 0.0 0.0 1476 572 tty3 S 07:58 0:00 /sbin/agetty 38400 tty3 linux
root 5908 0.0 0.0 1476 572 tty4 S 07:58 0:00 /sbin/agetty 38400 tty4 linux
root 5909 0.0 0.0 1476 572 tty5 S 07:58 0:00 /sbin/agetty 38400 tty5 linux
root 5910 0.0 0.0 1476 572 tty6 S 07:58 0:00 /sbin/agetty 38400 tty6 linux
mandoux 8775 0.0 0.1 2236 1280 tty1 S 07:59 0:00 -bash
mandoux 8956 0.0 0.1 2044 936 tty1 S 07:59 0:00 /bin/sh /usr/X11R6/bin/startx
mandoux 8979 0.0 0.0 2812 748 tty1 S 07:59 0:00 xinit /home/mandoux/.xinitrc -- -nolisten tcp -deferglyphs 16
root 8982 0.2 2.6 155640 20344 ? R 07:59 0:51 /etc/X11/X :0 -nolisten tcp -deferglyphs 16
mandoux 9160 0.0 1.2 14360 9520 tty1 S 07:59 0:19 xfce4-panel
mandoux 9200 0.0 0.5 10176 4388 ? S 07:59 0:00 xfce-mcs-manager
mandoux 9238 0.0 0.6 9116 5140 tty1 S 07:59 0:00 xfwm4 --daemon
mandoux 9239 0.0 0.5 10096 4564 tty1 S 07:59 0:00 xfdesktop
mandoux 9240 0.0 0.5 8788 4428 tty1 S 07:59 0:00 xfce4-iconbox
mandoux 9241 0.0 0.7 9440 5476 tty1 S 07:59 0:00 xfcalendar
mandoux 9242 0.0 0.2 3736 1880 tty1 S 07:59 0:00 xscreensaver -nosplash
mandoux 10458 0.0 0.1 2044 900 tty1 S 07:59 0:00 /bin/sh /usr/bin/firefox
mandoux 10465 0.0 0.1 2044 972 tty1 S 07:59 0:00 /bin/sh /opt/firefox/run-mozilla.sh /opt/firefox/firefox-bin
mandoux 10485 19.3 3.6 44224 27656 tty1 S 07:59 69:52 /opt/firefox/firefox-bin
mandoux 10501 0.0 3.6 44224 27656 tty1 S 07:59 0:00 /opt/firefox/firefox-bin
mandoux 10502 0.0 3.6 44224 27656 tty1 S 07:59 0:00 /opt/firefox/firefox-bin
mandoux 10524 0.0 0.4 5684 3504 tty1 S 07:59 0:00 /usr/libexec/gconfd-2 20
mandoux 10555 0.0 3.6 44224 27656 tty1 S 07:59 0:13 /opt/firefox/firefox-bin
mandoux 10913 0.0 0.1 2784 1056 ? S 08:00 0:00 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 37
mandoux 11828 0.0 0.0 0 0 tty1 Z 08:00 0:00 [netstat] <defunct>
mandoux 18847 0.1 0.5 6632 4148 tty1 S 13:59 0:00 xterm -title Terminal
mandoux 18848 0.0 0.1 2240 1268 pts/0 S 13:59 0:00 bash
root 18854 0.0 0.1 2184 964 pts/0 S 13:59 0:00 su
root 18857 0.0 0.1 2244 1276 pts/0 S 13:59 0:00 bash
root 18946 0.0 0.1 2424 832 pts/0 R 14:01 0:00 ps aux
|
It's strange because on one hand more than 700 MB seem to be used and on the other hand no program seems to take the memory!
An idea?
Thanks a lot!
Felix |
|
Back to top |
|
|
Useful Idiot Guru
Joined: 30 Aug 2002 Posts: 329 Location: Finland
|
Posted: Fri Mar 26, 2004 2:15 pm Post subject: |
|
|
That's just how Linux handles memory. It doesn't get deallocated until it is necessary. If you wan't to know how much is really used use 'free -m'. _________________ [size=9]We are all in the gutter, but some of us are looking at the stars. |
|
Back to top |
|
|
coax Apprentice
Joined: 08 Sep 2003 Posts: 231 Location: Antwerp - Belgium
|
Posted: Wed Mar 31, 2004 5:47 pm Post subject: |
|
|
I've got sort or less the same problem.
Only thing is: I'm even swapping when typing this. (and I've got 1024Mb of RAM)
here's my free -m:
Code: | coax@homer coax $ free -m
total used free shared buffers cached
Mem: 881 798 83 0 6 658
-/+ buffers/cache: 133 748
Swap: 1961 9 1951
|
|
|
Back to top |
|
|
eskimo n00b
Joined: 26 Mar 2004 Posts: 9 Location: Wien, Österreich, Austria, Europe
|
Posted: Wed Mar 31, 2004 9:29 pm Post subject: |
|
|
The Linux motto: "Free memory is bad memory!"
That is: For what you've got memory you don't use?
So motto sounds good, but if your processes don't need all the memory, for what we can use it?
Linux uses it for disk buffering, so everything you read or write from/to disk is buffered in memory, for performance reasons.
The next time you want to read the same file, it is read from memory.
Examples: storing a .c file and compiling it.
Configurationfiles.
So all the memory not beeing used by processes is used as disk cache.
clever isn't it? |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Apr 01, 2004 4:12 am Post subject: |
|
|
coax wrote: | I've got sort or less the same problem.
Only thing is: I'm even swapping when typing this. (and I've got 1024Mb of RAM)
here's my free -m:
Code: | coax@homer coax $ free -m
total used free shared buffers cached
Mem: 881 798 83 0 6 658
-/+ buffers/cache: 133 748
Swap: 1961 9 1951
|
|
looks like you forgat to compile "high memory support" into your kernel
That'll give you an extra 100 megs or so. I'm not sure why it's all leaking. What I did notice, is that felix had abiword and firefox running.
Those are apps which just use a lot of memory...
I never heard of the usage of memory as eskimo explains it, but he could be right.. There might just be a lot of filehandlers opened by some apps.
Also, felix, you had 4 users logged in. Maybe one of thos is execution some recourse-intensive tasks? Or are those just local getty logins? |
|
Back to top |
|
|
eskimo n00b
Joined: 26 Mar 2004 Posts: 9 Location: Wien, Österreich, Austria, Europe
|
Posted: Thu Apr 01, 2004 9:09 am Post subject: |
|
|
Rainmaker wrote: | coax wrote: | I've got sort or less the same problem.
Only thing is: I'm even swapping when typing this. (and I've got 1024Mb of RAM)
here's my free -m:
Code: | coax@homer coax $ free -m
total used free shared buffers cached
Mem: 881 798 83 0 6 658
-/+ buffers/cache: 133 748
Swap: 1961 9 1951
|
|
looks like you forgat to compile "high memory support" into your kernel
That'll give you an extra 100 megs or so. I'm not sure why it's all leaking. What I did notice, is that felix had abiword and firefox running.
Those are apps which just use a lot of memory...
I never heard of the usage of memory as eskimo explains it, but he could be right.. There might just be a lot of filehandlers opened by some apps.
Also, felix, you had 4 users logged in. Maybe one of thos is execution some recourse-intensive tasks? Or are those just local getty logins? |
I don't think that high memory support is needed for one gig, only for more than one gig. |
|
Back to top |
|
|
srs5694 Guru
Joined: 08 Mar 2004 Posts: 434 Location: Woonsocket, RI
|
Posted: Thu Apr 01, 2004 7:59 pm Post subject: |
|
|
coax wrote: | I've got sort or less the same problem.
Only thing is: I'm even swapping when typing this. (and I've got 1024Mb of RAM)
here's my free -m:
Code: | coax@homer coax $ free -m
total used free shared buffers cached
Mem: 881 798 83 0 6 658
-/+ buffers/cache: 133 748
Swap: 1961 9 1951
|
|
Are you sure you're swapping? This output shows that you're only using 133MB of the RAM (the 798 figure in the "Mem" line includes buffers and cache, as eskimo suggests, and so isn't a good measure), and that only 9MB of swap is in use. It's possible that your system is sluggish for some other reason that you're mistaking for swap. Or are you concerned about that 9MB of swap space in use? If so, I wouldn't be; if memory use goes up and then comes back down, swap space can be called into use, and unless/until whatever was swapped out is needed again, it'll stay in use, so you can see something like you're reporting.
FWIW, I've also been noticing what looks like a memory leak on a lightly-loaded system, and it seems to be Firefox (four processes in ps, each consuming 10.5% of my 512MB of RAM). Firefox looks like it's got promise, so I hope this is a bug that's in the process of getting squashed. Unfortunately, it seems to be a problem with Web browsers in general today... |
|
Back to top |
|
|
bfkeats Apprentice
Joined: 20 Feb 2004 Posts: 268
|
Posted: Sun Apr 11, 2004 2:45 pm Post subject: |
|
|
Similar problem here. I leave my computer on for a while and my memory dissapears. Here are the outputs of free -m and ps aux. HELP!
Quote: |
$ free -m
total used free shared buffers cached
Mem: 502 497 5 0 64 52
-/+ buffers/cache: 380 122
Swap: 509 0 509
|
Quote: |
$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1480 488 ? S Apr10 0:05 init
root 2 0.0 0.0 0 0 ? SW Apr10 0:00 [migration_CPU0]
root 3 0.0 0.0 0 0 ? SW Apr10 0:00 [keventd]
root 4 0.0 0.0 0 0 ? SW Apr10 0:00 [kapmd]
root 5 0.0 0.0 0 0 ? SWN Apr10 0:01 [ksoftirqd_CPU0]
root 6 0.0 0.0 0 0 ? SW Apr10 0:00 [kswapd]
root 7 0.0 0.0 0 0 ? SW Apr10 0:00 [bdflush]
root 8 0.0 0.0 0 0 ? SW Apr10 0:17 [kupdated]
root 11 0.0 0.0 0 0 ? SW Apr10 0:00 [khubd]
root 14 0.0 0.0 0 0 ? SW Apr10 0:28 [kjournald]
root 159 0.0 0.1 1836 960 ? S Apr10 0:09 /sbin/devfsd /dev
root 372 0.0 0.0 0 0 ? SW Apr10 0:03 [kjournald]
root 859 0.0 0.1 1728 696 ? S Apr10 0:00 /usr/sbin/syslog-ng
root 884 0.0 0.0 1460 488 ? S Apr10 0:00 /usr/sbin/apmd
root 947 0.0 0.0 0 0 ? SW Apr10 0:00 [eth1]
root 955 0.0 0.4 5492 2376 ? S Apr10 0:01 /usr/sbin/cupsd
bfkeats 1170 0.0 0.1 1884 896 ? S Apr10 0:00 /usr/local/FEMLAB30/license/glnx86/lmgrd -c /usr/local/FEMLA
bfkeats 1191 0.0 0.1 2048 1028 ? S Apr10 0:00 FEMLAB -T SMARTHOME 7.2 3 -c /usr/local/FEMLAB30/license/gln
ntp 1256 0.0 0.4 2368 2360 ? SL Apr10 0:01 /usr/bin/ntpd -p /var/run/ntpd.pid -U ntp
root 1324 0.0 0.3 5528 1928 ? S Apr10 0:00 /usr/sbin/smbd
root 1326 0.0 0.3 4244 1696 ? S Apr10 0:01 /usr/sbin/nmbd
root 1358 0.0 0.2 3348 1408 ? S Apr10 0:00 /usr/sbin/sshd
root 1383 0.0 0.1 1660 640 ? S Apr10 0:00 /usr/sbin/cron
xfs 1548 0.0 0.9 7392 4904 ? S Apr10 0:00 /usr/X11R6/bin/xfs -daemon -config /etc/X11/fs/config -dropp
root 1595 0.0 0.1 2132 848 ? S Apr10 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -re
root 1605 0.0 0.0 1468 472 vc/1 S Apr10 0:00 /sbin/agetty 38400 tty1 linux
root 1606 0.0 0.0 1468 472 vc/2 S Apr10 0:00 /sbin/agetty 38400 tty2 linux
root 1607 0.0 0.0 1468 472 vc/3 S Apr10 0:00 /sbin/agetty 38400 tty3 linux
root 1608 0.0 0.0 1468 472 vc/4 S Apr10 0:00 /sbin/agetty 38400 tty4 linux
root 1609 0.0 0.0 1468 472 vc/5 S Apr10 0:00 /sbin/agetty 38400 tty5 linux
root 1610 0.0 0.0 1468 472 vc/6 S Apr10 0:00 /sbin/agetty 38400 tty6 linux
root 1626 0.0 0.1 2628 716 ? S Apr10 0:00 /usr/kde/3.2/bin/kdm
root 1629 0.2 3.9 23748 20084 ? S Apr10 2:49 /etc/X11/X -nolisten tcp vt7 -auth /var/run/xauth/A:0-IagnKS
root 1630 0.0 0.3 3488 1580 ? S Apr10 0:00 -:0
bfkeats 8270 0.0 0.1 2192 1008 ? S 02:02 0:00 /bin/sh --login /usr/kde/3.2/bin/startkde
bfkeats 8293 0.0 1.8 21952 9780 ? S 02:02 0:00 kdeinit: Running...
bfkeats 8296 0.0 1.9 21632 9812 ? S 02:02 0:00 kdeinit: dcopserver --nosid
bfkeats 8298 0.0 2.1 23108 10996 ? S 02:02 0:00 kdeinit: klauncher
bfkeats 8301 0.0 2.7 25384 14344 ? S 02:02 0:17 kdeinit: kded
bfkeats 8360 0.0 1.0 10228 5656 ? S 02:02 0:14 //usr/kde/3.2/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -
bfkeats 8368 0.0 2.8 29100 14852 ? S 02:02 0:00 kdeinit: knotify
bfkeats 8369 0.0 0.0 1468 308 ? S 02:02 0:00 kwrapper ksmserver
bfkeats 8371 0.0 2.3 22872 12168 ? S 02:02 0:00 kdeinit: ksmserver
bfkeats 8408 0.0 2.7 24544 14364 ? S 02:02 0:06 kdeinit: kwin
bfkeats 8472 0.0 2.4 24136 12640 ? S 02:02 0:00 kdeinit: khotkeys
bfkeats 8473 0.0 3.0 25296 15664 ? S 02:02 0:03 kdeinit: kdesktop
bfkeats 8475 0.0 1.9 23072 10280 ? S 02:02 0:00 kdeinit: kio_file file /tmp/ksocket-bfkeats/klauncherZOR7Yb.
bfkeats 8476 0.8 3.9 30848 20432 ? S 02:02 4:59 kdeinit: kicker
bfkeats 8479 0.0 2.6 23872 13540 ? S 02:02 0:12 /home/bfkeats/.kde/Autostart/kpilotDaemon
bfkeats 8482 0.0 0.1 1828 756 ? S 02:02 0:05 ksysguardd
bfkeats 8534 0.0 2.6 23844 13784 ? S 02:02 0:05 kdeinit: klipper
bfkeats 8536 0.0 3.2 27432 16816 ? S 02:02 0:03 korgac --miniicon korganizer
bfkeats 30354 1.1 5.4 38028 28172 ? S 11:21 0:05 kdeinit: konqueror --silent
bfkeats 30538 0.2 3.0 26188 15596 ? S 11:24 0:00 kdeinit: konsole
bfkeats 30540 0.0 0.2 2392 1352 pts/0 S 11:24 0:00 /bin/bash
bfkeats 30949 0.0 0.1 2464 820 pts/0 R 11:30 0:00 ps aux
| [/quote] |
|
Back to top |
|
|
bfkeats Apprentice
Joined: 20 Feb 2004 Posts: 268
|
Posted: Sun Apr 11, 2004 3:04 pm Post subject: |
|
|
Check out this thread.
https://forums.gentoo.org/viewtopic.php?t=155348&highlight=memory+leak
I have updatedb running nightly. Once I followed their advice and opened and closed a bunch of videos, some memory was freed up.
Quote: |
$ free -m
total used free shared buffers cached
Mem: 502 390 112 0 5 116
-/+ buffers/cache: 268 233
Swap: 509 2 507
|
Quote: |
$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1480 488 ? S Apr10 0:05 init
root 2 0.0 0.0 0 0 ? SW Apr10 0:00 [migration_CPU0]
root 3 0.0 0.0 0 0 ? SW Apr10 0:00 [keventd]
root 4 0.0 0.0 0 0 ? SW Apr10 0:00 [kapmd]
root 5 0.0 0.0 0 0 ? RWN Apr10 0:02 [ksoftirqd_CPU0]
root 6 0.0 0.0 0 0 ? SW Apr10 0:01 [kswapd]
root 7 0.0 0.0 0 0 ? SW Apr10 0:00 [bdflush]
root 8 0.0 0.0 0 0 ? SW Apr10 0:18 [kupdated]
root 11 0.0 0.0 0 0 ? SW Apr10 0:00 [khubd]
root 14 0.0 0.0 0 0 ? SW Apr10 0:29 [kjournald]
root 159 0.0 0.1 1836 972 ? S Apr10 0:09 /sbin/devfsd /dev
root 372 0.0 0.0 0 0 ? SW Apr10 0:04 [kjournald]
root 859 0.0 0.1 1728 696 ? S Apr10 0:00 /usr/sbin/syslog-
root 884 0.0 0.0 1460 488 ? S Apr10 0:00 /usr/sbin/apmd
root 947 0.0 0.0 0 0 ? SW Apr10 0:00 [eth1]
root 955 0.0 0.4 5492 2376 ? S Apr10 0:02 /usr/sbin/cupsd
bfkeats 1170 0.0 0.1 1884 896 ? S Apr10 0:00 /usr/local/FEMLAB
bfkeats 1191 0.0 0.1 2048 1028 ? S Apr10 0:00 FEMLAB -T SMARTHO
ntp 1256 0.0 0.4 2368 2360 ? SL Apr10 0:01 /usr/bin/ntpd -p
root 1324 0.0 0.3 5528 1928 ? S Apr10 0:00 /usr/sbin/smbd
root 1326 0.0 0.3 4244 1696 ? S Apr10 0:01 /usr/sbin/nmbd
root 1358 0.0 0.2 3348 1408 ? S Apr10 0:00 /usr/sbin/sshd
root 1383 0.0 0.1 1660 640 ? S Apr10 0:00 /usr/sbin/cron
xfs 1548 0.0 0.9 7392 4904 ? S Apr10 0:00 /usr/X11R6/bin/xf
root 1595 0.0 0.1 2132 848 ? S Apr10 0:00 /usr/sbin/xinetd
root 1605 0.0 0.0 1468 472 vc/1 S Apr10 0:00 /sbin/agetty 3840
root 1606 0.0 0.0 1468 472 vc/2 S Apr10 0:00 /sbin/agetty 3840
root 1607 0.0 0.0 1468 472 vc/3 S Apr10 0:00 /sbin/agetty 3840
root 1608 0.0 0.0 1468 472 vc/4 S Apr10 0:00 /sbin/agetty 3840
root 1609 0.0 0.0 1468 472 vc/5 S Apr10 0:00 /sbin/agetty 3840
root 1610 0.0 0.0 1468 472 vc/6 S Apr10 0:00 /sbin/agetty 3840
root 1626 0.0 0.1 2628 584 ? S Apr10 0:00 /usr/kde/3.2/bin/
root 1629 0.3 4.2 25340 21676 ? S Apr10 4:25 /etc/X11/X -nolis
root 1630 0.0 0.2 3488 1472 ? S Apr10 0:00 -:0
bfkeats 8270 0.0 0.1 2192 1008 ? S 02:02 0:00 /bin/sh --login /
bfkeats 8293 0.0 1.0 21952 5652 ? S 02:02 0:00 kdeinit: Running.
bfkeats 8296 0.0 0.3 21684 1712 ? S 02:02 0:00 kdeinit: dcopserv
bfkeats 8298 0.0 1.3 23204 7040 ? S 02:02 0:00 kdeinit: klaunche
bfkeats 8301 0.0 2.1 25412 11328 ? S 02:02 0:18 kdeinit: kded
bfkeats 8360 0.0 1.1 10512 6132 ? S 02:02 0:16 //usr/kde/3.2/bin
bfkeats 8368 0.0 1.8 29104 9352 ? S 02:02 0:00 kdeinit: knotify
bfkeats 8369 0.0 0.0 1468 308 ? S 02:02 0:00 kwrapper ksmserve
bfkeats 8371 0.0 1.6 22888 8348 ? S 02:02 0:00 kdeinit: ksmserve
bfkeats 8408 0.0 2.1 24624 10956 ? S 02:02 0:07 kdeinit: kwin
bfkeats 8472 0.0 1.6 24136 8732 ? S 02:02 0:00 kdeinit: khotkeys
bfkeats 8473 0.0 2.5 25312 12876 ? S 02:02 0:04 kdeinit: kdesktop
bfkeats 8475 0.0 1.1 23072 5820 ? S 02:02 0:00 kdeinit: kio_file
bfkeats 8476 0.8 3.4 30908 17532 ? S 02:02 5:13 kdeinit: kicker
bfkeats 8479 0.0 2.0 23872 10328 ? S 02:02 0:12 /home/bfkeats/.kd
bfkeats 8482 0.0 0.1 1828 756 ? S 02:02 0:05 ksysguardd
bfkeats 8534 0.0 1.9 23908 10248 ? S 02:02 0:06 kdeinit: klipper
bfkeats 8536 0.0 2.6 27432 13840 ? S 02:02 0:03 korgac --miniicon
bfkeats 30974 0.0 1.2 23132 6376 ? S 11:30 0:00 kdeinit: kio_http
bfkeats 30975 0.0 1.2 23184 6460 ? S 11:30 0:00 kdeinit: kio_http
bfkeats 31263 0.0 2.2 24796 11408 ? S 11:34 0:00 kdeinit: kio_uise
bfkeats 31270 0.0 1.2 23168 6448 ? S 11:34 0:00 kdeinit: kio_http
bfkeats 31655 0.0 0.7 22808 3992 ? S 11:39 0:00 kdeinit: kio_abou
bfkeats 31686 0.0 1.2 23124 6368 ? S 11:40 0:00 kdeinit: kio_http
bfkeats 31687 0.0 1.2 23124 6368 ? S 11:40 0:00 kdeinit: kio_http
bfkeats 31689 0.0 1.2 23124 6368 ? S 11:40 0:00 kdeinit: kio_http
bfkeats 31690 0.0 1.2 23124 6368 ? S 11:40 0:00 kdeinit: kio_http
bfkeats 31870 0.0 1.2 23128 6672 ? S 11:42 0:00 kdeinit: kio_file
bfkeats 32061 0.0 1.2 22936 6536 ? S 11:44 0:00 kdeinit: kio_pop3
bfkeats 32755 7.5 2.4 26212 12760 ? S 11:47 0:00 kdeinit: konsole
bfkeats 32757 0.0 0.2 2388 1364 pts/0 S 11:47 0:00 /bin/bash
bfkeats 32762 9.7 2.4 26160 12672 ? S 11:47 0:00 kdeinit: konsole
bfkeats 32764 0.0 0.2 2388 1336 pts/1 S 11:47 0:00 /bin/bash
bfkeats 304 0.0 0.1 2464 820 pts/0 R 11:47 0:00 ps aux
|
|
|
Back to top |
|
|
weltraumfahrer Apprentice
Joined: 17 Dec 2002 Posts: 195 Location: Karlsruhe, Germany
|
Posted: Mon Apr 12, 2004 2:32 pm Post subject: |
|
|
Hi eskimo,
> I don't think that high memory support is needed for one gig, only for more than one gig.
You need 'high memory support'!
Code: |
My 'free -m' with one Gig shows:
total used free shared buffers cached
Mem: 1008 940 67 0 26 696
-/+ buffers/cache: 217 791
Swap: 517 0 517
|
Frank |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2022 Location: Vegas Baby!
|
Posted: Tue Jan 04, 2005 5:33 am Post subject: |
|
|
Remember, if what you think you have is 1GB of ram, then what you probably have is 1.024 MG of ram in which case you do need high memory support. |
|
Back to top |
|
|
ShadowFlyP n00b
Joined: 12 Oct 2004 Posts: 7 Location: Rochester, MN
|
Posted: Fri Jan 21, 2005 3:37 pm Post subject: |
|
|
Ateo wrote: | Remember, if what you think you have is 1GB of ram, then what you probably have is 1.024 MG of ram in which case you do need high memory support. |
This comment makes no sense at all. The linux kernel does everything in nice "round" numbers (from a computer perspective). The kernel understands 1GB to mean 1024MB or 1048576kB or 1073741824bytes: how ever you'd like to measure it. But, if you notice in some of the 'free' outputs, the max memory is 881 meg. This is the "magic limit" of the kernel without high-mem support. Compile with high-mem support on and you'll gain a few hundred meg; getting much closer to your actual 1024 meg of memory. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|