<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;">Attachment #282768 Flags</td>
           <td>
               &nbsp;
           </td>
           <td>review?
           </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#c33">Comment # 33</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>Created <span class=""><a href="attachment.cgi?id=282768&amp;action=diff" name="attach_282768" title="Patch">attachment 282768</a> <a href="attachment.cgi?id=282768&amp;action=edit" title="Patch">[details]</a></span>
Patch

This patch makes WebKitGTK+ release all its file descriptors, see:

 - Just opening MB:

before:

$ ls -l /proc/11522/fd | wc -l
27
$ ls -l /proc/11522/fd | grep WebKitCache | wc -l
4
$ ls -l /proc/11522/fd | grep WK2SharedMemory | wc -l
1


after:

$ ls -l /proc/11669/fd | wc -l
22
$ ls -l /proc/11669/fd | grep WebKitCache | wc -l
0
$ ls -l /proc/11669/fd | grep WK2SharedMemory | wc -l
0

 - after some navigation

before:

$ ls -l /proc/11783/fd | wc -l
104
$ ls -l /proc/11783/fd | grep WebKitCache | wc -l
79
$ ls -l /proc/11783/fd | grep WK2SharedMemory | wc -l
1

after:

$ ls -l /proc/12093/fd | wc -l
24
$ ls -l /proc/12093/fd | grep WebKitCache | wc -l
0
$ ls -l /proc/12093/fd | grep WK2SharedMemory | wc -l
0</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>