hundreds-midnight-75494
01/09/2026, 3:49 PMui-backend-service is crashing in loop. It all started yesterday out of the blue, and we thought we had fixed it by stabilizing other parts of the deployments (namely argo workflows related). But this morning, no matter what we have tried (adding requests/limits, replicas, etc) works for us. This exact version 2.5.0 of the image has been running fine with 1 replica since April of 2025, there were no changes to our infra or services 🤯 .
this is what we are seeing there. the pods start, the service starts, connects to the db, we start seeing a few "normal requests" then we see the CPU getting pegged to 1 vcpu (single thread?), then after a minute or so (our probes) it just kills it and it comes back again. this is the error message that happens right before the pod gets rescheduled:
2026-01-09T15:40:59.899Z metaflow-ui-backend-service | INFO:aiohttp.access:35.191.238.164 [09/Jan/2026:15:40:59 +0000] "GET /api/ping HTTP/1.1" 200 0 "-" "GoogleHC/1.0"
2026-01-09T15:40:59.899Z metaflow-ui-backend-service | INFO:aiohttp.access:35.191.243.6 [09/Jan/2026:15:40:59 +0000] "GET /api/ping HTTP/1.1" 200 0 "-" "GoogleHC/1.0"
2026-01-09T15:40:59.899Z metaflow-ui-backend-service | INFO:aiohttp.access:35.191.238.163 [09/Jan/2026:15:40:59 +0000] "GET /api/ping HTTP/1.1" 200 0 "-" "GoogleHC/1.0"
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ERROR:aiohttp.server:Error handling request from 35.191.82.178
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | Traceback (most recent call last):
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | resp = await request_handler(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_app.py", line 569, in _handle
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | return await handler(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ^^^^^^^^^^^^^^^^^^^^^^
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | return await handler(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ^^^^^^^^^^^^^^^^^^^^^^
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | return await handler(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ^^^^^^^^^^^^^^^^^^^^^^
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/root/services/ui_backend_service/api/ws.py", line 179, in websocket_handler
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | await ws.prepare(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_ws.py", line 215, in prepare
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | payload_writer = await super().prepare(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_response.py", line 453, in prepare
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | return await self._start(request)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_response.py", line 461, in _start
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | await self._write_headers()
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/web_response.py", line 538, in _write_headers
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | await writer.write_headers(status_line, self._headers)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/http_writer.py", line 167, in write_headers
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | self._write(buf)
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | File "/opt/latest/lib/python3.11/site-packages/aiohttp/http_writer.py", line 93, in _write
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | raise ClientConnectionResetError("Cannot write to closing transport")
2026-01-09T15:40:59.901Z metaflow-ui-backend-service | aiohttp.client_exceptions.ClientConnectionResetError: Cannot write to closing transporthundreds-midnight-75494
01/09/2026, 4:07 PMbillions-memory-41337
01/09/2026, 4:42 PMhundreds-midnight-75494
01/09/2026, 4:55 PMhundreds-midnight-75494
01/09/2026, 6:13 PMhundreds-midnight-75494
01/09/2026, 9:57 PMhundreds-midnight-75494
01/12/2026, 10:25 PMhundreds-midnight-75494
01/13/2026, 2:41 PMhundreds-rainbow-67050
01/13/2026, 6:50 PMancient-application-36103
01/14/2026, 12:50 AMwitty-kite-4505
02/12/2026, 8:51 PM