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

Re: slap_sl_malloc failed, using ch_malloc



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&sektion=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.

--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/