http://bugzilla.novell.com/show_bug.cgi?id=497884 Summary: CASA_atvd eats memory (leak?) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: garloff@novell.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.3 (like Gecko) SUSE ps axlw snippet: F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 1 118 7474 1 20 0 30644 884 wait S ? 0:00 /usr/bin/casa_atvd -d -s 1 118 7475 7474 20 0 2205008 14948 futex_ Sl ? 2:14 /usr/bin/casa_atvd -d -s root@core2:/home/garloff [0]# pmap 7475 7475: casa_atvd START SIZE RSS PSS DIRTY SWAP PERM MAPPING 0000000000400000 24K 20K 14K 0K 0K r-xp /usr/bin/casa_atvd 0000000000605000 4K 4K 2K 4K 0K r--p /usr/bin/casa_atvd 0000000000606000 4K 4K 4K 4K 0K rw-p /usr/bin/casa_atvd 0000000000607000 1752K 1676K 1676K 1676K 0K rw-p [heap] 00007f2b28416000 12K 0K 0K 0K 0K ---p [anon] 00007f2b28419000 1016K 20K 20K 20K 0K rwxp [anon] 00007f2b2b7ff000 4K 0K 0K 0K 0K ---p [anon] 00007f2b2b800000 8192K 8K 8K 8K 0K rwxp [anon] 00007f2b2c000000 132K 12K 12K 12K 0K rw-p [anon] 00007f2b2c021000 65404K 0K 0K 0K 0K ---p [anon] 00007f2b302de000 88K 88K 88K 0K 0K r--s /usr/share/java/xerces-j2-2.8.1.jar 00007f2b302f4000 44K 44K 44K 0K 0K r--s /usr/share/java/CASA/authtoken/external/apache.org/xmlsec-1.4.0.jar 00007f2b302ff000 8K 8K 8K 0K 0K r--s /usr/share/java/jakarta-commons-logging-1.0.4.jar 00007f2b30301000 28K 28K 28K 0K 0K r--s /usr/share/java/log4j-1.2.15.jar 00007f2b30308000 16K 16K 16K 0K 0K r--s /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/jsse.jar 00007f2b3030c000 36K 36K 36K 0K 0K r--s /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/ext/gnome-java-bridge.jar 00007f2b30315000 4K 0K 0K 0K 0K ---p [anon] 00007f2b30316000 1024K 8K 8K 8K 0K rwxp [anon] 00007f2b30416000 12K 0K 0K 0K 0K ---p [anon] 00007f2b30419000 1016K 8K 8K 8K 0K rwxp [anon] 00007f2b30517000 12K 0K 0K 0K 0K ---p [anon] 00007f2b3051a000 1016K 8K 8K 8K 0K rwxp [anon] 00007f2b30618000 12K 0K 0K 0K 0K ---p [anon] 00007f2b3061b000 1016K 8K 8K 8K 0K rwxp [anon] 00007f2b30719000 12K 0K 0K 0K 0K ---p [anon] 00007f2b3071c000 1016K 32K 32K 32K 0K rwxp [anon] 00007f2b3081a000 12K 0K 0K 0K 0K ---p [anon] 00007f2b3081d000 1016K 32K 32K 32K 0K rwxp [anon] 00007f2b3091b000 4K 0K 0K 0K 0K ---p [anon] 00007f2b3091c000 1024K 8K 8K 8K 0K rwxp [anon] 00007f2b30a1c000 396K 12K 12K 12K 0K rw-p [anon] 00007f2b30a7f000 1596K 1596K 1596K 0K 0K r--s /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/rt.jar 00007f2b30c0e000 4K 0K 0K 0K 0K ---p [anon] 00007f2b30c0f000 1024K 8K 8K 8K 0K rwxp [anon] 00007f2b30d0f000 4K 0K 0K 0K 0K ---p [anon] 00007f2b30d10000 1024K 8K 8K 8K 0K rwxp [anon] 00007f2b30e10000 4K 0K 0K 0K 0K ---p [anon] 00007f2b30e11000 1024K 8K 8K 8K 0K rwxp [anon] 00007f2b30f11000 4K 0K 0K 0K 0K ---p [anon] 00007f2b30f12000 1176K 160K 160K 160K 0K rwxp [anon] 00007f2b31038000 2244K 0K 0K 0K 0K rwxp [anon] 00007f2b31269000 44K 44K 44K 44K 0K rwxp [anon] 00007f2b31274000 292K 0K 0K 0K 0K rwxp [anon] 00007f2b312bd000 152K 152K 152K 152K 0K rwxp [anon] 00007f2b312e3000 2240K 0K 0K 0K 0K rwxp [anon] 00007f2b31513000 80K 80K 80K 80K 0K rwxp [anon] 00007f2b31527000 1120K 0K 0K 0K 0K rwxp [anon] 00007f2b3163f000 21252K 3516K 3516K 3516K 0K rwxp [anon] 00007f2b32b00000 150784K 0K 0K 0K 0K rwxp [anon] 00007f2b3be40000 76672K 0K 0K 0K 0K rwxp [anon] 00007f2b40920000 1149440K 0K 0K 0K 0K rwxp [anon] 00007f2b86ba0000 38272K 840K 840K 840K 0K rwxp [anon] 00007f2b89100000 574720K 0K 0K 0K 0K rwxp [anon] 00007f2bac241000 8K 8K 8K 0K 0K r--s /usr/share/java/CASA/authtoken/CasaAuthToken-1.7.1587.jar 00007f2bac243000 2496K 256K 256K 256K 0K rwxp [anon] 00007f2bac4b3000 46656K 0K 0K 0K 0K rwxp [anon] 00007f2baf243000 84K 40K 0K 0K 0K r-xp /lib64/libz.so.1.2.3 00007f2baf258000 2044K 0K 0K 0K 0K ---p /lib64/libz.so.1.2.3 00007f2baf457000 4K 4K 4K 4K 0K r--p /lib64/libz.so.1.2.3 00007f2baf458000 4K 4K 4K 4K 0K rw-p /lib64/libz.so.1.2.3 00007f2baf459000 28K 24K 24K 0K 0K r-xp /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libzip.so 00007f2baf460000 2044K 0K 0K 0K 0K ---p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libzip.so 00007f2baf65f000 4K 4K 4K 4K 0K r--p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libzip.so 00007f2baf660000 4K 4K 4K 4K 0K rw-p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libzip.so 00007f2baf661000 32K 28K 28K 0K 0K r-xp /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/native_threads/libhpi.so 00007f2baf669000 2044K 0K 0K 0K 0K ---p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/native_threads/libhpi.so 00007f2baf868000 4K 4K 4K 4K 0K r--p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/native_threads/libhpi.so 00007f2baf869000 4K 4K 4K 4K 0K rw-p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/native_threads/libhpi.so 00007f2baf86a000 84K 24K 0K 0K 0K r-xp /lib64/libnsl-2.9.so 00007f2baf87f000 2044K 0K 0K 0K 0K ---p /lib64/libnsl-2.9.so 00007f2bafa7e000 4K 4K 4K 4K 0K r--p /lib64/libnsl-2.9.so 00007f2bafa7f000 4K 4K 4K 4K 0K rw-p /lib64/libnsl-2.9.so 00007f2bafa80000 8K 0K 0K 0K 0K rw-p [anon] 00007f2bafa82000 180K 136K 136K 0K 0K r-xp /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjava.so 00007f2bafaaf000 2048K 0K 0K 0K 0K ---p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjava.so 00007f2bafcaf000 4K 4K 4K 4K 0K r--p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjava.so 00007f2bafcb0000 12K 12K 12K 12K 0K rw-p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjava.so 00007f2bafcb3000 60K 56K 56K 0K 0K r-xp /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libverify.so 00007f2bafcc2000 2044K 0K 0K 0K 0K ---p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libverify.so 00007f2bafec1000 8K 8K 8K 8K 0K r--p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libverify.so 00007f2bafec3000 4K 4K 4K 4K 0K rw-p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libverify.so 00007f2bafec4000 32K 20K 0K 0K 0K r-xp /lib64/librt-2.9.so 00007f2bafecc000 2044K 0K 0K 0K 0K ---p /lib64/librt-2.9.so 00007f2bb00cb000 4K 4K 4K 4K 0K r--p /lib64/librt-2.9.so 00007f2bb00cc000 4K 4K 4K 4K 0K rw-p /lib64/librt-2.9.so 00007f2bb00cd000 1340K 456K 4K 0K 0K r-xp /lib64/libc-2.9.so 00007f2bb021c000 2048K 0K 0K 0K 0K ---p /lib64/libc-2.9.so 00007f2bb041c000 16K 16K 8K 16K 0K r--p /lib64/libc-2.9.so 00007f2bb0420000 4K 4K 4K 4K 0K rw-p /lib64/libc-2.9.so 00007f2bb0421000 20K 20K 20K 20K 0K rw-p [anon] 00007f2bb0426000 88K 8K 0K 0K 0K r-xp /lib64/libgcc_s.so.1 00007f2bb043c000 2048K 0K 0K 0K 0K ---p /lib64/libgcc_s.so.1 00007f2bb063c000 4K 4K 2K 4K 0K r--p /lib64/libgcc_s.so.1 00007f2bb063d000 4K 4K 2K 4K 0K rw-p /lib64/libgcc_s.so.1 00007f2bb063e000 340K 12K 0K 0K 0K r-xp /lib64/libm-2.9.so 00007f2bb0693000 2044K 0K 0K 0K 0K ---p /lib64/libm-2.9.so 00007f2bb0892000 4K 4K 2K 4K 0K r--p /lib64/libm-2.9.so 00007f2bb0893000 4K 4K 2K 4K 0K rw-p /lib64/libm-2.9.so 00007f2bb0894000 964K 68K 2K 0K 0K r-xp /usr/lib64/libstdc++.so.6.0.10 00007f2bb0985000 2044K 0K 0K 0K 0K ---p /usr/lib64/libstdc++.so.6.0.10 00007f2bb0b84000 28K 28K 14K 28K 0K r--p /usr/lib64/libstdc++.so.6.0.10 00007f2bb0b8b000 8K 8K 4K 8K 0K rw-p /usr/lib64/libstdc++.so.6.0.10 00007f2bb0b8d000 76K 12K 6K 12K 0K rw-p [anon] 00007f2bb0ba0000 8K 8K 0K 0K 0K r-xp /lib64/libdl-2.9.so 00007f2bb0ba2000 2048K 0K 0K 0K 0K ---p /lib64/libdl-2.9.so 00007f2bb0da2000 4K 4K 2K 4K 0K r--p /lib64/libdl-2.9.so 00007f2bb0da3000 4K 4K 4K 4K 0K rw-p /lib64/libdl-2.9.so 00007f2bb0da4000 8K 8K 8K 0K 0K r-xp /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjsig.so 00007f2bb0da6000 2044K 0K 0K 0K 0K ---p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjsig.so 00007f2bb0fa5000 4K 4K 2K 4K 0K r--p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjsig.so 00007f2bb0fa6000 4K 4K 4K 4K 0K rw-p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libjsig.so 00007f2bb0fa7000 4K 0K 0K 0K 0K rw-p [anon] 00007f2bb0fa8000 7928K 3572K 3572K 0K 0K r-xp /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/server/libjvm.so 00007f2bb1766000 2048K 0K 0K 0K 0K ---p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/server/libjvm.so 00007f2bb1966000 436K 436K 218K 436K 0K r--p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/server/libjvm.so 00007f2bb19d3000 104K 104K 68K 104K 0K rw-p /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/server/libjvm.so 00007f2bb19ed000 232K 148K 146K 148K 0K rw-p [anon] 00007f2bb1a27000 64K 40K 40K 0K 0K r-xp /usr/lib64/libcasa_s_ipc.so.1.7.1587 00007f2bb1a37000 2044K 0K 0K 0K 0K ---p /usr/lib64/libcasa_s_ipc.so.1.7.1587 00007f2bb1c36000 4K 4K 2K 4K 0K r--p /usr/lib64/libcasa_s_ipc.so.1.7.1587 00007f2bb1c37000 4K 4K 4K 4K 0K rw-p /usr/lib64/libcasa_s_ipc.so.1.7.1587 00007f2bb1c38000 88K 72K 0K 0K 0K r-xp /lib64/libpthread-2.9.so 00007f2bb1c4e000 2048K 0K 0K 0K 0K ---p /lib64/libpthread-2.9.so 00007f2bb1e4e000 4K 4K 2K 4K 0K r--p /lib64/libpthread-2.9.so 00007f2bb1e4f000 4K 4K 4K 4K 0K rw-p /lib64/libpthread-2.9.so 00007f2bb1e50000 16K 4K 4K 4K 0K rw-p [anon] 00007f2bb1e54000 120K 96K 0K 0K 0K r-xp /lib64/ld-2.9.so 00007f2bb1e73000 8K 8K 8K 0K 0K r--s /usr/share/java/CASA/authtoken/CasaJaasSupport-1.7.1587.jar 00007f2bb1e75000 16K 16K 16K 0K 0K r--s /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/ext/pulse-java.jar 00007f2bb1e79000 628K 372K 372K 372K 0K rw-p [anon] 00007f2bb1f16000 44K 44K 44K 44K 0K rwxp [anon] 00007f2bb1f21000 292K 0K 0K 0K 0K rwxp [anon] 00007f2bb1f6a000 40K 40K 40K 40K 0K rwxp [anon] 00007f2bb1f74000 728K 0K 0K 0K 0K rwxp [anon] 00007f2bb202a000 20K 20K 18K 20K 0K rw-p [anon] 00007f2bb2030000 32K 32K 32K 8K 0K rw-s /var/tmp/hsperfdata_casaatvd/7475 00007f2bb2038000 212K 4K 0K 0K 0K r--s /var/run/nscd/passwd 00007f2bb206d000 4K 4K 4K 4K 0K rwxp [anon] 00007f2bb206e000 4K 4K 4K 4K 0K r--p [anon] 00007f2bb206f000 8K 8K 6K 8K 0K rw-p [anon] 00007f2bb2071000 4K 4K 2K 4K 0K r--p /lib64/ld-2.9.so 00007f2bb2072000 4K 4K 4K 4K 0K rw-p /lib64/ld-2.9.so 00007fffb9f71000 12K 0K 0K 0K 0K ---p [anon] 00007fffb9f74000 1012K 60K 60K 60K 0K rwxp [stack] 00007fffba071000 4K 4K 2K 4K 0K rw-p [anon] 00007fffba1ff000 4K 4K 0K 0K 0K r-xp [vdso] ffffffffff600000 4K 0K 0K 0K 0K r-xp [vsyscall] Total: 2205012K 14948K 13822K 8380K 0K 2092648K writable-private, 110272K readonly-private, 2092K shared, and 13112K referenced 2GB virtual memory consumption seems excessive to me. (And I don't think that service is even used on my system; service got started 4 days again when the machine booted ...) Look at these: START SIZE RSS PSS DIRTY SWAP PERM MAPPING 00007f2b2c021000 65404K 0K 0K 0K 0K ---p [anon] 00007f2b3163f000 21252K 3516K 3516K 3516K 0K rwxp [anon] 00007f2b32b00000 150784K 0K 0K 0K 0K rwxp [anon] 00007f2b3be40000 76672K 0K 0K 0K 0K rwxp [anon] 00007f2b40920000 1149440K 0K 0K 0K 0K rwxp [anon] 00007f2b86ba0000 38272K 840K 840K 840K 0K rwxp [anon] 00007f2b89100000 574720K 0K 0K 0K 0K rwxp [anon] 00007f2bac4b3000 46656K 0K 0K 0K 0K rwxp [anon] All private anon memory (likely mallloc) most of which is not resident -- most probably because it has never been used. (My system has 0 bytes swapped to disk, so it has not been swapped out.) After a restart, casa_atvd is a bit smaller 1 118 15253 1 20 0 30648 892 wait S ? 0:00 /usr/bin/casa_atvd -d -s 1 118 15254 15253 20 0 1477048 14852 futex_ Sl ? 0:00 /usr/bin/casa_atvd -d -s Reproducible: Always Steps to Reproduce: 1. Start casa_atvd and let it run for a while Actual Results: Starts with 1.5GB of (mostly unused) virt memory and grows to 2GB after a few days. Expected Results: Should not malloc massive amounts of memory it never uses. Should not grow much over time (unless the service is really utilized and some real data needs to be kept in memory). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.