[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slap_sl_malloc failed, using ch_malloc



--On Sunday, December 30, 2007 7:36 PM -0800 Howard Chu <hyc@symas.com> wrote:

Quanah Gibson-Mount wrote:
--On Sunday, December 30, 2007 2:33 PM -0800 Marcel Chastain
<marcel.chastain@gmail.com> wrote:
I recall reading somewhere that upgrading to 2.4.7 requires a full
re-import or re-index, and I'm running with about a million records.

However, looking through the changelog, I see that the fixes in 2.4.7
are pretty significant, and I'm working on upgrading now.

No, it requires reindexing any attribute that uses the integer matching rules. Note that in OpenLDAP 2.4, you can selectively re-index only the attributes you are interested in updating the indices for. So you can do something like:

slapindex -q -t <attr1> <attr2>

etc.

See the examples section of:

<http://www.openldap.org/software/man.cgi?query=slapindex&apropos=0&sekt
ion=0&manpath=OpenLDAP+2.4-Release&format=html>

Actually, as I noted here http://www.openldap.org/lists/openldap-software/200712/msg00193.html you also need to reindex any attribute that uses presence indexing.

Okay, so all presence indexes, and all attributes that are indexed and use the integer matching rules. Which still (hopefully) is less than everything. ;)


--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration