Registered Member
|
Hi,
Baloo never stops running on my laptop when on AC (I could let it run a whole night over my mere 10GB that it won't stop):
I would gladly give more intel, but since balooctl is not documented (see here). Cheers! EDIT: I dealt with file ID "18804" (a .ttf file). Still the same issue:
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
Administrator
|
Could you please observe Baloo in operation using top, htop or System Activity/KSysguard and see the commands that Baloo is invoking to index the files? I suspect the indexer is crashing.
You could also try tailing ~/.xsession-errors to see if anything useful is output there.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
After dealing with an "unindexable" file, running
Unplug the laptop, put it to sleep, wake it up, run
Plug the laptop, it's all back in order:
So yeah, back in order, though I will not be able to reproduce. (Shouldn't it cry somewhere visible when it crashes/fails instead of having me look into it?)
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
Registered Member
|
Back to first situation, except this time it doesn't fail to index any file. Check the screenshot for a I/O graph. When I/O first drops and lies to 0, it's right after I stopped baloo.
http://wstaw.org/m/2014/07/16/plasma-desktopB17149.png Also, it uses tremendous amount of CPU for plain nothing since it will just loop on the last files for ever. Also, it is quite fortunate actually that it only happens when on AC. Else, KDE would indeed be the energy-hungry monster many people (wrongly?) believe it is.
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
Administrator
|
Can you use "lsof" to determine which files it is attempting to continuously index?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Here is the output of
http://ix.io/dt4 If you can make sense of it, please do. Also I can't understand why there is absolutely no usable tool to baloo. I mean, why should I try to mine some trash data and hope to find something useful? Don't get me wrong: indexing is promising and is a sweet feature. However, finding the "current file being indexed" should not require me to use a third party tool, cross-validating my data and checking some other configs too. This must be integrated within balooctl. Else, it really just is some on/off switch.
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
KDE Developer
|
Hi. This may be an interesting read - https://community.kde.org/Baloo/Debugging
Please provide the following information - * Is the baloo_file_extractor process running? If it is please check the file numbers it is running on and run balooshow on them. * What do you mean by there is no usable tool for baloo? Use Dolphin or KRunner or Milou or command line tools such as baloosearch. What exactly are you missing? In general, yes, I agree we could improve our tooling to detecting which files are being indexed. I've been thinking about adding a debug mode which users can enable which till inform them about the average time and IO usage per file type. If you're on 5.0, `balooctl fileStatistics` does reveal information about which kind of files are consuming the most space in the index. |
Registered Member
|
Finally something that makes sense and is easy! It is running on my IRC logs (pretty awful because they change a lot). I am unsure about what to do now: should I disable indexing the logs...? I meant a configuration utility: the one in systemsettings is only an "opt-out" selection tool, balooctl which is an on/off switch and balooshow which has only one use.
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
KDE Developer
|
What are the filenames of the IRC logs? With Baloo we have had problems with very high IO when indexing files with larges number of words. With 13.1, we explicitly disabled indexing all files with the mimetype 'text/plain' unless the name ended with a '.txt'. This is a temporary solution until we fix the high IO usage.
As a fun exercise, could you please tell me what all tools you would want out of Baloo? Feel free to let your imagination run wild. |
Registered Member
|
1 file has > 1M words and 7 have > 500k. There should be one only GUI tool to:
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
KDE Developer
|
Hmm. The file should not be getting indexed if it ends with '.log'. What is its mimetype? |
Registered Member
|
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
KDE Developer
|
$ file --mime-type <fileUrl> ? |
Registered Member
|
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
KDE Developer
|
This makes no sense. If it is "text/plain" it should not be indexed unless it ends with a .txt. What version of KDE are you on? |
Registered users: Bing [Bot], Google [Bot], YaCy [Bot], Yahoo [Bot]