Build logs display page is not refreshing at build end. Browser freeze. High cpu usage on gitlab host.
Summary
Builds page with big logs (output_limit inscreased on runner) never reload when build has ended. The page wants to reload (red loading bar on top) but never succeed.
Using the network tab of my browser I can see 2 requests ran each seconds:
- a trace.json request with a 200 status code and a json response with state = success.
- a request for /build/<build_id> which has no status code and a empty response (OB)
The browser is freezing, and the gitlab host is running with high load. If I use 2 browsers to display current build logs, the CPUs of the gitlab host are even more loaded.
We are a small team, if few devs are looking at their build logs, when pages are not reloading, 4 CPUs are at 100% and a simple git fetch takes ages to respond.
Steps to reproduce
We run build with many logs thanks to maven.
Expected behavior
The page should refresh and the end of the build
Actual behavior
The page is trying to reload without success
What types of logs could be relevant ?