We're seeing the same thing, with 2.4.15 + the second-round fix from ITS#5860 and fully patched BDB 4.7. FWIW, this is with existing databases, not a fresh syncrepl.
After a couple days of slapd uptime, its BDB entry and DN caches have grown to about 400k entries each
and slapd's memory footprint is increasing at ~100MB/hour. CPU consumption skyrockets and performance takes a nose dive. The CPU consumption seems to be spread across all threads; I can get another backtrace next time it happens, if that will help.
Yes, please provide a backtrace.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/