Date: Tue, 18 Jun 2019 00:17:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238675] POSIX timer (timer_create) limit is too low (32) Message-ID: <bug-238675-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238675 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@FreeBSD.org Reporter: greg@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 hitt= ing this limit in practice (especially with many WebKit processes). Looks like on Linux, the limit of timers is RLIMIT_SIGPENDING which is 1638= 2 by default: https://stackoverflow.com/questions/11903920/boost-deadline-timer-max-numbe= r-of-timers-in-linux Our limit should be raised. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238675-227>