Skip to content
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

Feature Request: Shutdown remote server after disconnect #10205

Closed
t1u1 opened this issue Sep 1, 2024 · 6 comments
Closed

Feature Request: Shutdown remote server after disconnect #10205

t1u1 opened this issue Sep 1, 2024 · 6 comments
Assignees
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH

Comments

@t1u1
Copy link

t1u1 commented Sep 1, 2024

After disconnecting from a remote, it would be good to shutdown remote servers automatically. These services consume several Gigs of RAM, so it isn't ideal to have them running around for long.

If there was a way to configure the shutdown period, that would be nice. Then people who need the servers lingering can keep a high timeout value. While those who would like to conserve memory on the remote can set a lower timeout.

@vs-code-engineering vs-code-engineering bot added the ssh Issue in vscode-remote SSH label Sep 1, 2024
@joshspicer joshspicer added the feature-request Request for new features or functionality label Dec 17, 2024
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Dec 17, 2024
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 10 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@joshspicer
Copy link
Member

Thanks for the idea. This kind of action might be better performed by the user outside of Remote - SSH extension (I am assuming from context you're using that extension). You didn't mention what platform you are on, but here's an idea on linux on how you could accomplish what you're looking for.

@t1u1
Copy link
Author

t1u1 commented Dec 17, 2024

Indeed, I am using Remote-SSH extension, and logging into a minimal but persistent Linux container.

Killing the remote server in an outside script has the problem that if a user logs out from a terminal session, it might kill a server that is still connected to VSCode.

@t1u1
Copy link
Author

t1u1 commented Dec 17, 2024

It looks like #440 achieves the same thing as this request (with a small timeout). If so, you can close this issue.

Copy link

This feature request has not yet received the 10 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding

Copy link

🙁 In the last 60 days, this feature request has received less than 10 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

3 participants