[Webkit-unassigned] [Bug 251134] New: linux memory pressure for swap memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 24 21:42:01 PST 2023


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

            Bug ID: 251134
           Summary: linux memory pressure for swap memory
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: donghwa at altimedia.com
                CC: bugs-noreply at webkitgtk.org

Hi,

I am using webkit browser for my embedded linux platform with memory swap.

However, when I check the source code, I can see that MemoryPressureHandlerLinux.cpp does not consider swap memory.

Looking inside the MemoryUsagePoller function, we are only monitoring the VmRSS value.
So, in the Linux environment using memory swap (HDD swap, etc.), I confirmed that memory clear (garbage collection) is not done at the time I expect.

This will result in OOM of the platform in severe cases.
I'd suggest that not only the VmRSS values should be monitored, but also the VmSwap as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230125/4c51c528/attachment.htm>


More information about the webkit-unassigned mailing list