Bug 289994
Summary: | [WPE][GTK] Raise web process soft file descriptor limit up to hard limit | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro, philn |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=260723 https://bugs.webkit.org/show_bug.cgi?id=266573 |
Michael Catanzaro
We should raise the web process's soft file descriptor limit to match the hard limit, since having too few file descriptors available is very limiting.
See discussion in: bug #260723, bug #266573. The immediate motivation for this is that websites may create lots of media elements, and WebKit needs lots of file descriptors to handle them. There is also a file descriptor leak that we need to fix. We might or might not want to debug and fix the leak before landing the commit to raise the fd limit.
Code to raise the limit is here: https://bugs.webkit.org/show_bug.cgi?id=266573#c21
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
See also https://github.com/WebKit/WebKit/commit/1667e4506835aebe1431586c46888b3139db6e58 (Cocoa).