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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 04:27:12 PDT 2016


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #282768|                            |review?
              Flags|                            |

--- Comment #33 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 282768
  --> https://bugs.webkit.org/attachment.cgi?id=282768&action=review
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

-- 
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/20160705/b710359a/attachment.html>


More information about the webkit-unassigned mailing list