Bug 421042

Summary: Dolphin causes high (23%) CPU load, if gvfsd-fuse (encfs) is needed.
Product: [Applications] dolphin Reporter: Alexander <cookie170>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fabian, kfm-devel, nate
Priority: NOR    
Version: 20.04.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander 2020-05-05 07:40:04 UTC
SUMMARY

Dolphin causes high (23%) CPU load, if gvfsd-fuse (encfs) is needed.

openSUSE, Tumbleweed, up to date. 

/home is encrypted with LUKS. Inside /home is an encrypted folder. Encryption by encfs.

STEPS TO REPRODUCE
1. open dolphin, go to /home/user/Dokumente/Encrypted while the encfs folder is mounted. (encfs /home/user/Dokumente/.encryted /home/user/Dokumente/Encrypted )
2. open files, wait for some time
3. without an obvious reason, CPU load increases a lot and in TOP you'll see that dolphin and gvfsd-fuse are the culprits. 

The CPU of about 23% load on this machine here won't go down; dolphin / gvfsd-fuse will consume CPU load for hours. 

This bug exists at least since November 2019. I've been asking about this here: https://forums.opensuse.org/showthread.php/538402-Dolphin-25-CPU-when-in-encrypted-(encfs)-file-system w/o answer.

Operating System: openSUSE Tumbleweed 20200501
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Kernel Version: 5.6.6-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-5600U CPU @ 2.60GHz
Memory: 7,5 GiB


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Fabian Vogt 2020-05-05 13:50:38 UTC
> gvfsd-fuse (encfs)

Those are two totally unrelated things - the former is used by GNOME for some I/O with non-GNOME applications.

Maybe you have GNOME's tracker or Baloo indexing the encfs volume?
Comment 2 Alexander 2020-05-05 16:40:06 UTC
(In reply to Fabian Vogt from comment #1)
> > gvfsd-fuse (encfs)
> 
> Those are two totally unrelated things - the former is used by GNOME for
> some I/O with non-GNOME applications.
> 
> Maybe you have GNOME's tracker or Baloo indexing the encfs volume?

But right now (dolphin closed), gvfsd-fuse doesn't consume any cpu time, only if the issue with dolphin inside the encfs folder occurs.

My file ~/.config/baloofilerc includes the entry

exclude folders[$e]=$HOME/.kencfs2/.encrypted/

so baloo won't try to index encrypted files. 

Besides this, any activity by baloo would be listed in TOP! If baloo were the culprit, I'd have seen baloo file extractor and the like, but not here!
Comment 3 Nate Graham 2020-05-05 16:51:56 UTC

*** This bug has been marked as a duplicate of bug 406810 ***