https://bugs.kde.org/show_bug.cgi?id=490928

--- Comment #2 from robakjos...@gmail.com ---
(In reply to tagwerk19 from comment #1)
> (In reply to robakjoshua from comment #0)
> > Operating System: openSUSE Tumbleweed 20240726
> Tumbleweed implies you are running with BTRFS? Or at least there's a strong 
> likelihood....

Yes

> Simple stuff first, how big is your .local/shared/baloo/index file?

Do note that I temporarily disabled file indexing and deleted my previously
indexed data, but I do remember it being around the same size as it is now. So
this is my current index size after re-enabling it.

josh@localhost:~> balooctl6 status
Baloo File Indexer is running
Indexer state: Idle
Total files indexed: 498,609
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 440.40 MiB

> and what happens if you do a command line search for a file you know you've 
> indexed?
>     $ baloosearch6 -i "one-of-your-files.txt"

Here's a couple searches

josh@localhost:~> baloosearch6 -i "Notes.txt"
8bc5f70cdda6 /home/josh/Documents/Notes.txt
f187ff70cdda6
/home/josh/.local/share/Steam/ubuntu12_32/steam-runtime.old/usr/share/doc/libtbb2/Release_Notes.txt.gz
175649f70cdda6
/home/josh/.local/share/Steam/ubuntu12_32/steam-runtime/usr/share/doc/libtbb2/Release_Notes.txt.gz
Elapsed: 0.300704 msecs

josh@localhost:~> baloosearch6 -i "baloo_bug_report.txt"
541257f70cdda6 /home/josh/Documents/baloo_bug_report.txt
Elapsed: 0.295343 msecs

So it doesn't look like I'm getting duplicates for the same file.

> Purge the index and start afresh...

See above.

> Add folder exclusions for ".cache" and ".local/share/Trash", maybe
> ".mozilla" if you have it, and also ".snapshots". Watch out specifically for
> the last. You might not be snapshotting into your Home folder, but if you
> are, and Baloo is indexing it, that's bad news!

Good idea, I think you're onto something. It's possible that it got stuck in a
loop indexing one of those directories or files. Thankfully, my .snapshots are
not saved in my home directory, which is the only directory I have indexed.

This is what my .config/baloofilerc looks like now:

[General]
dbVersion=2
exclude
filters=*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found
exclude filters version=9
exclude folders[$e]=$HOME/.cache,$HOME/.local/share/Trash,$HOME/.mozilla
index hidden folders=true

> See if you see files being indexed with "balooctl6 monitor"

Yeah, it's working normally now. Hopefully it stays that way.

> Sorry, this is a hurried response before going offline for a couple of weeks
> and contains guesswork. Should be able to reply again mid August...

Thank you for timely response. I am looking forward to your next reply.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to