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

Orphaned .vscode-server/data/User/workspaceStorage folder #183883

Closed
jmbraben opened this issue May 30, 2023 · 2 comments
Closed

Orphaned .vscode-server/data/User/workspaceStorage folder #183883

jmbraben opened this issue May 30, 2023 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@jmbraben
Copy link

Type: Bug

It is unclear when/how this happens (that is most of the problem).
We have many developers using vscode remotely on developement servers, and we are continually seeing what appears to be "orphaned" cache folders. We can tolerate the 3~4Gb for ms-vscode.cpptools, but not when this gets multiplied by many orphaned copies...in the below user's case, we have 8x copies (7x appear to be abandoned). This happened over a period of 2x months (multiply this by 20x developers and longer period of time and you can see this is completely unmanageable).

  • Under what conditions does vscode abandon these cache folders? Are the conditions known?
  • Why does vscode not clean up unused cache folders?

...a du -h -d 1 on .vscode-server/data/User/workspaceStorage yields

3.2G .vscode-server/data/User/workspaceStorage/6d15a92db9aaac284f71f7736073f359-1/ms-vscode.cpptools
3.2G .vscode-server/data/User/workspaceStorage/6d15a92db9aaac284f71f7736073f359/ms-vscode.cpptools
2.6G .vscode-server/data/User/workspaceStorage/83925440bff307a389af34f8301cfd5c-1/ms-vscode.cpptools
2.6G .vscode-server/data/User/workspaceStorage/83925440bff307a389af34f8301cfd5c/ms-vscode.cpptools
3.1G .vscode-server/data/User/workspaceStorage/e600ecbfa6d5aba7d8d762492e13a6f9-1/ms-vscode.cpptools
4.5G .vscode-server/data/User/workspaceStorage/e600ecbfa6d5aba7d8d762492e13a6f9/ms-vscode.cpptools
3.8G .vscode-server/data/User/workspaceStorage/ed73aeb16a45f608920b44007cac3c25/ms-vscode.cpptools
26G    .vscode-server/data/User/workspaceStorage

synworker@RTPFLEXBUILD2:~$ ls -la .vscode-server/data/User/workspaceStorage
drwxr-xr-x 1 reaadmin reaadmin 36 Apr 3 19:29 2251e3c6f476e634f88dd51ab1c70040
drwxr-xr-x 1 reaadmin reaadmin 0 Mar 27 22:59 2251e3c6f476e634f88dd51ab1c70040-1
drwxr-xr-x 1 reaadmin reaadmin 58 Apr 3 20:46 6d15a92db9aaac284f71f7736073f359
drwxr-xr-x 1 reaadmin reaadmin 36 Mar 27 22:59 6d15a92db9aaac284f71f7736073f359-1
drwxr-xr-x 1 reaadmin reaadmin 36 Apr 19 15:28 83925440bff307a389af34f8301cfd5c
drwxr-xr-x 1 reaadmin reaadmin 58 Apr 5 17:40 83925440bff307a389af34f8301cfd5c-1
drwxr-xr-x 1 reaadmin reaadmin 58 May 30 21:39 e600ecbfa6d5aba7d8d762492e13a6f9
drwxr-xr-x 1 reaadmin reaadmin 36 May 9 19:05 e600ecbfa6d5aba7d8d762492e13a6f9-1
drwxr-xr-x 1 reaadmin reaadmin 36 May 10 17:25 ed73aeb16a45f608920b44007cac3c25

VS Code version: Code 1.78.2 (b3e4e68, 2023-05-10T14:47:05.613Z)
OS version: Linux x64 5.19.0-41-generic
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 5.15.0-71-generic

System Info
Item Value
CPUs AMD Ryzen 5 5600G with Radeon Graphics (12 x 3936)
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: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 0, 0
Memory (System) 62.18GB (43.68GB free)
Process Argv --unity-launch --crash-reporter-id 7227b282-ec2c-4b6b-a1ad-188983cc9ca0
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Item Value
Remote Coder: jonbrabender∕dev-0526
OS Linux x64 5.15.0-71-generic
CPUs AMD Ryzen 9 5900X 12-Core Processor (24 x 2200)
Memory (System) 62.70GB (17.56GB free)
VM 0%
Extensions (12)
Extension Author (truncated) Version
better-comments aar 3.0.2
coder-remote cod 0.1.18
debug-tracker-vscode mcu 0.0.15
jupyter-keymap ms- 1.1.0
remote-containers ms- 0.292.0
remote-ssh ms- 0.102.0
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.78.8
vscode-remote-extensionpack ms- 0.24.0
remote-explorer ms- 0.4.0
remote-server ms- 1.1.0
linkerscript Zix 1.0.3
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyonecf:30548226
vscccc:30610679
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
57b77579:30736110
pythonfmttext:30731395
pythoncmv:30739700
fixhidewlkth:30730051
pythongtdpathcf:30739705

@bpasero
Copy link
Member

bpasero commented May 31, 2023

/duplicate #32461

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label May 31, 2023
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants