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

Re: (ITS#4010) out of memory when slapcat over 16m entries



ando@sys-net.it wrote:
> lihaitao@kingsoft.com wrote:
>   
>> There are about 27m entries in our Openldap. I want to use slapcat to output
>> them all. But when output 16,893,596 entries, slapcat crash because of malloc
>> failure. The error output list below:
>>
>>     
> Can you reproduce this issue with the latest 2.3 code?  It is more 
> likely that these types of issues are investigated if they occur in 2.3; 
> if a common solution is found, it will be backported to 2.2.  2.2 only 
> problems will inevitably get less attention.
>   
This is a known "feature" of the back-hdb entryInfo cache (in both 2.2 
and 2.3). It does not affect slapcat on back-bdb. I'm looking into 
reworking the entryInfo cache now.

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