| Summary: | plasmashell hangs on system start with high disk usage | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | joway21271 |
| Component: | generic-performance | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
joway21271
2025-03-19 15:41:52 UTC
Does this happen in a new clean user account as well? Or only in your normal user account? I've created a new account and I think you are right, it doesn't seem to happen there. What are my next steps would be to determine the problem with my original account? Two options: 1. Go back to your normal user account and undo any customizations you made to it one at a time until you find out which one caused it. 2. In the new user account, replicate the customizations you made to your normal user account one at a time until you find out which one caused it. (In reply to Nate Graham from comment #3) > Two options: > 1. Go back to your normal user account and undo any customizations you made > to it one at a time until you find out which one caused it. > 2. In the new user account, replicate the customizations you made to your > normal user account one at a time until you find out which one caused it. The problem is I don't really have any complicated customization. Floating panel, Weather Widget (bug happens with or without it) and some txt files on my desktop. I can't think of anything else. What configuration file(s) can I purge that relate to plasmashell? plasma-org.kde.plasma.desktop-appletsrc? Anything else? Removing plasma-org.kde.plasma.desktop-appletsrc didn't help, issues still happens. At this point I think it would be best if you asked your distro to help debug it, if you aren't able to pinpoint it yourself. So, since I was not sure which config file is broken I went and bisected whole .config folder until I found the culprit. The problematic file was kactivitymanagerdrc. As far as I can tell it simply has a hash and a name of the activity. I assume something is wrong with the original activity then. The only things that changed with this newly generated file are the positions of text files on my desktop, sticky note dissaperance and different wallpaper. I assume all those things are saved in this original activity. I truly have no idea how any of these can lead to the behaviour described in this bug report. Are those settings saved in sqlite db here? .local/share/kactivitymanagerd I'll try to dig deeper later to understand the root cause of this. I wonder if simple sticky note can cause such strange results. Alright, so sticky note and other things I listed have nothing to do with this. appletsrc file was overwritten somehow, they are not related to kactivitymanagerd. Opening the kactivitymanagerd database I can see that it has around 1 mln entries for ResourceScoreCache and ResourceEvent tables combined. I figured all of those are recent files history. Checked the settings and it has keep history forever. I guess plasmashell was querying all of those entries on start ocasionally. Not sure if it's default on storing them forever or I changed it myself somehow and forgot about it. Cleared the history and set it to 1 month. Hope this doesn't come back and maybe it helps someone else. |