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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠