Markdown throws a 502 (still occurring)
Summary
Customer has reported that when using blockquotes or more than 23 full code quotes then the markdown page will timeout.
This looks very closely related to #48269 (closed) however the customer is using 11.1.2 and the issue is still reproduceable on GitLab.com
Example markdown can be seen here
Steps to reproduce
Create a new file in a repo and include the contents shared in the previous section.
Example Project
https://gitlab.com/amulvany/support-issues/blob/master/test-markdown/test-markdown.md
What is the current bug behavior?
Circle spins until timeout.
What is the expected correct behavior?
Markdown should display
Relevant logs and/or screenshots
Time out from unicorn_stderr.log:
E, [2018-08-01T07:08:42.650969 #24462] ERROR -- : worker=1 PID:24609 timeout (61s > 60s), killing
Gitlab-workhorse.log:
2018-08-01_07:07:39.48952 amulvany-latest @ - - [2018/08/01:07:07:39 +0000] "GET /root/test/blob/master/test-markdown/test-markdown.md?format=json&viewer=rich HTTP/1.1" 502 2916 "https://amulvany-latest/root/test/blob/master/test-markdown/test-markdown.md" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" 19.241
gitlab-access.log:
[01/Aug/2018:07:08:42 +0000] "GET /root/test/blob/master/test-markdown/test-markdown.md?format=json&viewer=rich HTTP/2.0" 502 2916 "https://amulvany-latest/root/test/blob/master/test-markdown/test-markdown.md" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
Strangely didn't see anything in the production.log which makes me think the browser cannot process the markdown.
Output of checks
This bug happens in GitLab.com, and my local instance 11.1.2