Bug 197026

Summary: Huge disk load when login (kdeinit4)
Product: [Unmaintained] kdelibs Reporter: Bob K <metamorfozis>
Component: kdeinitAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bob K 2009-06-18 16:25:14 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

Loaded plugins:
The desktop is in folder view mode, so it shows my desktop.

During login my disk always working hard, and the login looks like waiting for it to finish it's job.

Once i have switched to tty, and checked the problem. In htop there was some kdeinit4 instance. I have straced them, and i saw that it calls stat64() and lstat64() all of my files under ~/Desktop (recursively). Which is a big problem, because i have a lot of files.

Quote from the strace:
Process 6227 attached - interrupt to quit
stat64("*oneofmyfiles*", {st_mode=S_IFREG|0755, st_size=2441819, ...}) = 0
stat64("*oneofmyfiles*", {st_mode=S_IFREG|0755, st_size=2146645, ...}) = 0
stat64("*oneofmyfiles*", {st_mode=S_IFREG|0755, st_size=2258464, ...}) = 0


Just to demonstrate the weight of the problem:
meta@meeeta:~$ cat kdeinit4strace | grep 'stat64("/home/meta/Desktop/' | wc --lines
35010


I think it is reproducible if you put a ton of files on your desktop. Maybe the folderview causes this?


Other info, that maybe irrelevant:
- i have enabled the previews of files/folders in the folderview. (But i think this is not a reason for more than 2 level of recursion and to scan every files)
Comment 1 Bob K 2009-06-18 16:55:48 UTC
I have tried out to switch desktop back to normal desktop (not folderview), and the problem still here.
Comment 2 Bob K 2009-08-19 22:32:46 UTC
The problem is still present:

Qt: 4.5.2
KDE: 4.3.00 (KDE 4.3.0)
kde4-config: 1.0


Any news about this?
Comment 3 Andrew Crouthamel 2018-11-02 23:04:32 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-16 05:22:18 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 5 Justin Zobel 2022-12-08 23:51:19 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 6 Bug Janitor Service 2022-12-23 05:22:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-01-07 05:25:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!