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

Re: OpenLdap's Scalability



On Wed, Aug 18, 2004 at 05:02:43PM +0200, François Beretti wrote:
> Hello all
> 
> I have no answer for the moment, but as I am testing the scalability of
> OpenLDAP too, I encountered a problem :
> I generated a LDIF file with more than one million entries (500 users,
> 2500 groups of  users, 1 250 000 groups of groups).
> As my OpenLDAP can add about ten entries per second with ldapadd, I
> thought it would be a good idea not to spend 125 000 seconds = 35 hours
> adding my data just for a test, and used slapadd.
> so I stopped the server, removed all the /var/lib/ldap/* files, and ran
> slapadd with -b "dc=my,dc=suffix" -l myfile.ldif  .
> The day after, I started slapd, and did a search on the suffix, which
> returned "no such object".

The database files are probably owned by root mode 0640 or something like
it, and your slapd daemon is running as another user.