Re: increasing sysv semaphore limits

Mouse <[email protected]> Thu, 16 Jul 2026 11:18:13 -0400 (EDT)
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
>>> Except doesn't that open you up to a DoS attack, running the kernel
>>> out of memory by creating a zillion semaphores?
>> I mean, itâ??s really the same thing as with file descriptors.
> Yes and no.  SYSV semaphores are persistent and independent of both
> file descriptors and processes.

Perhaps more important from this perspective, is there anything
analogous to proc.%d.rlimit.descriptors and/or kern.maxfiles for them?
Those are what keep a lid on the analogous DoS with file descriptors.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B