Looking at my memory usage it seems that the current 'stable' version of hald has serious memoryleaks. I'll investigate if this is also the case for the not yet unmasked 0.5.10 version. 4429 haldaemo 20 0 170m 167m 2524 S 0.0 11.0 5:18.58 hald ...while at start up it is only a fraction of that number. Reproducible: Always
Uhm... memory being used != memory leak. See http://valgrind.org/docs/manual/quick-start.html Also emerge --info is missing.
emerge --info is not going to tell anything about a memoryleak, 170MB of RAM usage is unacceptable for a service which starts at about 700kb. ==13809== ERROR SUMMARY: 6 errors from 4 contexts (suppressed: 3 from 1) ==13809== malloc/free: in use at exit: 234,611 bytes in 5,804 blocks. ==13809== malloc/free: 31,129 allocs, 25,325 frees, 7,750,862 bytes allocated. ==13809== For counts of detected errors, rerun with: -v ==13809== searching for pointers to 5,804 not-freed blocks. ==13809== checked 295,488 bytes. ==13809== ==13809== LEAK SUMMARY: ==13809== definitely lost: 864 bytes in 87 blocks. ==13809== possibly lost: 1,544 bytes in 23 blocks. ==13809== still reachable: 232,203 bytes in 5,694 blocks. ==13809== suppressed: 0 bytes in 0 blocks. Maybe it is solved in a newer version that is still masked and I am installing now. paludis 0.26.0_alpha5 Paludis build information: Compiler: CXX: powerpc-unknown-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2 p1.0.2) CXXFLAGS: -O2 -mcpu=7450 -pipe -maltivec -mabi=altivec LDFLAGS: DATE: 2008-01-09T02:36:02+0100 Libraries: C++ Library: GNU libstdc++ 20070214 Reduced Privs: reduced_uid: 104 reduced_uid->name: paludisbuild reduced_uid->dir: /dev/null reduced_gid: 1004 reduced_gid->name: paludisbuild Paths: DATADIR: /usr/share LIBDIR: /usr/lib LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: Repository virtuals: format: virtuals Repository installed-virtuals: format: installed_virtuals root: / Repository gentoo: format: ebuild location: /usr/portage append_repository_name_to_write_cache: true builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass ignore_deprecated_profiles: false layout: traditional names_cache: /usr/portage/.cache/names newsdir: /usr/portage/metadata/news profile_eapi: 0 profiles: /usr/portage/profiles/default-linux/ppc/ppc32/2007.0 securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.nl.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/empty Package information: app-admin/eselect-compiler: (none) app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7 2.1.3 dev-lang/python: 2.4.4-r4 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: (none) dev-util/confcache: (none) sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13 2.61-r1 sys-devel/automake: 1.10.1 1.4_p6 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r2 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 (for sys-kernel/linux-headers::installed)