https://bugs.kde.org/show_bug.cgi?id=358548
Bug ID: 358548 Summary: baloo_file_extractor high CPU and memory usage Product: Baloo Version: unspecified Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: Baloo File Daemon Assignee: m...@vhanda.in Reporter: rgno...@gmail.com CC: pinak.ah...@gmail.com Yesterday, I used Krunner in order to search for a pdf file I downloaded, but it wasn't found. I thought maybe baloo wasn't running, so I typed 'baloo' and an entry named 'File Indexer Monitor' was displayed. I clicked on it, but nothing happened. Shortly afterwards, I noticed the laptop fan was spinning a lot, so I opened KSysGuard and found that baloo_file_extractor was using over 50% CPU, and sometimes it reached 100% CPU usage. Things didn't go better over the minutes, and today I'm experiencing a very similar behaviour. Additionally I found that, when I search for some files stored in my laptop using KRunner, not all of them are being found (it only displays a file if I recently opened it). Reproducible: Always Steps to Reproduce: 1. Download Antergos from https://antergos.com/try-it/ , using the 2015.12.29 i686 iso image. 2. Insltall the system (on virtualbox, for example). 3. Put some files .(pdf, .ods, .odt, .mp3) inside your /home subfolders (for example, /Documents, /Music), and download some other from the web, but do not open any of them. 4. Try to find any of these files by typing their names or file extension in KRunner. 5. Type 'baloo' in KRunner. 6. Click the 'File Indexer Monitor'. 7. Check for baloo_file_extractor CPU usage. Actual Results: Step 4: no results for your files will be displayed. Step 6: the Indexer Monitor window will not appear. Step 7: baloo_file_extractor uses over 50% of your CPU. Sometimes it could reach 100% Expected Results: Step 4: your files should be displayed. Step 6: a window showing the file indexer's current status/activity should be displayed. Step 7: this CPU usage should decrease/stop after a while. 1. I ran baloosearch over the not found files, with no results (only information about elapsed time). 2. I ran balooshow over the not found files, with no results (only a message telling me that no information about the index was found). 3. I ran ps aux | grep baloo_file_extractor, and then ran balooshow over the numbers this command returned. Got an error message (the <<fileID>> is not identical to the Baloo's real <<fileID>>. This is a bug). 4. I typed the name of some of the files I have in my laptop, in KRunner (with and without file extension). I get some results: under an 'Audio' or a 'File' tag (depending on if I typed an .ods, .odt or an .mp3 file name), an icon or a list of icons is displayed, without any additional information alongside. These icons are all the same: small windows with a '?' inside. If I clic on any of them I get this message: wrong URL format. 5. I checked if baloo_file process was running, and it was. Here are the outputs I got from terminal: [roberto@roberto-pc ~]$ ps aux | grep baloo_file_extractor roberto 582 37.0 2.4 1182224 42936 ? RNl 12:58 11:24 /usr/bin/baloo_file_extractor roberto 799 0.0 0.1 4724 2360 pts/1 S+ 13:29 0:00 grep baloo_file_extractor [roberto@roberto-pc ~]$ ps aux | grep baloo_file_extractor roberto 582 37.1 2.4 1182224 42936 ? RNl 12:58 11:43 /usr/bin/baloo_file_extractor roberto 801 0.0 0.1 4724 2288 pts/1 S+ 13:30 0:00 grep baloo_file_extractor [roberto@roberto-pc ~]$ balooshow 582 El «fileID» no es idéntico al «fileID» real de Baloo Esto es un fallo GivenID: 582 ActualID: 0 GivenINode: 0 ActualINode: 0 GivenDeviceID: 582 ActualDeviceID: 0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 37.0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 2.4 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 1182224 El «fileID» no es idéntico al «fileID» real de Baloo Esto es un fallo GivenID: 1182224 ActualID: 0 GivenINode: 0 ActualINode: 0 GivenDeviceID: 1182224 ActualDeviceID: 0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 42936 El «fileID» no es idéntico al «fileID» real de Baloo Esto es un fallo GivenID: 42936 ActualID: 0 GivenINode: 0 ActualINode: 0 GivenDeviceID: 42936 ActualDeviceID: 0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow ? No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 799 El «fileID» no es idéntico al «fileID» real de Baloo Esto es un fallo GivenID: 799 ActualID: 0 GivenINode: 0 ActualINode: 0 GivenDeviceID: 799 ActualDeviceID: 0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 0.0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 0.1 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 4724 El «fileID» no es idéntico al «fileID» real de Baloo Esto es un fallo GivenID: 4724 ActualID: 0 GivenINode: 0 ActualINode: 0 GivenDeviceID: 4724 ActualDeviceID: 0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ balooshow 2360 El «fileID» no es idéntico al «fileID» real de Baloo Esto es un fallo GivenID: 2360 ActualID: 0 GivenINode: 0 ActualINode: 0 GivenDeviceID: 2360 ActualDeviceID: 0 No se ha encontrado información del índice [roberto@roberto-pc ~]$ [roberto@roberto-pc ~]$ balooshow /home/roberto/Servet.pdf No se ha encontrado información del índice [roberto@roberto-pc ~]$ baloosearch pdf Elapsed: 0.407895 msecs [roberto@roberto-pc ~]$ baloosearch Servet Elapsed: 0.965624 msecs [roberto@roberto-pc ~]$ baloosearch Servet.pdf Elapsed: 28.6488 msecs [roberto@roberto-pc ~]$ /home/roberto/Documents/Bases\ de\ Datos/Asignaturas.csv bash: /home/roberto/Documents/Bases de Datos/Asignaturas.csv: Permiso denegado [roberto@roberto-pc ~]$ baloosearch /home/roberto/Documents/Bases\ de\ Datos/Asignaturas.csv Elapsed: 23.2182 msecs [roberto@roberto-pc ~]$ balooshow /home/roberto/Documents/Bases\ de\ Datos/Asignaturas.csv No se ha encontrado información del índice [roberto@roberto-pc ~]$ baloorearch /home/roberto/Documents/Bases\ de\ Datos/Cursos.csv bash: baloorearch: no se encontró la orden [roberto@roberto-pc ~]$ cd [roberto@roberto-pc ~]$ cd /home/roberto/Documents/Bases\ de\ Datos [roberto@roberto-pc Bases de Datos]$ cd .. [roberto@roberto-pc Documents]$ cd .. [roberto@roberto-pc ~]$ baloorearch Tempest bash: baloorearch: no se encontró la orden [roberto@roberto-pc ~]$ baloosearch Tempest Elapsed: 1.17574 msecs [roberto@roberto-pc ~]$ baloosearch mp3 Elapsed: 0.981139 msecs Leaving it marked as 'Major', because Plasma's searching capabilities are a very useful feature of this desktop environment. -- You are receiving this mail because: You are watching all bug changes.