Luis Capelo
Luis Capelo
> idk if there's some hacky way we can do it from the outside like this maybe? Let me PoC this in the worker. I think it's possible to just...
It turns out that we have a way to configure gvisor to ignore these lingering sockets. We'll go with that solution (see https://github.com/modal-labs/modal/pull/14923) and remove the socket patching.
@thundergolfer no. I'll remove the socket patch and leave the error indicating that connections are open (will prevent snapshotting failures with gVisor stack traces).
I am closing this because after our internal change connections are now forcefully closed but sockets remain open. In the worst-case-scenario programs will fail a timeout because of a request...
We call it memory snapshots now but internally the fields are still called "checkpoint".
I want [this](https://github.com/modal-labs/modal/pull/13084) to land first.
Sounds good. Thank you for letting me know.
Closing because issue has been solved for a while now.