[Webkit-unassigned] [Bug 267735] New: [GStreamer] Switching between video url's in one web application eats up file handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 18 15:03:56 PST 2024


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

            Bug ID: 267735
           Summary: [GStreamer] Switching between video url's in one web
                    application eats up file handlers
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: w.vanhauwaert at televic.com

We have this web application which is dynamically loading different video sources. 
At first we noted in cog/wpewebkit that it got us to a point where a huge amount of open files were created and kept open by webkit, crashing webkit and ending up in OOM kicking in on the pc, and making it nearly unworkable.
After some research, we found out that even the simplest html doing this, with videotestsrc only. (as reference: https://wonda.be/nd/testbin)

I retested on epiphany, and behavior is the same

$ while [ 1 ]; do sudo lsof | grep WebKit | wc -l ; sleep 10; done
47971
74291
65305
28742
48002
71253
97767
36008
57261
83714
118571
45431
65753
94685
52671
74619
115730
164044
61570
91785
127626
86396
124266
156932
96970
120059
151026
196460
238666
127898
165181
208961
247381
162499
207140
251451
310443
384991
414189
417795
421813
426046
429855
433873
436766
441913
444595
449953
452633
460674
460673
466033
468926
474073
476755
482113
484793
490154
492835
498193
501086
506233
510254
514275
519633
522526
527673
531698
535713
539733
543966
549113
554476
557153
562513
566746
570553
577254
581273
582613
588186
591993
598694
601373
605395
610753
614773
619006
622813
629514
633535
637555
641573
648273
652506
657653
661886
664355
672394
676413
681774
687135
692496
697853

-- 
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/20240118/faf0a08e/attachment.htm>


More information about the webkit-unassigned mailing list