-
Notifications
You must be signed in to change notification settings - Fork 18
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
High CPU and disk write usage on Linux Mint 21.3 #144
Comments
That's very strange. Except for when accepting Taildrop files or modifying settings in the preferences page, Trayscale doesn't write to the disk at all. Maybe it's related to #135 and however it's being started is directly attaching stdout/stderr to a file on disk, hence why it's attributing it to the process. That also seemed to be a Mint-specific problem. Can you check to see if a log is filling up somewhere? Also, do you have Taildrop enabled? |
Good idea, I'll check for growing logs next time it happens. I'm now thinking it may happen when I leave my laptop running for multiple days in the office. I have Suspend and WiFi power saving disabled when plugged-in, but maybe something similar? Or the Cinnamon DE misbehaving? Also, I haven't enabled Taildrop. I'll try to reproduce the issue and update here if I find anything. Cheers! |
Trayscale currently logs an error every time it polls if Taildrop isn't on, which is every five seconds by default. It's something I'm planning on fixing in the near future, but there's a good chance that that's the cause. Edit: This has now been fixed by #149. |
Thanks! ☕️ I saw the update come through yesterday. I'll let you know if this is an issue in future. |
I've just had this happen again (or at least something similar). I had my laptop running overnight, just locked screen and left it running. This morning when I unlocked, there was a warning about low storage space and computer crippled. So I had to reboot. I found an enormous log file in my home drive:
Here's the first 300 lines of this log, showing where this starts: xsession-errors-old_head_output.txt This is a bit beyond me, so not sure if this is a Tailscale, Trayscale, Flatpak, or Cinnamon issue? |
Hmmm... Looks like Trayscale couldn't find the The most likely cause is that |
The first lines when it stopped working are
And then that last line repeats for hundreds of lines. That makes it look to me like Trayscale was connected to the daemon and then suddenly lost the connection, probably because of the daemon crashing. That caused an |
So, there is a bug that causes a retry on a failure to get the network status from Unfortunately, this seems to just be a problem with the way Mint has its logging configured and there isn't that much that I can do about it besides manually logging to a file somewhere. You can fix it by adding a |
Thanks for looking into this. I'll see how I go, and add the I suspect the connection losses may be related to internet outages which exacerbates things - I've recently been experiencing increased Starlink interruptions and outages. |
I've noticed high CPU and disk write recently. Not sure exactly when this started, but I noticed my laptop fan spinning up a lot lately and found TrayScale was using a lot of resources.
Screenshot of System Monitor:
When it's doing this, I can't open/maximise it from the systray menu > Show (nothing appears), and when I quit with systray menu > Quit, the systray icon disappears, but the process keeps running.
So I End the process in System Monitor and re launch, and
Then upon reopening, it is much better behaved - Screenshot:
TrayScale Flatpak:
System specs:
The text was updated successfully, but these errors were encountered: