Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is the baloo file indexer doing?

120 views
Skip to first unread message

Volker Wysk

unread,
Dec 19, 2014, 1:40:03 PM12/19/14
to
Hi!

Is there a way to tell, what the baloo file indexer is doing in the background?
It runs and runs, and I'm wondering, how much longer the indexing will take.

Cheers
Volker


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/1694581.dkDxfLKo3U@debian

Keian Rao Eng Haau

unread,
Dec 19, 2014, 4:00:03 PM12/19/14
to
Have you tried the verbose argument?

I've never heard of baloo file indexer, but chances are, it has a -v option. If you haven't, try turning that on, if it exists.

David González

unread,
Dec 19, 2014, 11:40:02 PM12/19/14
to
Hello,

You can check if its status if it's indexing anything with "balooctl
status" which should return something similar to this:

$ balooctl status
Baloo File Indexer is running
Indexed 385822 / 385822 files

It might as well be just idling/waiting for something to happen. If it
isn't consuming any resources (hogging CPU/RAM) I would think everything
might be okay.

Cheers,
David
Archive: https://lists.debian.org/5494FB30...@gmail.com

Martin Steigerwald

unread,
Dec 20, 2014, 4:50:02 AM12/20/14
to
Am Freitag, 19. Dezember 2014, 19:33:35 schrieb Volker Wysk:
> Hi!

Hi Volker,

> Is there a way to tell, what the baloo file indexer is doing in the
> background? It runs and runs, and I'm wondering, how much longer the
> indexing will take.

Several ways:

1) Stop the baloo_file process and start it on a konsole tab, you see its
activity there then. A balooctl restart on a Konsole may do the trick as well.

2) Run kdebugdialog and activate debug for baloo_file, then run tail -f
~/.xsession errors – This works as well, it may need a restart of Ballo file
indexer tough.

3) With an running baloo_file process on the fly:

strace -e stat -p $(pgrep baloo_file) 2>&1 | grep -v "share/baloo"

if you want to see a bit more than use -e open


So check whether a file is index you can try balooshow command:

martin@merkaba:~> echo "Bla" > hallo
martin@merkaba:~> balooshow hallo
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal
org::freedesktop::UPower::DeviceRemoved(QString)
426864 /home/martin/hallo
martin@merkaba:~> rm hallo


You can always create a file like this to test whether any of the three ways to
above to watch baloo works for you.

Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/1427186.tqdoytVrX5@merkaba

Volker Wysk

unread,
Dec 20, 2014, 11:10:02 AM12/20/14
to
It can be suspended and resumed in "Desktop Search Advanced" in the system
settings. I'm not starting it from the command line.

But this is an idea.

Cheers
Volker


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/1735861.yYIsj4jV4r@debian

Volker Wysk

unread,
Dec 20, 2014, 11:20:02 AM12/20/14
to
Am Samstag, 20. Dezember 2014, 00:29:36 schrieb David González:
> Hello,
>
> You can check if its status if it's indexing anything with "balooctl
> status" which should return something similar to this:
>
> $ balooctl status
> Baloo File Indexer is running
> Indexed 385822 / 385822 files

Yes, this is what I was looking for.

> It might as well be just idling/waiting for something to happen. If it
> isn't consuming any resources (hogging CPU/RAM) I would think everything
> might be okay.

It's still running, having indexed only one fourth of my files.

Thnx
Volker


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/2887482.E74nGznVW3@debian

Volker Wysk

unread,
Dec 20, 2014, 12:10:04 PM12/20/14
to
Am Samstag, 20. Dezember 2014, 10:48:01 schrieb Martin Steigerwald:
> Am Freitag, 19. Dezember 2014, 19:33:35 schrieb Volker Wysk:
> > Hi!
>
> Hi Volker,
>
> > Is there a way to tell, what the baloo file indexer is doing in the
> > background? It runs and runs, and I'm wondering, how much longer the
> > indexing will take.
>
> Several ways:
>
> 1) Stop the baloo_file process and start it on a konsole tab, you see its
> activity there then. A balooctl restart on a Konsole may do the trick as
> well.

"balooclt restart" works fine.


> 2) Run kdebugdialog and activate debug for baloo_file, then run tail -f
> ~/.xsession errors – This works as well, it may need a restart of Ballo file
> indexer tough.

I get the messages on the console.


> 3) With an running baloo_file process on the fly:
>
> strace -e stat -p $(pgrep baloo_file) 2>&1 | grep -v "share/baloo"
>
> if you want to see a bit more than use -e open

Yes, this works. I can see which files are being indexed, by calling "strace -e
trace=file -p ...".


> So check whether a file is index you can try balooshow command:

This works as well.


Thanx for your help!

Volker


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/3542039.iG84cROA4b@debian

Martin Steigerwald

unread,
Dec 20, 2014, 12:40:02 PM12/20/14
to
Am Samstag, 20. Dezember 2014, 18:04:05 schrieb Volker Wysk:
> > 2) Run kdebugdialog and activate debug for baloo_file, then run tail -f
> > ~/.xsession errors – This works as well, it may need a restart of Ballo
> > file indexer tough.
>
> I get the messages on the console.

This one may work without restarting baloo. :)

--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/1887010.Hu9miGIj3f@merkaba

Michael Schuerig

unread,
Dec 20, 2014, 7:00:03 PM12/20/14
to
On Saturday 20 December 2014 18:38:49 Martin Steigerwald wrote:
> Am Samstag, 20. Dezember 2014, 18:04:05 schrieb Volker Wysk:
> > > 2) Run kdebugdialog and activate debug for baloo_file, then run
> > > tail -f ~/.xsession errors – This works as well, it may need a
> > > restart of Ballo file indexer tough.
> >
> > I get the messages on the console.
>
> This one may work without restarting baloo. :)

What *I* am seeing there right now is endlessly repeated entries like
this

baloo_file(28519) Baloo::FileIndexingJob::start: ("299868")

The argument in parentheses is *always* the same. Also, when I grep
running processes, I see that baloo_file_extractor is indeed called with
the argument 299868. Which doesn't make sense because according to its
--help text, it expects a URL.

I've only been looking into this because after a reboot, after 10 days
without one, baloo seem to be twiddling its thumbs with high intensity
and no discernible purpose. strace output[*] indicates that while baloo
and subprocesses does open a lot of files, there not one among them that
would make sense to index.

Baloo works a lot better than nepomuk ever did, however, I'm still
hesitant to reboot or start a new KDE session as that is when things
tend to go weird.

baloo is 4:4.14.2-1 on an up-to-date sid.

Michael

[*] strace -f -p `pidof baloo_file` -e trace=open 2>&1 | egrep -v '.kde|
\.local|kdeglobals|/lib|/etc|/usr|/var|/dev|SIGCHLD'

--
Michael Schuerig
mailto:mic...@schuerig.de
http://www.schuerig.de/michael/


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/1508815.iDJeFMxWj5@fuchsia
0 new messages