Baloo takes 18Gb in my home...

I didn’t notice slowing caused by baloo, but just now noticed it took 18Gb in the file folder (under .local).

That said, I stopped the index in kde config and the file folder desapeared, so now I can’t anymore see where was all this taken.

Is there a way to restrict the use of baloo? Selecting by folder is a bit raw.

but at first, how is it possible to have such hudge index?

thanks
jdd
openSUSE 13.2 64b

On my machine the proportions are Akonadi: 193; local-mail: 146; baloo: 74.5; so baloo is about half the size of local-mail. It looks as if something is going wrong on your system.

I resetted the search 2 or three hours ago and here what I get in the “file” foilder:


total 7,7G
-rw-r--r-- 1 jdd users  46M  1 févr. 20:40 fileMap.sqlite3
-rw-r--r-- 1 jdd users 128K  1 févr. 20:40 fileMap.sqlite3-shm
-rw-r--r-- 1 jdd users  13M  1 févr. 20:40 fileMap.sqlite3-wal
-rw-r--r-- 1 jdd users    0  2 févr. 00:01 flintlock
-rw-r--r-- 1 jdd users   28  1 févr. 20:39 iamchert
-rw-r--r-- 1 jdd users    0  2 févr. 00:01 ll.txt
-rw-r--r-- 1 jdd users  78K  2 févr. 00:01 position.baseA
-rw-r--r-- 1 jdd users 4,9G  2 févr. 00:01 position.DB
-rw-r--r-- 1 jdd users  19K  2 févr. 00:01 postlist.baseA
-rw-r--r-- 1 jdd users 1,2G  2 févr. 00:01 postlist.DB
-rw-r--r-- 1 jdd users  217  2 févr. 00:01 record.baseA
-rw-r--r-- 1 jdd users  13M  2 févr. 00:01 record.DB
-rw-r--r-- 1 jdd users  10K  2 févr. 00:01 termlist.baseA
-rw-r--r-- 1 jdd users 634M  2 févr. 00:01 termlist.DB


already 7.7Gb!

jdd

You should be able to set what folders you want indexed. DON’T index the whole machine.

I guess I have found the solution here:
https://community.kde.org/Baloo/Configuration#Only_index_Files_Names

for me, index the files names is sufficient, so:

Only index Files Names
[General]
only basic indexing=true

notice the rc file is not in the said place, but in:

.kde4/share/config/baloofilerc

hopefully this will set the baloo indexes much lower

thanks
jdd

You could install the “advanced” baloo settings module:
http://software.opensuse.org/package/baloo_kcm

This is basically a port of the old Nepomuk settings module, which allows to configure the same things.
(the baloo file indexer does support the same options as Nepomuk did, but the KCM got stripped down to the lowest level)

well, I just installed this utility, but it do not show up in the menu (nor in an xterm). May be after restarting kde, but I have a (long) copy operation in work :-). See later.

that said editing a config file is ok for me (but may be not for everybody)

thanks
jdd

It should show up in KDE’s Systemsettings (“Configure Desktop”).
It is a KCM (KDE Configuration Module), not an application on its own.

You can launch it from a shell/xterm via:

kcmshell4 baloofileadv

ok, seen “desktop search advanced” in kde config.

still no mean to restrict at filename search in it.

I’m now at 4Gb for my home

thanks
jdd

No, but you can exactly configure what folders to include and exclude, and you can exclude files matching a certain pattern or filetype (i.e. all the stuff you could configure in Nepomuk’s settings module).

I have no idea whether it will index the file name for excluded files though (if they are in indexed folders, if not they will definitely not be indexed at all).

my problem was to index only the filenames, not the content of the file. I don’t see this option in the utility.

however, baloo takes now around 7Gb and I begin to find this a bit hudge to be only home filename index.

I guess I will go back to locate/updatedb :frowning:

thanks
jdd

Yes, as I said, this particular option is not available (and never was, not even in Nepomuk times).
But maybe excluding all files (via filename patterns or mimetype) might do something similar (I’m not sure whether they will be indexed at all then though, i.e. via basic, filename-only, indexing)

however, baloo takes now around 7Gb and I begin to find this a bit hudge to be only home filename index.

Yes, this indeed seems to be far too much for a filename-only index, unless you really have a lot of files…
I take it those 7GiB are only in the ~/.local/share/baloo/file/ folder?

I never tried that myself I have to admit.

I guess I will go back to locate/updatedb :frowning:

There is a KIO slave for locate, you can use it in Konqueror e.g.:
http://software.opensuse.org/package/kio-locate?search_term=kio-locate

And AFAIK kfind (“Search Files/Folders” in the K-Menu) should use locate/updatedb’s index, i.e. it just runs locate, if the “Use file index” checkbox is enabled.

Yes, the option simply don’t works. mlocate (system wide) index is only 13M!

# ll -h  /var/lib/mlocate/
total 13M
-rw-r--r-- 1 root root 13M  2 févr. 17:14 mlocate.db

I installed the locate kioslave, but have no idea of how to use it.

By the way, even with indexing unactivated, searech works in dolphin (strigi?)
thanks
jdd

Type “locate:search pattern” into Konqueror’s or dolphin’s address field, or into the Alt+F2 dialog (KRunner).

By the way, even with indexing unactivated, searech works in dolphin (strigi?)

Yes. Dolphin falls back to its own search method for unindexed folders, or if indexing is disabled completely.

Btw, strigi is not used at all anymore since KDE 4.10, when Nepomuk got its own indexers (because of problems with strigi).

finally, I guess the “file name only” trick do not works, because baloo filed my (29Gb on 50Gb) home… I had to disabled it completely.

so bad :frowning:

Check out Recoll (in the openSUSE BuildService - KDE:Extra repositories).

I have disabled other searches in favour of it. Like Recoll much better.

Hello All! I also am interested in this baloo issue. Please, for my purposes, simply explain how oh how to just turn this **** thing off!!??
I have googled the dev an other sites; seem this thing is a problem all over the place. On my system, baloo has been running for nearly
2 hours now. I don’t know what ‘semantic search’ is, nor do I care. What I do know is how to use find command if I’ve misplaced something.
Try to use YaST to remove gives dependency/associated files/programs issues I’d rather avoid right now. If I’m wrong, please enlighten me,
but for now it seems the only option is to** reduce** activity in baloo; there is no simply ‘off’ switch? Thanks for your time. Take care.

----rob

https://community.kde.org/Baloo/Configuration

Indexing-Enabled=true -> Indexing-Enabled=false

perhaps? Might need a restart or killing the baloo processes.

Semantic search is indexing the CONTENTS of all the files. This is useful if you deal with a lot of files created by others not so much if you don’t deal with a lot production files. Me I turn it off but you can also restrict the locations that it indexes. Controls are in Configure desktop. I have not figured why they ship the thing on not everyone needs or wants it and if you don’t it it is easy enough to turn on.

I don’t know either, but I do greatly appreciate all the advice; also the link from @miuku. I also have another really old system with a mere 1gb mem that bogs down to stop when this thing runs. I followed the advice and now my hd is cool and quiet again (sys in signature below). I’ve done some checks and apparently alot distros (Arch, Ubuntu + variants, etc.) are experiencing same problem. Will see if solution provided stays fixed. Oh well! We use linux for choice, openSUSE for many elegant choices + sometimes we have to dig for them or ask good forum companions!! Thanks to all. Take Care.
----rob