Thank you for your answer.
I would also like to have some confirmation… like… is it normal to have 40.000 locks in a database?
Is my locking system working good? I have around 100.000 files.
I also have 5 main directories owned by a “admin” owner and shared with the others, so everyone uploads files in that directories.
I made this choice so that the “admin” user still owns the files if someone go rogue.
Is this the reason why I have 50% of files locked ?