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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to