WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210916
Regression after
r260359
([GTK][WPE] lowWatermarkPages() in MemoryPressureMonitor.cpp only searches the "low" value inside the first "Node" section)
https://bugs.webkit.org/show_bug.cgi?id=210916
Summary
Regression after r260359 ([GTK][WPE] lowWatermarkPages() in MemoryPressureMon...
Pablo Saavedra
Reported
2020-04-23 08:56:45 PDT
Changes in
https://bugs.webkit.org/show_bug.cgi?id=210345
leaks file descriptors: ``` This change is leaking file handles. I see constant additions of the triple: /proc/meminfo /proc/zoneinfo /proc/18738/cgroup in `lsof -p PID`. It lasts up to the top opened files limit is reached. You should, in MemoryPressureMonitor::start(), fclose() those which had been opened, both in the 'continue' and in the end of the while() (not only after it, which handles the 'break' path). ``` Ref:
https://bugs.webkit.org/show_bug.cgi?id=210345#c5
Attachments
Patch
(5.33 KB, patch)
2020-04-23 10:08 PDT
,
Adrian Perez
no flags
Details
Formatted Diff
Diff
Patch v2
(5.33 KB, patch)
2020-04-23 12:18 PDT
,
Adrian Perez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2020-04-23 10:08:58 PDT
Created
attachment 397355
[details]
Patch
Carlos Alberto Lopez Perez
Comment 2
2020-04-23 10:25:43 PDT
Comment on
attachment 397355
[details]
Patch interesting patch, looks good... but there are some build errors on the EWS.
Adrian Perez
Comment 3
2020-04-23 12:18:44 PDT
Created
attachment 397373
[details]
Patch v2
Adrian Perez
Comment 4
2020-04-23 12:26:40 PDT
(In reply to Carlos Alberto Lopez Perez from
comment #2
)
> Comment on
attachment 397355
[details]
> Patch > > interesting patch, looks good... but there are some build errors on the EWS.
Yes, I forgot to add one bit before uploading, it should be fixed now.
Carlos Alberto Lopez Perez
Comment 5
2020-04-23 12:36:58 PDT
Comment on
attachment 397373
[details]
Patch v2 r=me Looks nice! thanks
EWS
Comment 6
2020-04-23 13:06:30 PDT
Committed
r260592
: <
https://trac.webkit.org/changeset/260592
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 397373
[details]
.
Milan Crha
Comment 7
2020-04-23 23:36:36 PDT
> precise if thy are eventually
s/thy/they/ From the working point of view: seems to work properly. Thanks.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug