[Bug 238675] POSIX timer (timer_create) limit is too low (32)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 18 00:17:33 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238675
Bug ID: 238675
Summary: POSIX timer (timer_create) limit is too low (32)
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: greg at unrelenting.technology
epoll-shim https://github.com/jiixyj/epoll-shim implements the Linux timerfd
API via threads and POSIX timers.
libwayland-server allocates a timerfd per client.
sys/timers.h defines TIMER_MAX as 32.
As a result.. you can only run 32 Wayland clients! :D And I've started hitting
this limit in practice (especially with many WebKit processes).
Looks like on Linux, the limit of timers is RLIMIT_SIGPENDING which is 16382 by
default:
https://stackoverflow.com/questions/11903920/boost-deadline-timer-max-number-of-timers-in-linux
Our limit should be raised.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list