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?

已提問 2 年前檢視次數 368 次
1 個回答
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
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南