werft icon indicating copy to clipboard operation
werft copied to clipboard

Unresponsive Web UI after enabling garbage collection.

Open ArthurSens opened this issue 2 years ago • 2 comments

Describe the bug After enabling garbage collection in one of our Werft installations, the WebUI became unresponsive after 30~40 minutes.

We noticed errors when the Web UI performed the ListJobs method.

Meanwhile, we also noticed the lack of logs being emitted

To Reproduce Start a Werft instance with the configuration from this PR.

Expected behavior

  • Web UI to continue being responsive
  • Logs regarding garbage collection being emmited

ArthurSens avatar Apr 27 '22 08:04 ArthurSens

let's schedule https://github.com/gitpod-io/ops/issues/1358 again when this issue is fixed.

meysholdt avatar May 09 '22 06:05 meysholdt

I can't really reproduce the issue. I took a DB dump from werft.gitpod-dev.com and tried to replicate the problem. Everything works as expected.

It might be the logs (see linked PR), or some lock in the DB. Next time we try and enable GC, I'd like to look at the DB and see if there's a problem.

csweichel avatar May 12 '22 17:05 csweichel