IssueRaiser

Remote VSCode over SSH crashes EC2 instance

Issue Type: <b>Bug</b> I've been attempting to use the new remote VSCode feature to work with a project stored on an AWS EC2 instance. Each time I use it, it works fine for a few hours. Eventually, the whole instance stops responding. AWS indicates that the instance is unresponsive in the control panel, and I have to force-stop it. The screenshot/log feature on AWS doesn't show anything. Once I boot the instance back up, there's nothing in the logs--they just cut off at the time the instance stopped responding. I wish I had more information to give you, but I'm at a loss of how to troubleshoot this. Other notes: * If I leave htop or top open, when the instance finally crashes, there's no indication of anything unusual. Plenty of memory, etc. * VSCode complained about `fs.inotify.max_user_watches` being too low when I first started using it remotely. I increased it per VSCode's instructions and confirmed that it took effect. The warning went away, but the crashes still happen. * Even if I disconnect from the remote session, the instance will still crash. * Instance type: t3a.micro * Region: us-east-1 <details><summary>lsb_release -a</summary> <pre> No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan </pre> </details> <details><summary>cat /proc/cpuinfo</summary> <pre> % cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 23 model : 1 model name

Posted by Zenexer on Apr 2, 2020, 11:08 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

reliability (Other)

Remote VSCode over SSH crashes EC2 instance

ZenexerApr 2, 2020, 11:08 PM

Issue Type: <b>Bug</b> I've been attempting to use the new remote VSCode feature to work with a project stored on an AWS EC2 instance. Each time I use it, it works fine for a few hours. Eventually, the whole instance stops responding. AWS indicates that the instance is unresponsive in the control panel, and I have to force-stop it. The screenshot/log feature on AWS doesn't show anything. Once I boot the instance back up, there's nothing in the logs--they just cut off at the time the instance stopped responding. I wish I had more information to give you, but I'm at a loss of how to troubleshoot this. Other notes: * If I leave htop or top open, when the instance finally crashes, there's no indication of anything unusual. Plenty of memory, etc. * VSCode complained about `fs.inotify.max_user_watches` being too low when I first started using it remotely. I increased it per VSCode's instructions and confirmed that it took effect. The warning went away, but the crashes still happen. * Even if I disconnect from the remote session, the instance will still crash. * Instance type: t3a.micro * Region: us-east-1 <details><summary>lsb_release -a</summary> <pre> No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan </pre> </details> <details><summary>cat /proc/cpuinfo</summary> <pre> % cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 23 model : 1 model name

Comments (0)

No comments yet. Start the discussion.

Comment on this issue