Re: maximum limit of files open with O_EXLOCK

2021-06-20 Thread Michael Cheponis
I got the message about files as a user: arm64>make m cc -g -Wall -std=gnu17 -O3 -lm -o m m.c arm64>./m bleh 1021: Too many open files arm64> On Sun, Jun 20, 2021 at 8:51 PM David Holland wrote: > On Sat, Jun 19, 2021 at 08:12:38AM +, nia wrote: > > The Zig developer found the kernel lim

Re: maximum limit of files open with O_EXLOCK

2021-06-20 Thread David Holland
On Sat, Jun 19, 2021 at 08:12:38AM +, nia wrote: > The Zig developer found the kernel limit: > https://nxr.netbsd.org/xref/src/sys/kern/vfs_lockf.c#116 > > but it doesn't seem to be adjustable through sysctl. > I wonder if it should be. I wonder if the logic should be changed to allow on