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.