← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2113499] Re: localsearch-3 using a lot of cpu for a long time

 

Oh, interesting failure. It'll probably be a pain to reproduce, though.

My guess is that this service is what powers the desktop search.

For ease of reproduction, how did you download the video? My naïve
approach of simply `cp`-ing a video file into that directory doesn't
trigger the issue:

❯ cp /tmp/720p_unterleuten-trailer-zur-mini-serie.mp4
"$HOME/Videos/Criança entra em carro elétrico de exposição e bate em
loja dentro de shopping em SP [13664065].temp.mp4" ; sleep 30 ; rm
"$HOME/Videos/Criança entra em carro elétrico de exposição e bate em
loja dentro de shopping em SP [13664065].temp.mp4"

I tried triggering it multiple times with varying durations.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to tracker-miners in Ubuntu.
https://bugs.launchpad.net/bugs/2113499

Title:
  localsearch-3 using a lot of cpu for a long time

Status in tracker-miners package in Ubuntu:
  Incomplete

Bug description:
  All of a sudden, my laptop's fan spun up and stayed like that.
  Checking the process tree, I see these two processes using a lot of
  cpu:

     5373 andreas   39  19  885984  37112  19604 S  76,4   0,2  27:30.28 /usr/libexec/localsearch-3
    18590 andreas   39  19 1392512 110408  56520 R  38,5   0,7  13:55.53 /usr/libexec/localsearch-extractor-3 --socket-fd 3

  Just typing journalctl -f fills the screen with these:

  3%A7%C3%A3o%20e%20bate%20em%20loja%20dentro%20de%20shopping%20em%20SP%20%5B13664065%5D.temp.mp4' finished with error: Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:52:25 nsnx localsearch-3[18590]: (localsearch-extractor-3:18590): Tracker-WARNING **: 10:52:25.284: Could not get mimetype, Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:52:25 nsnx localsearch-3[18590]: (localsearch-extractor-3:18590): Tracker-WARNING **: 10:52:25.285: Task for 'file:///home/andreas/Videos/Crian%C3%A7a%20entra%20em%20carro%20el%C3%A9trico%20de%20exposi%C3%A7%C3%A3o%20e%20bate%20em%20loja%20dentro%20de%20shopping%20em%20SP%20%5B13664065%5D.temp.mp4' finished with error: Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:52:25 nsnx localsearch-3[18590]: (localsearch-extractor-3:18590): Tracker-WARNING **: 10:52:25.287: Could not get mimetype, Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:52:25 nsnx localsearch-3[18590]: (localsearch-extractor-3:18590): Tracker-WARNING **: 10:52:25.290: Task for 'file:///home/andreas/Videos/Crian%C3%A7a%20entra%20em%20carro%20el%C3%A9trico%20de%20exposi%C3%A7%C3%A3o%20e%20bate%20em%20loja%20dentro%20de%20shopping%20em%20SP%20%5B13664065%5D.temp.mp4' finished with error: Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:52:25 nsnx localsearch-3[18590]: (localsearch-extractor-3:18590): Tracker-WARNING **: 10:52:25.292: Could not get mimetype, Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:52:25 nsnx localsearch-3[18590]: (localsearch-extractor-3:18590): Tracker-WARNING **: 10:52:25.293: Task for 'file:///home/andreas/Videos/Crian%C3%A7a%20entra%20em%20carro%20el%C3%A9trico%20de%20exposi%C3%A7%C3%A3o%20e%20bate%20em%20loja%20dentro%20de%20shopping%20em%20SP%20%5B13664065%5D.temp.mp4' finished with error: Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory

  That video file is one I downloaded, kept for a minute or less, and
  then deleted. Maybe that raced with this "tracker" who is now very
  confused why that file isn't there anymore?

  Eventually I killed the parent PID (5373), and this was the end of the
  logs:

  jun 08 10:54:13 nsnx localsearch-3[21634]: (localsearch-extractor-3:21634): Tracker-WARNING **: 10:54:13.882: Task for 'file:///home/andreas/Videos/Crian%C3%A7a%20entra%20em%20carro%20el%C3%A9trico%20de%20exposi%C3%A7%C3%A3o%20e%20bate%20em%20loja%20dentro%20de%20shopping%20em%20SP%20%5B13664065%5D.temp.mp4' finished with error: Error when getting information for file “/home/andreas/Videos/Criança entra em carro elétrico de exposição e bate em loja dentro de shopping em SP [13664065].temp.mp4”: No such file or directory
  jun 08 10:54:13 nsnx systemd[4617]: localsearch-3.service: Consumed 43min 53.741s CPU time, 137.6M memory peak.

  
  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: tracker-extract 3.8.2-4
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  Uname: Linux 6.14.0-15-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.32.0-0ubuntu5.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jun  8 10:49:53 2025
  InstallationDate: Installed on 2024-05-20 (384 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  SourcePackage: tracker-miners
  UpgradeStatus: Upgraded to plucky on 2025-02-09 (119 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tracker-miners/+bug/2113499/+subscriptions



References