-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Is it okay to simply close a connection in the TCP_CLOSE state upon restore? #2286
Comments
@rst0git I am aware of this option, but my understanding is that it will close all TCP connections regardless of their states. In my scenario, I want to keep all the active TCP connections as they are all through the loopback device (127.0.0.1). For the connections in TCP_CLOSE state, we are okay to have them closed upon restore, hence the question. |
Based on the comment below, it seems to be a bug when we even try to call Lines 195 to 197 in 711775f
Lines 498 to 501 in 711775f
Can you confirm if we expect a closed connection to ever go through |
A friendly reminder that this issue had no activity for 30 days. |
Here, we see the AF_INET6 socket, but the address 0.0.0.0 is ipv4. It may be a dual-stack socket. |
@aegiryy do you have any clue how this socket has been created? |
A friendly reminder that this issue had no activity for 30 days. |
Description
We hit the following error when restoring a TCP connection:
What we observed is that the connection is already in the
TCP_CLOSE
state. So, instead of restoring it, can we simply close the connections upon restore? Would it leave any side effect that is noticeable to the restored application?Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
CRIU logs and information:
CRIU full dump/restore logs:
Output of `criu --version`:
Output of `criu check --all`:
The text was updated successfully, but these errors were encountered: