tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern.maxlockf for byte range lock limit

On Fri, Jul 09, 2021 at 03:27:57PM +0000, Emmanuel Dreyfus wrote:
 > I recently hit a bug where mariadb import failed befause of 
 > maxlocksperuid limit:a
 > Attached is a patch that documents ENOMEM for fcntl() and flock()
 > and that adds a sysctl kern.maxlockf to make the limit configurable.

This was discussed somewhere briefly (probably on chat) a couple weeks
ago, with the conclusion that we should just make the limit something
like twice the maximum number of open files and forget about it. No
real need to add more knobs.

David A. Holland

Home | Main Index | Thread Index | Old Index