[Bug 238675] POSIX timer (timer_create) limit is too low (32)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 22 18:48:08 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238675

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #4 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Conrad Meyer from comment #3)
Total number of kqueues per uid is limited by rlimit(2) RLIMIT_KQUEUES with no 
default limit.  Global system number of kqueue timers is limited by sysctl
kern.kq_calloutmax with the default value 4096.

TIMER_MAX defines the number of elements in the per-process structure, so
bumping it arbitrary is not possible without reworking the code.  It probably
can be increased to e.g. 64, but I doubt that this would be useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list