<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span> changed
              <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">bug 152316</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>cgarcia&#64;igalia.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><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#c21">Comment # 21</a>
              on <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">bug 152316</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152316#c20">comment #20</a>)
<span class="quote">&gt; Is the network process cache not closing fds after deleting the cached files?</span >

Problem is not in the network process, but in the web process and we are indeed leaking the shareable resources. In multiprocess mode we kill/destroy processes all the time, so the problem is more difficult to notice, but in single process mode and after long time running, it can happen more easily. I've opened a different bug to fix the leak, since I'm not sure this is the only leak we have or not. Also, even with the leak fixed, we might end up with fds open for a long time, because the shareable resources will be cached by the memory cache. I think the main idea of shareable resources was to avoid sending the data over IPC, but it's also good to avoid data copies, however we might consider copying the data in the web process to release the fd if this is still a problem after fixing the leak.</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>