On Mon, Oct 17, 2022 at 05:38:37AM -0500, Greg Stein wrote:
> Did you run any tests to observe the alleged contention?

I was the victim of it, with a server showing processes awaiting
for fcntl() to give a lock on DAVLockDB, and users complaining
anything takes ages.

> The dbm database is very fast. I'd be surprised that contention occurs in
> any typical workload.

dbm is fast once you have it open. mod_dav_fs opens DAVLockDB on each 
HTTP request, then it acquire a filesystem level lock on it. This is 
where contenton occurs.


-- 
Emmanuel Dreyfus
m...@netbsd.org

Reply via email to