https://bugs.kde.org/show_bug.cgi?id=379739
Bug ID: 379739
Summary: insane baloo_file (and plasmashell) 256 GB virtual
memory size
Product: frameworks-baloo
Version: 5.33.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Baloo File Daemon
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I'm running Fedora 25 KDE spin on an 8GB Thinkpad T460 laptop with SSD. Its fan
got loud, so I ran htop, found Firefox at 99% CPU, and closed it. But I noticed
some insane VIRT(ual memory sizes) for plasmashell and baloo_file, 261G and
256G! The output of `top` is below (.255 terabytes of virtual memory!), you can
see the laptop has plenty of RAM free and isn't even swapping. baloosearch
works fine.
I futzed around in /proc/<pid_of_baloo_file> and in /proc/1454/smaps I found a
possible smoking gun:
7f6150000000-7fa150000000 r--s 00000000 fd:03 133792
/home/spage/.local/share/baloo/index
Size: 268435456 kB
Rss: 667868 kB
That 268 GB size for baloo/index is obviously wrong (it's bigger than my entire
SSD), its actual size is 684468K. The plasmashell process's smaps file has a
similar entry for baloo_index, same huge size. balooctl reports the right size:
% balooctl status
Baloo File Indexer is running
Indexer state: Indexing file content
Indexed 290638 / 290638 files
Current size of index is 668.43 MiB
Bug 378749 seems similar, but doesn't mention the baloo_file process.
Maybe this is related to bug 371878 . It might suggest a bug in the way
baloo_file and plasmashell handle the baloo_index file is handled. Or it could
be a meaningless glitch. I've never created a .255 terabyte process before :-)
- - - -
`top` output:
Tasks: 205 total, 1 running, 200 sleeping, 3 stopped, 1 zombie
%Cpu(s): 4.3 us, 1.7 sy, 0.6 ni, 92.5 id, 0.2 wa, 0.3 hi, 0.4 si, 0.0 st
KiB Mem : 8038468 total, 443528 free, 2164324 used, 5430616 buff/cache
KiB Swap: 6402044 total, 6402044 free, 0 used. 5172720 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1459 spage 20 0 0.255t 285740 150876 S 5.9 3.6 26:20.73 plasmashell
1454 spage 39 19 0.251t 811336 686360 S 0.0 10.1 28:25.88 baloo_file
1448 spage 20 0 3375068 116400 68672 S 0.0 1.4 37:56.80 kwin_x11
16487 spage 20 0 3080924 446576 135028 S 0.0 5.6 9:06.60 firefox
--
You are receiving this mail because:
You are watching all bug changes.