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?

demandé il y a 2 ans368 vues
1 réponse
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
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions