Skip to content

Port proliferation while remote debugging -- kills remote server! #169182

Closed
microsoft/vscode-js-debug
#1495
@SomervilleTom

Description

Even a brief debugging session using VS Code on a robust AWS EC2 instance running Rocky Linux 8.6 causes a proliferation of "TIME-WAIT" ports -- I counted 89 after the brief session described below.

The result is that the target system frequently becomes inaccessible (I can't tell whether it runs out of memory, runs out of ports, or something else happens). The result is that I have to restart the target system from the AWS EC2 console.

This happens much more frequently now than it did a few months ago.

Type: Bug

  1. Open VS Code
  2. Connect to remote system using "Remote SSH"
  3. Navigate to React application on remote system
  4. Start React application ('yarn start')
  5. Click button in React application (opens a new browser tab)
  6. Wait for React application to handle changes
  7. Exit React application

VS Code version: Code 1.74.0 (5235c6b, 2022-12-05T16:38:16.075Z)
OS version: Windows_NT x64 10.0.18363
Modes:
Sandboxed: No
Remote OS version: Linux x64 4.18.0-425.3.1.el8.x86_64
Remote OS version: Linux x64 4.18.0-372.32.1.el8_6.x86_64

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (4 x 3522)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: unavailable_off
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 7.81GB (4.54GB free)
Process Argv
Screen Reader no
VM 100%
Item Value
Remote SSH: tms-desktop
OS Linux x64 4.18.0-425.3.1.el8.x86_64
CPUs 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 x 4468)
Memory (System) 31.04GB (18.90GB free)
VM 0%
Item Value
Remote SSH: byron.zeetix.com
OS Linux x64 4.18.0-372.32.1.el8_6.x86_64
CPUs Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (4 x 2499)
Memory (System) 15.27GB (0.98GB free)
VM 0%
Extensions (4)
Extension Author (truncated) Version
remote-ssh ms- 0.94.0
remote-ssh-edit ms- 0.84.0
remote-explorer ms- 0.0.3
json Zai 2.0.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

debtCode quality issuesdebugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions