summaryrefslogtreecommitdiff
path: root/posts/librem5-tracker-store-high-cpu.rst
blob: 175ac7966d4d29dcb507bdeca1d1056071f51fb6 (plain)
    1 Librem 5: Tracker Store High CPU
    2 ================================
    3 
    4 Today I reflashed my Librem 5 Evergreen with a "beta" (unofficial status I
    5 think) of the upcoming Byzantium release. I noticed very quickly that my phone
    6 was getting pretty warm (44 °C / 111 °F according to the sensors). With that, I
    7 went looking to see what might be causing the mischief.
    8 
    9 And guess what? I was able to because this phone is running pure linux!
   10 
   11 A quick look at `htop` and `ps` (again, because **I can**), and I found that a
   12 service named ``tracker-store`` was consistently consuming between about 60%
   13 and 100% of one of my cores. I looked it up. It turns out that the ``tracker``
   14 utils are a set of programs that exist to index the filesystem and metadata
   15 (which to be honest I don't want, but it's part of gnome I believe).
   16 
   17 A little digging and I happened upon `this StackExchange
   18 <https://unix.stackexchange.com/questions/482390/usr-lib-tracker-tracker-store-causes-very-heavy-cpu-load-on-debian-buster>`_
   19 question that said to run the following to fix things.
   20 
   21 .. code-block:: sh
   22 
   23   tracker reset --hard
   24 
   25 Sure enough, that did the trick! According to ``powertop`` (because yet again,
   26 **I can**) my CPU is consuming about 400-800 mW during idle at around 35-37 °C
   27 / 97-99 °F.
   28 
   29 Thanks Purism!

Generated by cgit