I applied back-bdb/cache.c patch and reran a similar-size ldapmodify. No hang. This isn't the first time I've seen hangs on large modifies--just the first time I caught it--so I'll probably start running with this in production.