The SQLDirectory.getSession method is synchronized, on high concurrency it creates contentions:
Java Monitor Blocked
at org.nuxeo.ecm.directory.sql.SQLDirectory.getSession()
at org.nuxeo.ecm.directory.DirectoryServiceImpl.open(String, DocumentModel)
double check if we can avoid this sync.