memory leak ldb_dn

Stefan (metze) Metzmacher metze at samba.org
Tue Oct 30 15:49:34 GMT 2007


Hi Andrew,

we're currently leaking ldb_dn structures on the null_context,
the smbd gets up to 100MB ram...

I think it was there a few days now...

Could you take a look at it?

metze

full talloc report on 'null_context' (total 115063 bytes in 8032 blocks)
    iconv(UTF8,UTF8)               contains     41 bytes in   2 blocks
(ref 0) 0xdb71738
        .name                          contains     17 bytes in   1
blocks (ref 0) 0xd607bf0
    struct ldb_dn                  contains    252 bytes in  19 blocks
(ref 0) 0xb5293c8
        char                           contains     36 bytes in   1
blocks (ref 0) 0xd5f78d0
        struct ldb_dn_component        contains    192 bytes in  17
blocks (ref 0) 0xd592eb8
            COM                            contains      4 bytes in   1
blocks (ref 0) 0xd5700b8
            DC                             contains      3 bytes in   1
blocks (ref 0) 0xb1421d8
            EXAMPLE                        contains      8 bytes in   1
blocks (ref 0) 0xd54d030
            DC                             contains      3 bytes in   1
blocks (ref 0) 0xc02fa08
            SAMBA                          contains      6 bytes in   1
blocks (ref 0) 0xd54cff0
            DC                             contains      3 bytes in   1
blocks (ref 0) 0x9c93860
            USERS                          contains      6 bytes in   1
blocks (ref 0) 0xd606dc8
            CN                             contains      3 bytes in   1
blocks (ref 0) 0xd757df8
            DC                             contains      3 bytes in   1
blocks (ref 0) 0xd80edb0
            uint8_t                        contains      4 bytes in   1
blocks (ref 0) 0xaf4c748
            DC                             contains      3 bytes in   1
blocks (ref 0) 0xb31cab8
            uint8_t                        contains      8 bytes in   1
blocks (ref 0) 0xb5132a0
            DC                             contains      3 bytes in   1
blocks (ref 0) 0x8da1650
            uint8_t                        contains      6 bytes in   1
blocks (ref 0) 0xb513260
            CN                             contains      3 bytes in   1
blocks (ref 0) 0xb39cb28
            uint8_t                        contains      6 bytes in   1
blocks (ref 0) 0xd541710


....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20071030/58df8dc6/signature.bin


More information about the samba-technical mailing list