Bug #86436
closedPerformance of extension scanner
100%
Description
In some cases the extension scanner produce a lot of CPU usage which results in a browser crash.
I can reproduce this by scanning the extension: bootstrap_package
After scanning the ~100 files the browser freeze and the CPU usage is too high.
See the video attached
The problem is the second extension in the scanner list, it contains 4468 files, the scanner now create for all files in all extensions one AJAX call, in my case 4700 AJAX calls are send to the web-server.
This has several impacts:
1) browser freezes
2) web server get under massiv load
3) WAF or iptables will take care of the "attac"
Files
Updated by Frank Nägler over 6 years ago
Updated by Frank Nägler over 6 years ago
- Description updated (diff)
- Priority changed from Should have to Must have
- Complexity set to medium
Updated by Frank Nägler over 6 years ago
I see the following possible solutions:
1) set async: false
2) Use a AJAX queue manager
both solutions are not optimal, because:
1) would be easy, but slow down the scanner
2) is a bigger refactoring, which is not possible so close before LTS release
I am not happy with this situation and have no idea how to solve or mitigate this bug.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58510
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58510
Updated by Frank Nägler over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 282b0ccb6e2b59daf508c8d003768a6e5a867a0d.
Updated by Andreas Kienast over 6 years ago
- Related to Bug #86523: Scanning an extension after first scan not possible anymore added