Feature #25836
closedMonitor peak memory usage
100%
Description
Measuring peak memory usage and comparing it with the memory limit can help preventing out of memory errors (blank pages).
The reports module reports if peak memory usage was more than 90% of the memory limit.
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ie0cfed4dce4b2f3e269832a28be7045b972a6867 has been pushed to the review server.
It is available at http://review.typo3.org/1507
Updated by Jigal van Hemert over 13 years ago
How to test:¶
In class.t3lib_utility_monitor.php modify line 45:
if ($peakUsage / $memoryLimit >= 0.9) {
Change 0.9 to a low number such as 0.1; this will trigger the report on virtually each frontend page request.
See the Reports module for the resulting warning.
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ic3cf9409efc16a606edced8ba711b2d93e5d7e27 has been pushed to the review server.
It is available at http://review.typo3.org/1536
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change Ie0cfed4dce4b2f3e269832a28be7045b972a6867 has been pushed to the review server.
It is available at http://review.typo3.org/1507
Updated by Susanne Moog over 13 years ago
- Status changed from New to Under Review
Updated by Xavier Perseguers over 13 years ago
- Target version changed from 1081 to 1238
Updated by Oliver Hader over 13 years ago
- Target version changed from 1238 to 1281
Updated by Xavier Perseguers over 13 years ago
- Target version changed from 1281 to 4.6.0-beta1
Updated by Jigal van Hemert over 13 years ago
- Status changed from Under Review to Resolved
Applied in changeset 89c04198a0906ac9392c16c51849a95365ed240d.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed
Updated by Bernhard Eckl over 11 years ago
I saw this in 6.1. I did not find anything about how this is measured, the highest memory usage in the last hour or just at the time I run the install tool? Thanks for your explanation.
Updated by Jigal van Hemert over 11 years ago
Hi Bernhard,
This issue tracker is meant for bug reports. For questions you can use the mailing lists / newsgroups / forum at typo3.org.
To answer your question: at the end of every frontend request the peak memory usage as measured by PHP is compared with the memory limit that is configured. If it exceeds 90% of that limit the memory usage, the date/time of the event and the requested URL are stored for later use by the Reports module. If this happens there is an option in the Reports module to remove the stored data.
With this data the administrator can investigate why the memory usage was so high and possibly take appropriate action (fix the problem, raise the memory limit).
Updated by Ernesto Baschny over 11 years ago
- Target version deleted (
4.6.0-beta1)