Hibernation not working as expected

0

I have an AWS instance that is correctly set up for hibernation and seemingly hibernation works (it takes much longer to hibernate than to stop and starting from a hibernated state is almost instant). However none of the running services are resumed after resuming hibernation. I have tmux with jupyter and a few other things working, when restarting from a hibernated state they're all terminated. Is there anything we're missing about how hibernation works?

gefragt vor 2 Jahren368 Aufrufe
1 Antwort
0

Two things of note:

First, processes can receive a signal that tells them that the system is going into hibernation. How they react to that is up to them but one possible action is that they terminate.

Second, network connections will most likely be broken when a hibernating instance is resumed because the remote end has timed out and not received any keepalives from the instance. This is probably going to be true for local processes that are communicating with each other via the network (even though the connections are internal) - the kernel will (again, probably) drop them due to timeout. This could cause the symptoms you're seeing.

I'm not sure this is a great answer but it's a possibility.

profile pictureAWS
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen