Forum: Cfengine Help
Subject: cf-monitord memory leaks
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19631,19631#msg-19631

I have just performed extensive testing on the current version of cf-monitord 
(both community and Nova editions) and, looping is hundreds of times I see *no* 
memory leak (zero). A proposal to test, for those of you who are experiencing 
leakage in cf-monitord is

1. you might be accidentally using an older version of the program
2. you are linking to versions of libraries that have internal leaks (I wonder 
if 32/64 bit issues play a role?)

This is from linux on a community-only shared-lib build:

        linux-vdso.so.1 =>  (0x00007fff2c733000)
        /usr/lib64/libv4l/v4l2convert.so (0x00007f1caa42a000)
        libpromises.so.1 => /usr/local/lib/libpromises.so.1 (0x00007f1caa05c000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007f1ca9e54000)
        libnss_nis.so.2 => /lib64/libnss_nis.so.2 (0x00007f1ca9c49000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1ca9a2d000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f1ca9824000)
        libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00007f1ca95f4000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f1ca939e000)
        libdb-4.5.so => /usr/lib64/libdb-4.5.so (0x00007f1ca9066000)
        libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007f1ca8ce9000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f1ca8990000)
        libv4l2.so.0 => /usr/lib64/libv4l2.so.0 (0x00007f1ca8786000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f1ca8581000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f1ca8369000)
        libnss_files.so.2 => /lib64/libnss_files.so.2 (0x00007f1ca815d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f1caa62d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f1ca7f59000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f1ca7d43000)
        libv4lconvert.so.0 => /usr/lib64/libv4lconvert.so.0 (0x00007f1ca7adf000)

I am still interested to hear back positive and negative on this issue, as more 
data become available. Please only report on version 3.1.1 and greater, as the 
leaks known in earlier versions are supposed to be fixed there.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to