[Date Prev][Date Next]
Re: slapd index and db errs crashing frequently (ITS#309)
At 02:42 PM 9/27/99 GMT, firstname.lastname@example.org wrote:
>Full_Name: Neil Smith
>Version: 1.2.7 release
>OS: FreeBSD 2.2.8
>Submission from: (NULL) (126.96.36.199)
>Recently upgraded to OpenLDAP 1.2.7 and Berkeley DB 2.7.7 to get around memory
>Rebuilt the database (about 150,000 entries) from LDIF.
>Now experience these errors in syslog and slapd restarting every minute or so.
>Previous dn.dbb file was 17MB, now it is 299MB.
1.2.7 generates both eq and sub indices for DNs. Previous
versions, due to a programming error, failed to generate
the sub index. This error was corrected in 1.2.7.
[There appears to be documentation error in the above
commit. The log entry is incorrect and CHANGES doesn't
reflect the change. I'll review and update as appropriate.]
The DN sub index is used to determine which entries to
check for subtree searches. Without the sub index, subtree
search must check all entries.
With 150K entries, a DN sub index could be quite large,
though ALLIDS blocks should keep it from getting out of hand.
You can try:
1) lowering SLAPD_LDBM_MIN_MAXIDS
2) hack the "sub," out of back-ldbm/init.c dn
>Sep 27 15:26:46 work slapd: ldbm_db_errcall(): ==>
>/disk2/p2-overflow/slapd/db.new/dn.dbb: page 1347241258 doesn't exist, create
>flag not set
Did you run out of disk space (or quota)?