Hello,
Can anyone tell me what in my computer takes so much RAM? total used free shared buffers cached Mem: 514592 390860 123732 0 23684 215796 -/+ buffers/cache: 151380 363212 Swap: 1020088 0 1020088
bash $ ps -Aeo pmem,args |sort gives me
0.0 [bdflush] 0.0 gpm -m /dev/mouse -t ps/2 0.0 init [5] 0.0 [kapmd] 0.0 [keventd] 0.0 [khubd] 0.0 [kjournald] 0.0 [kjournald] 0.0 [kjournald] 0.0 klogd -x 0.0 [ksoftirqd/0] 0.0 [kswapd] 0.0 [kupdated] 0.0 [mdrecoveryd] 0.0 [netstat <defunct>] 0.0 [netstat <defunct>] 0.0 /sbin/mingetty tty1 0.0 /sbin/mingetty tty2 0.0 /sbin/mingetty tty3 0.0 /sbin/mingetty tty4 0.0 /sbin/mingetty tty5 0.0 /sbin/mingetty tty6 0.0 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 17 0.0 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript 0.1 /bin/sh /usr/local/mozilla-firebird/run-mozilla.sh /usr/local/mozilla-firebird/MozillaFirebird-bin 0.1 /bin/sh /usr/local/thunderbird/run-mozilla.sh /usr/local/thunderbird/thunderbird-bin 0.1 crond 0.1 dbus-daemon-1 --system 0.1 gnome-pty-helper 0.1 portmap 0.1 ps -Aeo pmem,args 0.1 /sbin/cardmgr 0.1 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid -cf /etc/dhclient-eth0.conf eth0 0.1 /sbin/pam_timestamp_check -d root 0.1 sort 0.1 syslogd -m 0 0.1 /usr/bin/lisa --quiet --config=/etc/lisarc 0.1 /usr/bin/ssh-agent /etc/X11/xinit/Xclients 0.1 /usr/libexec/mapping-daemon 0.1 /usr/sbin/atd 0.1 /usr/sbin/smartd 0.1 xinetd -stayalive -pidfile /var/run/xinetd.pid 0.2 bash 0.2 fam 0.2 /usr/sbin/sshd 0.3 /usr/bin/gdm-binary -nodaemon 0.4 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue 0.4 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=19 0.4 xscreensaver -nosplash 0.5 sendmail: accepting connections 0.5 /usr/bin/gdm-binary -nodaemon 0.7 pam-panel-icon --sm-client-id default0 1.0 magicdev --sm-client-id default4 1.1 /usr/bin/gnome-session 1.1 xmms 1.2 eggcups --sm-client-id default6 1.2 /usr/libexec/notification-area-applet --oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory --oaf-ior-fd=28 1.3 gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=22 1.3 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=30 1.4 /usr/bin/metacity --sm-client-id=default1 1.5 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=32 1.6 xfs -droppriv -daemon 2.0 gnome-panel --sm-client-id default2 2.4 gnome-terminal 3.0 nautilus --no-default-window --sm-client-id default3 3.2 /usr/bin/python /usr/bin/rhn-applet-gui --sm-client-id default5 3.6 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7 4.0 /usr/libexec/gconfd-2 5 8.2 /usr/local/thunderbird/thunderbird-bin 8.8 /usr/local/mozilla-firebird/MozillaFirebird-bin
And bash]$ for file in `ps -aeo pmem --noheader` ; do sum=$file+$sum; done ; echo $sum 0 | bc 159.9
So where are the 200M missing memory ?
Can you give me a hint?
Hi all i'm new in this list and maybe u have just spoken of this! anyway i know that there are some problem using winex under fedora, and i know also that there is a script to solve this! i found very different version of this script! can anyone send me the right one or say me where to get it? thanks
Disable prelinking.
1. in /etc/sysconfig/prelink, change: PRELINKING=yes to: PRELINKING=no
2. in the same file, change: PRELINK_OPTS=-mR to: PRELINK_OPTS="-mR --no-exec-shield"
3. run /usr/sbin/prelink -ua
Cheers Bjorn Andersen
søn, 2004-02-01 kl. 19:24 skrev k1n6w4r3z:
Hi all i'm new in this list and maybe u have just spoken of this! anyway i know that there are some problem using winex under fedora, and i know also that there is a script to solve this! i found very different version of this script! can anyone send me the right one or say me where to get it? thanks
On Sun, Feb 01, 2004 at 07:19:13PM +0100, Julien Tane wrote:
Hello,
Can anyone tell me what in my computer takes so much RAM? total used free shared buffers cached Mem: 514592 390860 123732 0 23684 215796 -/+ buffers/cache: 151380 363212 ^^^^^^ ^^^^^^ Swap: 1020088 0 1020088
You asked:
So where are the 200M missing memory ?
Can you give me a hint?
Yes, look at the "cached" and "buffers" lines in your posting above. Those two total to around 235-240 megabytes.
This is NORMAL. Linux does this ON PURPOSE. you've got all that RAM sitting there that would otherwise be DOING NOTHING, so the kernel puts it to use providing perfomance-enhancing buffering and caching. These things can be quickly freed if necessary, in case some program suddenly demands additional RAM, so it's not like it's a problem.
Hello Fred,
thanks a lot. I had been wondering in the last days. I mean this is O.K now... But Can it be that some useless things are cached or buffered.
Is there a way to find out what is buffered or cached ( or perhaps tell which application buffer and cache so much ?).
Regards,
Julien
fred smith wrote:
On Sun, Feb 01, 2004 at 07:19:13PM +0100, Julien Tane wrote:
Hello,
Can anyone tell me what in my computer takes so much RAM? total used free shared buffers cached Mem: 514592 390860 123732 0 23684 215796 -/+ buffers/cache: 151380 363212 ^^^^^^ ^^^^^^ Swap: 1020088 0 1020088
You asked:
So where are the 200M missing memory ?
Can you give me a hint?
Yes, look at the "cached" and "buffers" lines in your posting above. Those two total to around 235-240 megabytes.
This is NORMAL. Linux does this ON PURPOSE. you've got all that RAM sitting there that would otherwise be DOING NOTHING, so the kernel puts it to use providing perfomance-enhancing buffering and caching. These things can be quickly freed if necessary, in case some program suddenly demands additional RAM, so it's not like it's a problem.
On Sun, Feb 01, 2004 at 07:51:46PM +0100, Julien Tane wrote:
Hello Fred,
thanks a lot. I had been wondering in the last days. I mean this is O.K now... But Can it be that some useless things are cached or buffered.
Is there a way to find out what is buffered or cached ( or perhaps tell which application buffer and cache so much ?).
It's not an app that buffers or caches stuff, it's the Linux kernel. it recognizes that certain things are being used multiple times and stores them in otherwise unused memory for convenient future access. It'll discard cached stuff or write to disk bufferd stuff whenever it needs to, should it need to free up memory in the future.
You don't need to worry about this large amount of buffer/cache causing you to run out of memory,... it won't, as per above.
Regards,
Julien
fred smith wrote:
On Sun, Feb 01, 2004 at 07:19:13PM +0100, Julien Tane wrote:
Hello,
Can anyone tell me what in my computer takes so much RAM? total used free shared buffers cached Mem: 514592 390860 123732 0 23684 215796 -/+ buffers/cache: 151380 363212 ^^^^^^ ^^^^^^ Swap: 1020088 0 1020088
You asked:
So where are the 200M missing memory ?
Can you give me a hint?
Yes, look at the "cached" and "buffers" lines in your posting above. Those two total to around 235-240 megabytes.
This is NORMAL. Linux does this ON PURPOSE. you've got all that RAM sitting there that would otherwise be DOING NOTHING, so the kernel puts it to use providing perfomance-enhancing buffering and caching. These things can be quickly freed if necessary, in case some program suddenly demands additional RAM, so it's not like it's a problem.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
fred smith wrote:
On Sun, Feb 01, 2004 at 07:51:46PM +0100, Julien Tane wrote:
Hello Fred,
thanks a lot. I had been wondering in the last days. I mean this is O.K now... But Can it be that some useless things are cached or buffered.
Is there a way to find out what is buffered or cached ( or perhaps tell which application buffer and cache so much ?).
It's not an app that buffers or caches stuff, it's the Linux kernel. it recognizes that certain things are being used multiple times and stores them in otherwise unused memory for convenient future access. It'll discard cached stuff or write to disk bufferd stuff whenever it needs to, should it need to free up memory in the future.
You don't need to worry about this large amount of buffer/cache causing you to run out of memory,... it won't, as per above.
It sounds like magic. I think it would be too much to explain this here... But I do not like not understanding what and how. If you have any hint about where I could find more information on the implementation ( even the file in the kernel which take care of that or anything technical). I would be happy. If not I am already very greatful for the answers.
Cheer, Julien
Julien Tane kirjoitti viestissään (lähetysaika maanantai 02. helmikuuta 2004 02:15):
It sounds like magic. I think it would be too much to explain this here... But I do not like not understanding what and how. If you have any hint about where I could find more information on the implementation ( even the file in the kernel which take care of that or anything technical). I would be happy. If not I am already very greatful for the answers.
Here's the doc on Linux memory mangement: http://www.skynet.ie/~mel/projects/vm/guide/html/understand/
Markku Kolkka wrote:
Julien Tane kirjoitti viestissään (lähetysaika maanantai 02. helmikuuta 2004 02:15):
It sounds like magic. I think it would be too much to explain this here... But I do not like not understanding what and how. If you have any hint about where I could find more information on the implementation ( even the file in the kernel which take care of that or anything technical). I would be happy. If not I am already very greatful for the answers.
Here's the doc on Linux memory mangement: http://www.skynet.ie/~mel/projects/vm/guide/html/understand/
kiitoksia paljon ! Nyt mulla on jotakin lukemaan. Julien