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

There are always empty folders like wslxxx in my wsl root directory. #10690

Closed
1 of 2 tasks
aihao2000 opened this issue Oct 27, 2023 · 11 comments
Closed
1 of 2 tasks

There are always empty folders like wslxxx in my wsl root directory. #10690

aihao2000 opened this issue Oct 27, 2023 · 11 comments

Comments

@aihao2000
Copy link

Windows Version

Microsoft Windows [Version10.0.22621.2428]

WSL Version

WSL 版本: 1.2.5.0 内核版本: 5.15.90.1 WSLg 版本: 1.0.51 MSRDC 版本: 1.2.3770 Direct3D 版本: 1.608.2-61064218 DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows 版本: 10.0.22621.2428

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

默认分发: Ubuntu 默认版本: 2

Distro Version

Release: 22.04

Other Software

No response

Repro Steps

Empty folders such as wslxxx always appear automatically in my wsl root directory. I don't know how it is triggered and why it occurs.

Expected Behavior

No inexplicable files such as wslxxx appear

Actual Behavior

Every once in a while, many empty folders of wslxxx will appear.
image

Diagnostic Logs

No response

@houhuawei23
Copy link

houhuawei23 commented Oct 28, 2023

same as you:

WSL Version: 2.0.4.0
Kernel Version: 5.15.123.1-1
WSLg Version: 1.0.58
MSRDC Version: 1.2.4485
Direct3D Version: 1.608.2-61064218
DXCore Version: 10.0.25880.1000-230602-1350.main
Windows Version: 10.0.25982.1000

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 31, 2023

Thanky ou @aihao2000. Can you share /logs of a repro (start the logs when the wsl* folder doesn't exist, reproduce the issue where it's created, and stop log collection ? )

@houhuawei23
Copy link

Thanky ou @aihao2000. Can you share /logs of a repro (start the logs when the wsl* folder doesn't exist, reproduce the issue where it's created, and stop log collection ? )

here is my log:

image

WslLogs-2023-11-02_11-21-07.zip

@aihao2000
Copy link
Author

@OneBlue Can the above log be used to troubleshoot the problem? The problem I created with wslxxx does not occur very frequently, and it may take a long time to reproduce.

@aihao2000
Copy link
Author

@OneBlue Another person seems to have the same bug as me. He recorded the log and provided it. Is there any way to troubleshoot the problem?

@rickywu
Copy link

rickywu commented Nov 15, 2023

I have the same problem, using wsl2

@OneBlue
Copy link
Collaborator

OneBlue commented Dec 4, 2023

Unfortunately I'm not seeing anything in the logs they shared. Just checking, if you delete all the wsl* folders, then run wsl --shutdown and start wsl again, do you still see these folders ?

@rickywu
Copy link

rickywu commented Dec 5, 2023

@OneBlue No, maybe need to see for a while, folders latest updated is Aug 30

@aihao2000
Copy link
Author

@OneBlue wsk* can be deleted, but requires root privileges

@Lokdal
Copy link

Lokdal commented Mar 8, 2024

Same issue here as well

@YYSFHBQ
Copy link

YYSFHBQ commented Dec 12, 2024

Unfortunately I'm not seeing anything in the logs they shared. Just checking, if you delete all the wsl* folders, then run wsl --shutdown and start wsl again, do you still see these folders ?

I reproduced this problem. After running wsl --shutdown, reopen Ubuntu in the terminal and close the session window before the terminal displays any content, multiple empty folders named wslxxxxxx will be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants