Registered Member
|
I've just upgraded to Kubuntu 14.10 with KDE 4.12.95. For about the last 12 hours, baloo-file has been using up 100% of a CPU core.
Is this just initial indexing? It's been going for a bit longer than I expected. Thinking that I might speed it up, I attempted to migrate nepomuk data across. However, after running `nepomukbaloomigrator` I was told `Data already migrated. Quitting` (and then it crashed).
Last edited by sparhawk on Mon Apr 07, 2014 12:46 pm, edited 3 times in total.
|
Administrator
|
Can you use the lsof utility to see if the baloo-file process is still accessing the same file?
If so, it may be hung indexing the same file. Also, try checking to see if the PID is staying the same, or changing constantly - if it is changing then that is indicative that it is crashing.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hmm… it actually stopped after working hard for 12–24 hours. I killed it a few times when my fan got annoying, so I suspect that the pid was constant..
Thanks anyway for the help. |
Registered Member
|
Hm… so it's doing it again. I was having a look at system settings, and noticed that my home folder was excluded from "Desktop Search". I enabled it, and baloo_file started using 100% of a core again.
It seems to be the same pid (for the last 20 minutes). There are a few other processes called baloo_file_extractor that are also active. lsof gives me many files, so I'm not sure what I should be looking at:
However, I saved the lsof output to a file, then compared the output from a few minutes later. Both outputs were identical. ==EDIT== From /var/log/kern.log:
==EDIT2== Someone else sees it too. |
Administrator
|
Can you please check the PID of the baloo_file_extractor processes, as well as the arguments passed to them?
If they are restarting extremely frequently, then this could explain the high CPU usage. In terms of the crashes, those are in libxapian, are you able to gather a backtrace somehow? If DrKonqi is not being launched, you may need to enable core files, and generate a backtrace from one of them. This backtrace will allow us to verify that the Xapian libraries are at fault.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
See also https://bugs.kde.org/show_bug.cgi?id=333133
Which exact version of xapian are you using? |
KDE Developer
|
I've fixed the baloo_file at 100% problem, and the relevant code for the xapian crash has been refactored. It should no longer crash.
|
Registered Member
|
Thanks for that. I'd actually dispaired and disabled baloo with "Hidden=True" in baloo_file.desktop, but I'll reenable it when the fix comes through. Cheers. |
Registered Member
|
What release is the fix going out in?
|
Administrator
|
4.13 final should have it.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
I'm running KDE 4.13 on Kubuntu 14.04 and I have baloo using 100% of a cpu core as well. I killed it after 15 min or so.
Chris. |
Administrator
|
Is it like the original problem, where the 100% CPU usage is due to segfaults? If not, please open a separate thread about this issue.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
KDE Developer
|
This is a new issue that has cropped up. It seems we are using newer features of Xapian which are causing the database to get corrupted.
The only way to fix it now is to run - $ balooctl disable $ balooctl enable This will reset the database and restart it. |
Registered Member
|
vHanda, are you replying to chrisvdb (from ten months ago), or to all of us? Are you saying that chrisvdb should reset/restart the database if they are still experiencing 100% CPU usage, or are you saying that all of us should reset/restart it, because of other problems? |
Registered Member
|
Hola!
I found the cause, in my case, was causing the use of 100% of a CPU. Was the ~ / .xsession-errors file which is permanently growing and writing tons of debug information. I deleted that file and the problem disappeared. Now all I need to know is why that file is logging so many details of the session. Apparently it's a problem for baloo when it finds files that are continually updated. Kubuntu 15.04 fresh install + dist-update Best regards. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]