<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] WebKitGtk+ uses too many file descriptors"
href="https://bugs.webkit.org/show_bug.cgi?id=152316">152316</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] WebKitGtk+ uses too many file descriptors
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>agomez@igalia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org
</td>
</tr></table>
<p>
<div>
<pre>I'm using WebKitGtk+ with my own JHBuild setting:
<a href="https://github.com/tanty/jhbuild-epiphany/tree/wkgtk-devel">https://github.com/tanty/jhbuild-epiphany/tree/wkgtk-devel</a>
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:
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=728352">https://bugzilla.gnome.org/show_bug.cgi?id=728352</a>
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 <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] WebProcess from WebKitGtk+ 2.10.x SIGSEVs on WTF::cryptographicallyRandomValuesFromOS"
href="show_bug.cgi?id=150899">bug 150899</a>. 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>