Hello Quanah, thanks for the hint.
I cloned the repository and checked out the branch you told me:
[root@ibb0301 openldap]# git checkout OPENLDAP_REL_ENG_2_4 Already on 'OPENLDAP_REL_ENG_2_4' [root@ibb0301 openldap]# git branch * OPENLDAP_REL_ENG_2_4 master
Then, after compiling the whole stuff, I started it as usual with GDB and with my client application active (synch via syncprov). Here again I got a failure due to failed malloc (returns NULL). As that moment, the %MEM shown by top was about 66% (it increased till here up to 1% every 10s). Please consider that, before starting gdb, I rebooted my server (4 GB RAM, 2 GB swap) This is the GDB trace:
--- begin gdb --- root@ibb0301 .libs]# pwd /root/src_openldap/openldap/servers/slapd/.libs [root@ibb0301 .libs]# ./slapd -VVV @(#) $OpenLDAP: slapd 2.4.X (Oct 29 2015 09:45:56) $ root@ibb0301:/root/src_openldap/openldap/servers/slapd
Included static overlays: syncprov Included static backends: config ldif monitor bdb hdb ldap mdb relay [root@ibb0301 .libs]# gdb ./slapd GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.htm= l This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /root/src_openldap/openldap/servers/slapd/.libs/slapd...done. (gdb) run -d 1 -h ldap:// Starting program: /root/src_openldap/openldap/servers/slapd/.libs/slapd -d 1 -h ldap:// [Thread debugging using libthread_db enabled] ldap_url_parse_ext(ldap://localhost/) ldap_init: trying /etc/openldap/ldap.conf ldap_init: using /etc/openldap/ldap.conf ldap_url_parse_ext(ldap://localhost/) ldap_init: HOME env is /root ldap_init: trying /root/ldaprc ldap_init: trying /root/.ldaprc ldap_init: trying ldaprc ldap_init: LDAPCONF env is NULL ldap_init: LDAPRC env is NULL 5631e005 @(#) $OpenLDAP: slapd 2.4.X (Oct 29 2015 09:45:56) $ root@ibb0301:/root/src_openldap/openldap/servers/slapd ldap_pvt_gethostbyname_a: host=3Dibb0301, r=3D0 5631e005 daemon_init: listen on ldap:// 5631e005 daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap://) 5631e005 daemon: listener initialized ldap:// 5631e005 daemon_init: 2 listeners opened 5631e005 slapd init: initiated server. 5631e006 slap_sasl_init: initialized! 5631e006 bdb_back_initialize: initialize BDB backend 5631e006 bdb_back_initialize: Berkeley DB 4.7.25: (September 22, 2015) 5631e006 hdb_back_initialize: initialize HDB backend 5631e006 hdb_back_initialize: Berkeley DB 4.7.25: (September 22, 2015) 5631e006 mdb_back_initialize: initialize MDB backend 5631e006 mdb_back_initialize: LMDB 0.9.16: (August 14, 2015) 5631e006 backend_startup_one: starting "cn=3Dconfig" 5631e006 ldif_read_file: read entry file: "/etc/openldap/slapd.d/cn=3Dconfi= g.ldif"
CUT CUT CUT
5631e3d6 connection_get(20): got connid=3D1001 5631e3d6 connection_read(20): checking for input on id=3D1001 ber_get_next ber_get_next: tag 0x30 len 123 contents: 5631e3d6 op tag 0x63, time 1446110166 ber_get_next 5631e3d6 conn=3D1001 op=3D270855 do_search ber_scanf fmt ({miiiib) ber: 5631e3d6 >>> dnPrettyNormal: <cn=3DClaus Petersmann.7601000757517,ou=3DHCProfessional,dc=3DHPD,o=3Dvivates,c=3Dch> 5631e3d6 <<< dnPrettyNormal: <cn=3DClaus Petersmann.7601000757517,ou=3DHCProfessional,dc=3DHPD,o=3Dvivates,c=3Dch>, <cn=3Dclaus petersmann.7601000757517,ou=3Dhcprofessional,dc=3Dhpd,o=3Dvivat= es,c=3Dch> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: 5631e3d6 =3D> bdb_search 5631e3d6 bdb_dn2entry("cn=3Dclaus petersmann.7601000757517,ou=3Dhcprofessional,dc=3Dhpd,o=3Dvivates,c=3Dch") 5631e3d6 =3D> send_search_entry: conn 1001 dn=3D"cn=3DClaus Petersmann.7601000757517,ou=3DHCProfessional,dc=3DHPD,o=3Dvivates,c=3Dch" ber_flush2: 141 bytes to sd 20 5631e3d6 <=3D send_search_entry: conn 1001 exit. 5631e3d6 send_ldap_result: conn=3D1001 op=3D270855 p=3D3 5631e3d6 send_ldap_response: msgid=3D270856 tag=3D101 err=3D0 ber_flush2: 16 bytes to sd 20 5631e3d6 connection_get(20): got connid=3D1001 5631e3d6 connection_read(20): checking for input on id=3D1001 ber_get_next ber_get_next: tag 0x30 len 121 contents: 5631e3d6 op tag 0x63, time 1446110166 ber_get_next 5631e3d6 conn=3D1001 op=3D270856 do_search ber_scanf fmt ({miiiib) ber: 5631e3d6 >>> dnPrettyNormal: <cn=3DRudolf Beutler.7601000313430,ou=3DHCProfessional,dc=3DHPD,o=3Dvivates,c=3Dch> 5631e3d6 <<< dnPrettyNormal: <cn=3DRudolf Beutler.7601000313430,ou=3DHCProfessional,dc=3DHPD,o=3Dvivates,c=3Dch>, <cn=3Drudolf beutler.7601000313430,ou=3Dhcprofessional,dc=3Dhpd,o=3Dvivates= ,c=3Dch> ber_scanf fmt (m) ber: ber_scanf fmt ({M}}) ber: 5631e3d6 =3D> bdb_search 5631e3d6 bdb_dn2entry("cn=3Drudolf beutler.7601000313430,ou=3Dhcprofessional,dc=3Dhpd,o=3Dvivates,c=3Dch")
Program received signal SIGABRT, Aborted. [Switching to Thread 0x9fffcb70 (LWP 3039)] 0x00130424 in __kernel_vsyscall () Missing separate debuginfos, use: debuginfo-install libtool-ltdl-2.2.6-15.5.el6.i686 (gdb) bt #0 0x00130424 in __kernel_vsyscall () #1 0x003a9871 in raise (sig=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.= c:64 #2 0x003ab14a in abort () at abort.c:92 #3 0x003a2b8b in __assert_fail_base (fmt=3D0x4d7d58 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=3D0x81b75e9 "0", file=3D0x819d0e7 "ch_malloc.c", line=3D57, function=3D0x819d17f "ch_malloc"= ) at assert.c:96 #4 0x003a2c46 in __assert_fail (assertion=3D0x81b75e9 "0", file=3D0x819d0e7 "ch_malloc.c", line=3D57, function=3D0x819d17f "ch_malloc"= ) at assert.c:105 #5 0x0809470a in ch_malloc (size=3D825230) at ch_malloc.c:57 #6 0x08082b71 in entry_encode (e=3D0x9fffabac, bv=3D0x9fffaa14) at entry.c= :710 #7 0x0813e2d5 in bdb_id2entry_put (be=3D<value optimized out>, tid=3D<value optimized out>, e=3D<value optimized out>, flag=3D0) at id2entry.c:54 #8 0x080f1b0c in bdb_modify (op=3D0xa2d03098, rs=3D0x9fffc0dc) at modify.c= :712 #9 0x080e41f3 in overlay_op_walk (op=3D0xa2d03098, rs=3D0x9fffc0dc, which=3Dop_modify, oi=3D0x833ca00, on=3D0x0) at backover.c:677 #10 0x080e4cd9 in over_op_func (op=3D0xa2d03098, rs=3D0x9fffc0dc, which=3Dop_modify) at backover.c:730 #11 0x08091561 in fe_op_modify (op=3D0xa2d03098, rs=3D0x9fffc0dc) at modify= .c:303 #12 0x08091fd7 in do_modify (op=3D0xa2d03098, rs=3D0x9fffc0dc) at modify.c:= 177 #13 0x080784ac in connection_operation (ctx=3D0x9fffc1ec, arg_v=3D0xa2d03098) at connection.c:1158 #14 0x08078d47 in connection_read_thread (ctx=3D0x9fffc1ec, argv=3D0x15) at connection.c:1294 #15 0x0013c7d4 in ldap_int_thread_pool_wrapper (xpool=3D0x8287b80) at tpool= .c:696 #16 0x0036ab39 in start_thread (arg=3D0x9fffcb70) at pthread_create.c:301 #17 0x00461c2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 (gdb) bt full #0 0x00130424 in __kernel_vsyscall () No symbol table info available. #1 0x003a9871 in raise (sig=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.= c:64 resultvar =3D <value optimized out> resultvar =3D <value optimized out> pid =3D 5312500 selftid =3D 3039 #2 0x003ab14a in abort () at abort.c:92 save_stage =3D 2 act =3D {__sigaction_handler =3D {sa_handler =3D 0x5a5ebb30, sa_sigaction =3D 0x5a5ebb30}, sa_mask =3D {__val =3D {5312500, 64, 1, 4125602, 2684332016, 0, 104, 57, 5317536, 5312500, 57, 56, 2684332188, 4097042, 1516157752, 57, 2684332228, 1516157752, 0, 4222451712, 1516157752, 1516157752, 1516157752, 1516157752, 1516157808, 1516157852, 1516157752, 1516157852, 0, 0, 0, 0}}, sa_flags =3D 0, sa_restorer =3D 0x4d54d8 <_libc_intl_domainname>} sigs =3D {__val =3D {32, 0 <repeats 31 times>}} #3 0x003a2b8b in __assert_fail_base (fmt=3D0x4d7d58 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=3D0x81b75e9 "0", file=3D0x819d0e7 "ch_malloc.c", line=3D57, function=3D0x819d17f "ch_malloc"= ) at assert.c:96 str =3D 0x5a5ebb38 "" total =3D 4096 #4 0x003a2c46 in __assert_fail (assertion=3D0x81b75e9 "0", file=3D0x819d0e7 "ch_malloc.c", line=3D57, function=3D0x819d17f "ch_malloc"= ) at assert.c:105 No locals. #5 0x0809470a in ch_malloc (size=3D825230) at ch_malloc.c:57 new =3D <value optimized out> __PRETTY_FUNCTION__ =3D "ch_malloc" #6 0x08082b71 in entry_encode (e=3D0x9fffabac, bv=3D0x9fffaa14) at entry.c= :710 len =3D 825230 dnlen =3D 59 ndnlen =3D 59 i =3D <value optimized out> nattrs =3D <value optimized out> nvals =3D <value optimized out> a =3D <value optimized out> ptr =3D <value optimized out> __PRETTY_FUNCTION__ =3D "entry_encode" #7 0x0813e2d5 in bdb_id2entry_put (be=3D<value optimized out>, tid=3D<value optimized out>, e=3D<value optimized out>, flag=3D0) at id2entry.c:54 bdb =3D <value optimized out> db =3D 0x82c5100 key =3D {data =3D 0x9fffaa1c, size =3D 4, ulen =3D 0, dlen =3D 0, d= off =3D 0, app_data =3D 0x0, flags =3D 0} data =3D {data =3D 0x1, size =3D 137287120, ulen =3D 0, dlen =3D 50242672, doff =3D 2684333076, app_data =3D 0x0, flags =3D 50242672} bv =3D {bv_len =3D 825230, bv_val =3D 0x57bb64d0 "cn=3Droot,o=3Dviv= ates,c=3Dch"} rc =3D <value optimized out> nid =3D 2281832448 #8 0x080f1b0c in bdb_modify (op=3D0xa2d03098, rs=3D0x9fffc0dc) at modify.c= :712 bdb =3D 0x833fee0 e =3D 0x8373224 ei =3D 0xa21e34c8 manageDSAit =3D 2 textbuf =3D "\377\023\000\000\363\257\021\242\000\000\000\000\000\000\000\000\024\061\2= 13\000\230\060=D0=A2\274\070\037\b8\254\377\237,\032\213\000\230\060=D0=A2$= 27\b\000\000\000\000\240\001\064\b", '\000' <repeats 16 times>"\200, ", '\000' <repeats 11 times>, "\026\000\000\000\260\257\021\242\026\000\000\000\240\001\064\b\000\000\000= \000\000\000\000\000<\253\377\237", '\000' <repeats 20 times>"\300, \002\064\b\000\000\000\000\000\000\000\000\300\263\257\237p1=D0=A2f\000\000= \000\323\343\061VM\000\000\000\260\254\377\237;\000\000\000`\262\257\237;\0= 00\000\000\020\263\257\237 \273\372", '\000' <repeats 72 times> ---Type <return> to continue, or q <return> to quit--- ltid =3D 0x2fea470 lt2 =3D 0x2fea508 opinfo =3D {boi_oe =3D {oe_next =3D {sle_next =3D 0x0}, oe_key =3D 0x833fee0}, boi_txn =3D 0x2fea470, boi_locks =3D 0x0, boi_err =3D 0, boi_acl_cache =3D 0 '\000', boi_flag =3D 0 '\000'} dummy =3D {e_id =3D 648, e_name =3D {bv_len =3D 59, bv_val =3D 0xa21e48a0 "cn=3D1", '0' <repeats 12 times>, "_O2HP,ou=3DRelationship,dc=3DHPD,o=3Dvivates,c=3Dch"}, e_nname =3D {bv_len= =3D 59, bv_val =3D 0xa21e48e0 "cn=3D1", '0' <repeats 12 times>, "_o2hp,ou=3Drelationship,dc=3Dhpd,o=3Dvivates,c=3Dch"}, e_attrs =3D 0x34877= abc, e_ocflags =3D 65792, e_bv =3D {bv_len =3D 0, bv_val =3D 0x0}, e_private =3D 0xa21e34c8} lock =3D {off =3D 120264, ndx =3D 605, gen =3D 8677, mode =3D DB_LO= CK_READ} num_retries =3D 0 preread_ctrl =3D 0x0 postread_ctrl =3D 0x0 ctrls =3D {0x0, 0x16, 0x9e660068, 0x0, 0x0, 0x0} num_ctrls =3D 0 rc =3D <value optimized out> #9 0x080e41f3 in overlay_op_walk (op=3D0xa2d03098, rs=3D0x9fffc0dc, which=3Dop_modify, oi=3D0x833ca00, on=3D0x0) at backover.c:677 func =3D <value optimized out> rc =3D <value optimized out> #10 0x080e4cd9 in over_op_func (op=3D0xa2d03098, rs=3D0x9fffc0dc, which=3Dop_modify) at backover.c:730 oi =3D <value optimized out> on =3D 0x834c5f0 be =3D <value optimized out> db =3D {bd_info =3D 0x81f329c, bd_self =3D 0x833fde0, be_ctrls =3D "\000\000\000\001\001\001\000\001\000\000\001\000\000\001\001\000\001\000\0= 00\001", '\000' <repeats 12 times>, "\001", be_flags =3D 2312, be_restrictops =3D 0, be_requires =3D 0, be_ssf_set =3D {sss_ssf =3D 0, sss_transport =3D 0, sss_tls =3D 0, sss_sasl =3D 0, sss_update_ssf =3D 0, sss_update_transport =3D 0, sss_update_tls =3D 0, sss_update_sasl =3D 0, sss_simple_bind =3D 0}, be_suffix =3D 0x82b8600, be_nsuffix =3D 0x833f148, be_schemadn =3D {bv_len =3D 0, bv_val =3D 0x0}, be_schemandn =3D {bv_len =3D 0, bv_val =3D 0x0}, be_rootdn =3D {bv_len =3D 22, bv_val =3D 0x832c598 "cn=3Droot,o=3Dvivates,c=3Dch"}, be_ro= otndn =3D {bv_len =3D 22, bv_val =3D 0x833f190 "cn=3Droot,o=3Dvivates,c=3Dch"}, be_rootpw =3D {bv_len =3D 6, bv_val =3D 0x833fd10 "etoile"}, be_max_deref_depth =3D 15, be_def_limit =3D {lms_t_soft =3D 3600, lms_t_hard =3D 0, lms_s_soft =3D 500, lms_s_hard =3D 0, lms_s_unchecked =3D -1, lms_s_pr =3D 0, lms_s_pr_hide =3D 0, lms_s_pr_total =3D 0}, be_limits = =3D 0x0, be_acl =3D 0x0, be_dfltaccess =3D ACL_READ, be_extra_anlist =3D 0x0, be_update_ndn =3D {bv_len =3D 0, bv_val = =3D 0x0}, be_update_refs =3D 0x0, be_pending_csn_list =3D 0x82ecff0, be_pcl_mutex =3D {__data =3D {__lock =3D 0, __count =3D 0, __owner =3D 0, _= _kind =3D 0, __nusers =3D 0, {__spins =3D 0, __list =3D {__next =3D 0x0}}}, __size =3D '\000' <repeats 23 times>, __align =3D 0}, be_syncinfo =3D 0x0, be_pb =3D 0x0, be_cf_ocs =3D 0x81f58c0, be_private =3D 0x833fee0, be_next =3D {stqe_next =3D 0x834c268}} cb =3D {sc_next =3D 0x0, sc_response =3D 0x80e3f10 <over_back_response>, sc_cleanup =3D 0, sc_writewait =3D 0, sc_private =3D 0x833ca00} sc =3D <value optimized out> rc =3D 32768 __PRETTY_FUNCTION__ =3D "over_op_func" #11 0x08091561 in fe_op_modify (op=3D0xa2d03098, rs=3D0x9fffc0dc) at modify= .c:303 update =3D <value optimized out> repl_user =3D <value optimized out> op_be =3D <value optimized out> bd =3D 0x81f8ac0 textbuf =3D "\000\000\000\000\000\000\000\000\230\000\020\242\342\350\b\b\001\000\000\0= 00\372cM\000n\000\000\000p\355\207\064|\000\000\000[\000\000\000\070\000\00= 0\000\300\273\372\000\270\355,\b\300\355\207\064=C8=AE\377\237?M\t\b\002\00= 0\000\000X\311&\b\200\324'\b\300\355\207\064\300\273\372\000\000\000\000\00= 0\000\000\000\000\030\000\000\000\020\000\020\242\270\273\372\000@\000\020= 242\300\351\b\b\020\000\020\242\000\000\000\000\250\256\377\237\236=3D?\000= \020\000\020\242\020\000\000\000`\343\207\064$\346\027\000\000\000\000\000= 000\000\000\000O\000\000\000`\243\376\002\020\000\000\000\240\373"\242\000= \000\000\000\030\210\061\242\000\000\000\000\000\000\000\000(\257\377\237\2= 61\020\t\b\002\000\000\000\030\210\061\242\200\324'\b\300\355\207\064\300\2= 73\372\000\000\000\000\000\374\302\031\b`\262\257\237\020\263\257\237 \273\372\000\030\210\061\242\300\273\372\000'\344\207\064O\000\000\000`\243= \376\002@\262\257\237" #12 0x08091fd7 in do_modify (op=3D0xa2d03098, rs=3D0x9fffc0dc) at modify.c:= 177 dn =3D {bv_len =3D 59, bv_val =3D 0x3487e382 "cn=3D1", '0' <repeats= 12 times>, "_O2HP,ou=3DRelationship,dc=3DHPD,o=3Dvivates,c=3Dch"} textbuf =3D "\030\000\000\000\070\000\000\000\364\017Q\000\250\277\377\237h\030\060\242= \030=D5=874\250\277\377\237\004\026\067\000\022\026\067\000\233\275\027\000= \025\000\000\000#=D5=874\b\000\000\000\374\300\377\237\230\061=D0=A2$\346\0= 27\000x\300\377\237\352\256\027\000P\030\060\242#=D5=874\b\000\000\000P\207=
\000P\207>\000\340\277\377\237\344\211\031\b\374\300\377\237\230\061=D0=A2=
\000\000\000\000\340\277\377\237\377\000\000\000\001\200\255\373\000\000\00= 0\000\230\061=D0=A2\230\061=D0=A2\230\061=D0=A2\252\061=D0=A2\227\062=D0=A2= \230\060=D0=A2\240\373"\242\004\000\020\000\210\300\377\237)\370\f\b\000\0= 00\000\000\240\373"\242l\300\377\237", '\000' <repeats 16 times>, "^V\027\000\000\000\000\000\003\000\000\000\032\000\000\000\000\000\000\000= =CC=A3\370\267\030\301\377\237\210\300\377\237As\a\b\267\303\066\000\020s\a= \b\337\v\000\000\274\020\027\000=CC=A3\370\267=CC=A3", <incomplete sequence \370\267> tmp =3D <value optimized out> #13 0x080784ac in connection_operation (ctx=3D0x9fffc1ec, arg_v=3D0xa2d03098) at connection.c:1158 ---Type <return> to continue, or q <return> to quit--- rc =3D 80 cancel =3D <value optimized out> op =3D 0xa2d03098 rs =3D {sr_type =3D REP_RESULT, sr_tag =3D 0, sr_msgid =3D 0, sr_er= r =3D 0, sr_matched =3D 0x0, sr_text =3D 0x0, sr_ref =3D 0x0, sr_ctrls =3D 0x0, sr_un =3D {sru_search =3D {r_entry =3D 0x0, r_attr_flags =3D 0, r_operational_attrs =3D 0x0, r_attrs =3D 0x0, r_nentries =3D 0, r_v2ref =3D 0x0}, sru_sasl =3D {r_sasldata =3D 0x0}, sru_extended =3D {r_rspoid = =3D 0x0, r_rspdata =3D 0x0}}, sr_flags =3D 0} tag =3D 102 opidx =3D SLAP_OP_MODIFY conn =3D 0xb7f8a3cc memctx =3D 0xa222fba0 memctx_null =3D 0x0 memsiz =3D 1048576 __PRETTY_FUNCTION__ =3D "connection_operation" #14 0x08078d47 in connection_read_thread (ctx=3D0x9fffc1ec, argv=3D0x15) at connection.c:1294 cri =3D {op =3D 0xa2d03098, func =3D 0, arg =3D 0x0, ctx =3D 0x9fff= c1ec, nullop =3D 0} s =3D 21 #15 0x0013c7d4 in ldap_int_thread_pool_wrapper (xpool=3D0x8287b80) at tpool= .c:696 pool =3D 0x8287b80 task =3D 0xa2d01fa0 work_list =3D <value optimized out> ctx =3D {ltu_id =3D 2684341104, ltu_key =3D {{ltk_key =3D 0x8077310= , ltk_data =3D 0xa229a680, ltk_free =3D 0x80773e0 <conn_counter_destroy>}, {ltk_key =3D 0x80cf660, ltk_data =3D 0xa222fba0, ltk_free =3D 0x80cf690 <slap_sl_mem_destroy>}, {ltk_key =3D 0x82ed240, ltk_data =3D 0xa224ba30, ltk_free =3D 0x81336b0 <bdb_reader_free>}, {ltk_key =3D 0x808c910, ltk_data =3D 0xa22661b0, ltk_free =3D 0x808c720 <slap_op_q_destroy>}, {ltk_key =3D 0x80f6260, ltk_data =3D 0x9f2fa008, ltk_free =3D 0x80f6320 <search_stack_free>}, { ltk_key =3D 0x0, ltk_data =3D 0x0, ltk_free =3D 0} <repeats 2= 7 times>}} kctx =3D <value optimized out> keyslot =3D 697 hash =3D <value optimized out> __PRETTY_FUNCTION__ =3D "ldap_int_thread_pool_wrapper" #16 0x0036ab39 in start_thread (arg=3D0x9fffcb70) at pthread_create.c:301 __res =3D <value optimized out> __ignore1 =3D 3039 __ignore2 =3D 6 pd =3D 0x9fffcb70 now =3D <value optimized out> unwind_buf =3D {cancel_jmp_buf =3D {{jmp_buf =3D {3653620, 0, 4001536, -1610627944, -1207036625, 719275536}, mask_was_saved =3D 0}}, priv =3D {pad =3D {0x0, 0x0, 0x0, 0x0}, data =3D {prev =3D 0x0, cleanup =3D= 0x0, canceltype =3D 0}}} not_first_call =3D <value optimized out> pagesize_m1 =3D <value optimized out> sp =3D <value optimized out> freesize =3D <value optimized out> #17 0x00461c2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 No locals.
--- end gdb ---
If I keep my client application off and I turn it on after I loaded all the entries in our LDAP, then the synchronization works flawless.
Thanks for the feedback
Maurizio
2015-10-28 17:39 GMT+01:00 Quanah Gibson-Mount quanah@zimbra.com:
--On Wednesday, October 28, 2015 5:23 PM +0000 maurizio.lattuada@gmail.co=
m
wrote:
--001a1130d27c49538c05232c9dd4 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: quoted-printable
I cloned the git repository "git://git.openldap.org/openldap.git", then =
I
compiled this version "2.X" as specified in the 1st message. Please consider that, after recompiling this version, I rebooted the server where slapd is running.
As far as I can see, it seems the memory consumption is the same as 2.4.42: it starts to increase up to 60%. In fact, with gdb, I got now an assertion failed due to:
You can check out just RE24 specifically via:
<http://www.openldap.org/devel/gitweb.cgi?p=3Dopenldap.git;a=3Dsnapshot;h=
=3Drefs/heads/OPENLDAP_REL_ENG_2_4;sf=3Dtgz>
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc.
Zimbra :: the leader in open source messaging and collaboration
--=20 Maurizio Lattuada