I see somewhere code hangs in the alock.c file I think the slapcat process not able to grab the lock,is it correct? or something different.
Ciao.
The same issue seems to occur under Windows. I reckon I may have reported it some time ago.
... ... 52879a45 bdb_db_open: "dc=example,dc=com" 52879a45 bdb_db_open: database "dc=example,dc=com": unclean shutdown detected; attempting recovery. 52879a45 bdb_db_open: warning - no DB_CONFIG file found in directory ../testrun/db.1.a: (2). Expect poor performance for suffix "dc=example,dc=com". 52879a45 bdb_db_open: database "dc=example,dc=com": dbenv_open(../testrun/db.1.a). 52879a46 bdb_db_open: database "dc=example,dc=com": alock_recover failed 52879a46 ====> bdb_cache_release_all 52879a46 bdb_db_close: database "dc=example,dc=com": alock_close failed 52879a46 backend_startup_one (type=bdb, suffix="dc=example,dc=com"): bi_db_open failed! (-1) 52879a46 slapd shutdown: initiated 52879a46 ====> bdb_cache_release_all 52879a46 bdb_db_close: database "dc=example,dc=com": alock_close failed 52879a46 slapd destroy: freeing system resources. 52879a46 slapd stopped. ... ...