<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>289994</bug_id>
          
          <creation_ts>2025-03-18 14:31:42 -0700</creation_ts>
          <short_desc>[WPE][GTK] Raise web process soft file descriptor limit up to hard limit</short_desc>
          <delta_ts>2025-08-06 06:40:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=260723</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=266573</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2104160</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-03-18 14:31:42 -0700</bug_when>
    <thetext>We should raise the web process&apos;s soft file descriptor limit to match the hard limit, since having too few file descriptors available is very limiting.

See discussion in: bug #260723, bug #266573. The immediate motivation for this is that websites may create lots of media elements, and WebKit needs lots of file descriptors to handle them. There is also a file descriptor leak that we need to fix. We might or might not want to debug and fix the leak before landing the commit to raise the fd limit.

Code to raise the limit is here: https://bugs.webkit.org/show_bug.cgi?id=266573#c21</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134669</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2025-08-06 06:40:35 -0700</bug_when>
    <thetext>See also https://github.com/WebKit/WebKit/commit/1667e4506835aebe1431586c46888b3139db6e58 (Cocoa).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>