Memoryleak mit Gentoo und Kernel 2.6.10?
Posted: 2005-01-28 16:50
Hi,
inzwischen habe ich jetzt Gentoo auf meinem Rooti installiert. Lief eigentlich auch alles völlig problemlos, allerdings habe ich jetzt wohl ein Problem.
Die aktuelle Ausgabe von free:
In Anbetracht der aktuell laufenden Prozesse für mich nicht nachvollziehbar:
Ein paar sonstige Infos:
Bei den folgenden Infos von vmstat bin ich mir nicht sicher, ob die bei free als used oder buffers eingerechnet werden. Auf jeden Fall sind es fast 80 MB:
Spontan würde ich irgendwo ein Memoryleak vermuten, bloß wo?
Was meint ihr dazu?
inzwischen habe ich jetzt Gentoo auf meinem Rooti installiert. Lief eigentlich auch alles völlig problemlos, allerdings habe ich jetzt wohl ein Problem.
Die aktuelle Ausgabe von free:
Code: Select all
total used free shared buffers cached
Mem: 257464 217200 40264 0 110084 10032
-/+ buffers/cache: 97084 160380
Swap: 506036 0 506036
Code: Select all
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1348 492 ? S Jan24 0:00 init [3]
root 2 0.0 0.0 0 0 ? SN Jan24 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S< Jan24 0:00 [events/0]
root 4 0.0 0.0 0 0 ? S< Jan24 0:00 [khelper]
root 5 0.0 0.0 0 0 ? S< Jan24 0:00 [kacpid]
root 6 0.0 0.0 0 0 ? S< Jan24 0:00 [kblockd/0]
root 7 0.0 0.0 0 0 ? S Jan24 0:00 [pdflush]
root 8 0.0 0.0 0 0 ? S Jan24 0:00 [pdflush]
root 10 0.0 0.0 0 0 ? S< Jan24 0:00 [aio/0]
root 9 0.0 0.0 0 0 ? S Jan24 0:00 [kswapd0]
root 11 0.0 0.0 0 0 ? S Jan24 0:00 [kjournald]
root 115 0.0 0.3 1596 876 ? Ss Jan24 0:00 /sbin/devfsd /d
root 4322 0.0 0.0 0 0 ? S Jan24 0:00 [kjournald]
root 4781 0.0 0.2 1452 620 ? Ss Jan24 0:00 metalog [MASTER
root 4827 0.0 0.1 1416 504 ? S Jan24 0:00 metalog [KERNEL
root 4962 0.0 0.5 3224 1504 ? Ss Jan24 0:00 /usr/sbin/sshd
root 5002 0.0 0.2 1608 716 ? Ss Jan24 0:00 /usr/sbin/cron
root 5089 0.0 0.4 2172 1040 ? Ss Jan24 0:00 login -- root
root 11499 0.0 0.4 2172 1244 tts/0 Ss 13:11 0:00 -bash
root 11611 0.0 0.3 2348 844 tts/0 R+ 14:34 0:00 ps aux
Code: Select all
w
14:36:36 up 3 days, 15:51, 1 user, load average: 0.00, 0.00, 0.00
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
root tts/0 13:11 0.00s 0.00s 0.00s w
lsmod
Module Size Used by
e100 24220 -
mii 2364 -
vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 40152 110180 10060 0 0 0 0 53 2 0 0 100 0
vmstat -a
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free inact active si so bi bo in cs us sy id wa
0 0 0 40152 14464 107100 0 0 0 0 53 2 0 0 100 0
cat /etc/make.conf
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
MAKEOPTS=""
USE="pcre -X -ipv6 -opengl -pdflib -qt -truetype"
gcc --version
gcc (GCC) 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
uname -a
Linux 2.6.10y #1 Fri Jan 21 10:07:34 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
Code: Select all
vmstat -m
...
ext3_inode_cache 154017 154026 440 9
...
dentry_cache 155025 155034 136 29
Was meint ihr dazu?