-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Bug]: start-on-windows-boot fills disk with logs #21
Comments
Logs when Distrod is started within Windows Terminal but not auto-started with Windows Startup:
|
Hi, thanks for trying Distrod.
|
Hi Takaya, thanks for your help on Distrod.
|
@jamesianberry Do you see weston crashing in dmesg of WSL? It's writing some kind of stack trace once per second for me. This with enabling auto-starting of WSL with the Windows task scheduler and enabling systemd in WSL. [Thu Nov 11 16:01:23 2021] traps: weston[217761] trap divide error ip:7fec836cc20c sp:7fff0d34cc50 error:0 in rdp-backend.so[7fec836c3000+1b000] |
@aki-k yes, this looks to be the same error my system was getting (see journalctl output above):
I guess the questions are:
|
I don't know if this is the same problem I have but I opened an issue at microsoft/wslg#564 but got no replies. I didn't even think of checking that directory C:\Users\username\AppData\Local\Temp\DiagOutputDir\RdClientAutoTrace on Windows side. |
It looks like this might be tied to the preview version of WSL2 from the store. I uninstalled the preview version of WSL2 from the store and no more logs were being created upon starting any WSL2 instance. I am running windows 22000.493. |
i'm having this issue too and it is kill my ssd |
This solution fixed the problem for me: #50 (comment) |
I got it working |
Describe the bug
Perhaps just on my system, but I had enabled Distrod on Windows startup as a new distribution with the following command:
sudo /opt/distrod/bin/distrod enable --start-on-windows-boot
My Windows system drive was being filled up with thousands of 8MB files in the following directory:
C:\Users\username\AppData\Local\Temp\DiagOutputDir\RdClientAutoTrace
The rapid creation of files stopped once I disabled Distrod on Windows startup with the following commands and then restarted Windows (afterwards, only a few files are created, at least one for each distro started):
sudo /opt/distrod/bin/distrod disable
sudo /opt/distrod/bin/distrod enable
Steps to reproduce
sudo /opt/distrod/bin/distrod enable --start-on-windows-boot
C:\Users\username\AppData\Local\Temp\DiagOutputDir\RdClientAutoTrace
Expected behavior
Distrod starts on Windows startup without thousands of files being created in
C:\Users\username\AppData\Local\Temp\DiagOutputDir\RdClientAutoTrace
Windows version
Microsoft Windows [Version 10.0.22000.348]
Linux kernel version
Linux RAZER 5.10.74.3-microsoft-standard-WSL2 #1 SMP Mon Oct 18 19:27:44 UTC 2021 x86_64 GNU/Linux
Distro
Debian
Logs
additional comment
It looks like the files still get created for every distro started from Windows Terminal but this is at a much lower rate.
I am seeing more than one 8MB file being created per second when Distrod starts on Windows startup
The text was updated successfully, but these errors were encountered: