-
Notifications
You must be signed in to change notification settings - Fork 43
Connecting to vsock sometimes times out #124
Comments
I tried adding a retry and it looked it the issue was solved, so maybe we can do that for the time being. In the future, the virtsock library could be changed to have a |
I was talking to Dexuan, and the underlying issue of the timeouts could potentially be a vsock bug. He said timeouts should only occur when:
These scenarios seem unlikely, although I suppose not impossible. When we get another repro (I'm suddenly unable to get any), we can look in the syslog and see if there's any obvious error output there. We can mask the error with the retries in the meantime if we need, of course, just FYI that the error could be something in the vsock/hvsock implementation itself. |
Yeah, it makes sense if it's a vsock bug. The timeout happens way too quickly to be a real timeout. |
More than happy to take patches to the virtsock go bindings if that helps. |
A temporary workaround (#133) has been merged to master and Rolf also has a similar workaround in his fork. I'm keeping this issue open until the underlying vsock/hvsock driver is fixed. |
When running a process and trying to connect to stdio, we can get the following stack trace:
The timeout occurs in the virtsock library. If we want to be able to configure the timeout ourselves, it might make sense for virtsock to have some way of exposing sockopts, so we could set timeout there. Another potential option is just retrying on timeout in the GCS.
The text was updated successfully, but these errors were encountered: