Thumbnail generation should have a time limit
Categories
(Firefox :: New Tab Page, defect, P3)
Tracking
()
Performance Impact | medium |
People
(Reporter: rowbot, Unassigned, NeedInfo)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(5 keywords, Whiteboard: [MemShrink:p2])
Attachments
(1 file)
96.47 KB,
application/x-gzip
|
Details |
Reporter | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Updated•10 years ago
|
Reporter | ||
Comment 4•6 years ago
|
||
Just wanted to pop back in to say that the runaway thumbnail service is still a thing. The example URL in comment #0 is obviously contrived, however, the point is that any misbehaving site that makes it into about:home's Top Sites can cause high CPU usage and high memory usage to persist for the duration of the user's browsing session (and every session after that since opening the browser will navigate to about:home by default resulting in the browser trying to get a thumbnail again) and will continue to use those resources until either a thumbnail is obtained, the site stops misbehaving, or it gets knocked out of the list of Top Sites.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
The problem here appears to be it trying forever to generate thumbnails; we really should have a time limit on thumbnailing a site. (it's especially bad if we restart thumbnailing when the browser restarts).
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Hi trevor, is this bug still valid? i could not reproduce on windows10 with firefox release94 and opening about:newtab.
but after i go to that site and I close firefox, firefox.exe was still showing up in task manager. had to close it manually in the task manager.
Reporter | ||
Comment 7•3 years ago
|
||
Its hard to say given that the new tab page no longer uses a capture of the page as a tile image. Is the thumbnail capture service still used somewhere in the browser in a way that can be tested? If I had to guess, the underlying problem likely still exists.
As you mentioned, loading the page prevents the browser from shutting down in a timely manner, which I believe is related to Bug 1164189 in this particular case. If not, perhaps a new bug should be made for that problem.
Updated•3 years ago
|
Comment 8•2 years ago
|
||
We could potentially add a timeout to thumbnail generation as said, where we'd abort the network socket after a certain amount of time, but in the end a page like this also looks like a potential DOS attack to the user.
Does the DOM team have any plans to prevent or notify something like this to the user?
Comment 9•2 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #8)
We could potentially add a timeout to thumbnail generation as said, where we'd abort the network socket after a certain amount of time, but in the end a page like this also looks like a potential DOS attack to the user.
Does the DOM team have any plans to prevent or notify something like this to the user?
Hi Marco, no, we don't have any plans here. Please feel free to let us know if the front-end needs additional information from the platform side to solve this bug. Thanks.
Comment 10•2 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Updated•2 years ago
|
Comment 11•1 year ago
|
||
The severity field is not set for this bug.
:amy, could you have a look please?
For more information, please visit BugBot documentation.
Description
•