osparc-simcore icon indicating copy to clipboard operation
osparc-simcore copied to clipboard

Projects are open but not tracked in Redis

Open GitHK opened this issue 1 year ago • 2 comments

How does this appear to users?

This presents itself as services being closed by the garbage collector. Usually the sidecars starts and as soon as it's reported healthy it's shut down (or shortly after). Service will close as expected and report as "idle" in the interface.

What is actually happening?

At the time of the investigation the user had a project open and a study running. I was able to verify this in Portainer.

We can see the "alive" has a TTL of almost 900s, which means that the frontend is connected. Screenshot 2024-06-25 at 15 56 32

Here we notice the actual issue. There is no project_id listed in the resources below. This will cause the garbage collector to correctly close the service.

Screenshot 2024-06-25 at 15 55 07

Feedback from the user

Q: What happened?

A: It happened I think twice that it was in a state where I didn't know if it is still alive (eg I closed my laptop in "MEETING_ROOM" and walked over to my office -> ?, or the study closed because I let it sit idle for too long) I then closed the browser tab and opended a new tab with "DEPLYMENT_ADDRESS". I did not have to log in again. created a new study in the new tab. Browser is Chrome on MacOS

GitHK avatar Jun 26 '24 12:06 GitHK

Happened today to @newton1985 on both osparc.io/sim4life.io

sanderegg avatar Jul 04 '24 14:07 sanderegg

@giancarloromeo at this points i guess you are familiar with this logic, so I leave this issue fully to you. If you still have questions let me know.

pcrespov avatar Mar 10 '25 10:03 pcrespov