[Webkit-unassigned] [Bug 152316] New: [GTK] WebKitGtk+ uses too many file descriptors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 15 15:30:29 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=152316

            Bug ID: 152316
           Summary: [GTK] WebKitGtk+ uses too many file descriptors
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: agomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

I'm using WebKitGtk+ with my own JHBuild setting:
https://github.com/tanty/jhbuild-epiphany/tree/wkgtk-devel

Epiphany 3.18.0 and WebKit 2.10.3

I'm running Epiphany with the dconf key:

"process-model" = "shared-secondary-process"

The compilation was done with CMake args:

'-DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DDEVELOPER_MODE=ON -DCMAKE_C_FLAGS_DEBUG="-O0 -g1" -DCMAKE_CXX_FLAGS_DEBUG="-O0 -g1"'

---

Time ago, using

"process-model" = "one-secondary-process-per-web-view"

I reported the following bug for epiphany:
https://bugzilla.gnome.org/show_bug.cgi?id=728352

Basically, I was unable to use this process model because it was using too many file handlers.

Today, using:

"process-model" = "shared-secondary-process"

Eventually, one of the tabs failed to load. No SIGSEVs nor any kind of crashes. This is what I see in the error output:

...
Failed to create shared memory file /WK2SharedMemory.2347425006: Too many open files
Failed to create shared memory file /WK2SharedMemory.2078275081: Too many open files
Failed to create shared memory file /WK2SharedMemory.2879760070: Too many open files
Failed to create shared memory file /WK2SharedMemory.3712558436: Too many open files
Failed to create shared memory file /WK2SharedMemory.3835635806: Too many open files
Failed to create shared memory file /WK2SharedMemory.4122325227: Too many open files
Failed to create shared memory file /WK2SharedMemory.1002315265: Too many open files
...

This continues for a long, long output.

After a while, eventually, the WebProcess SIGSEVed with bug 150899. Maybe these 2 things are unrelated. I don't know.

In any case, it seems clear that, even in "shared-secondary-process", WKGTK+ is using too many file descriptors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151215/cb7baea6/attachment.html>


More information about the webkit-unassigned mailing list