Bug #87980
closedTYPO3 can not handle two concurrent requests to the same (cachable) page without a 503 response
100%
Description
If two concurrent requests try to access a page, a 503 response code (together with the famous "Page is being generated" message) is returned, no matter how fast/slow the pages are rendered or whether there is low/high traffic.
A 503 HTTP response code should only be sent due to high server overload, not because of two simple requests.
This issue can be verified by running two curl requests to the same url in parallel:
url=https://mytypo3site.com/foo
for i in {1..2}; do curl -sv $url |& grep '^< HTTP'& done
This would return:
< HTTP/1.1 503 Service unavailable
< HTTP/1.1 200 OK
It should return:
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
Currently this can be fixed using the https://extensions.typo3.org/extension/skip_page_is_being_generated/ extension, but it would be desirable if TYPO3 core could fix it.
Updated by Gerrit Code Review over 5 years ago
- Status changed from New 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/c/Packages/TYPO3.CMS/+/60307
Updated by Gerrit Code Review over 5 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/c/Packages/TYPO3.CMS/+/60307
Updated by Jonas Eberle over 5 years ago
Running more requests in parallel yields
< HTTP/1.1 503 Service unavailable
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
That is really weird behaviour and surely not intentional. The suggested patch fixes that.
Updated by Helmut Hummel over 5 years ago
- Related to Bug #88250: Remove temporary page cache entry (aka page is being generated message) added
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60307
Updated by Gerrit Code Review over 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60307
Updated by Gerrit Code Review over 5 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60307
Updated by Gerrit Code Review over 5 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60307
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60656
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60660
Updated by Benjamin Franzke over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 455017030bcf6ac7d972edf11154adfb1e2de025.
Updated by Markus Klein over 5 years ago
- Related to Task #77443: Make "Page is being generated" configurable added