Debian Bug report logs - #612242
tracker: Really high CPU Usage and Memory Leak

version graph

Package: tracker; Maintainer for tracker is Michael Biebl <biebl@debian.org>; Source for tracker is src:tracker.

Reported by: Deniz Akcal <denbian@live.com>

Date: Mon, 7 Feb 2011 02:39:01 UTC

Severity: important

Found in version tracker/0.8.17-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, denbian@live.com, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Mon, 07 Feb 2011 02:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Deniz Akcal <denbian@live.com>:
New Bug report received and forwarded. Copy sent to denbian@live.com, Michael Biebl <biebl@debian.org>. (Mon, 07 Feb 2011 02:39:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Deniz Akcal <denbian@live.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tracker: Really high CPU Usage and Memory Leak
Date: Sun, 06 Feb 2011 21:36:57 -0500
Package: tracker
Version: 0.8.17-1
Severity: grave
Justification: renders package unusable

I was trying to figure out why my computer is super slow to the point that I have to do a hard reboot to have it useable again and I found the "tracker-store" process to use 90-100% CPU (I think when it
shouldn't be due to pausing or something) but more prominently I watch (with gnome-system-monitor) the memory increase from around 5MB to over 3GB! The uptime on the time before typing this was 16 minutes
and I had to kill the process so that my computer can be useable.

If more information is needed, just ask.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tracker depends on:
ii  dbus                   1.2.24-4          simple interprocess messaging syst
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libdbus-1-3            1.2.24-4          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.88-2.1          simple interprocess messaging syst
ii  libglib2.0-0           2.27.5-1          The GLib library of C routines
ii  libpango1.0-0          1.28.3-1+squeeze1 Layout and rendering of internatio
ii  libsqlite3-0           3.7.3-1           SQLite 3 shared library
ii  libtracker-client-0.8- 0.8.17-1          metadata database, indexer and sea
ii  libtracker-miner-0.8-0 0.8.17-1          tracker data miner library
ii  libunac1               1.8.0-2           The unac programming library - run
ii  libupower-glib1        0.9.5-5           abstraction for power management -
ii  libuuid1               2.17.2-9          Universally Unique ID library
ii  shared-mime-info       0.71-4            FreeDesktop.org shared MIME databa
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages tracker recommends:
ii  tracker-gui                   0.8.17-1   metadata database, indexer and sea
ii  tracker-miner-evolution       0.8.17-1   metadata database, indexer and sea
ii  tracker-miner-fs              0.8.17-1   metadata database, indexer and sea
ii  tracker-utils                 0.8.17-1   metadata database, indexer and sea

tracker suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#612242; Package tracker. (Mon, 07 Feb 2011 02:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. (Mon, 07 Feb 2011 02:51:03 GMT) Full text and rfc822 format available.

Message #10 received at 612242@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: Deniz Akcal <denbian@live.com>, 612242@bugs.debian.org
Subject: Re: Bug#612242: tracker: Really high CPU Usage and Memory Leak
Date: Mon, 07 Feb 2011 03:47:20 +0100
[Message part 1 (text/plain, inline)]
severity 612242 important
thanks

On 07.02.2011 03:36, Deniz Akcal wrote:

> 
> I was trying to figure out why my computer is super slow to the point that I have to do a hard reboot to have it useable again and I found the "tracker-store" process to use 90-100% CPU (I think when it
> shouldn't be due to pausing or something) but more prominently I watch (with gnome-system-monitor) the memory increase from around 5MB to over 3GB! The uptime on the time before typing this was 16 minutes
> and I had to kill the process so that my computer can be useable.

How big is your home directory? How big is your tracker index (~/.cache/tracker)?
Does it help, if you tell tracker to nuke the existing db and restart fresh
(tracker-control -r). You might create a copy of ~/.cache/tracker and ~/.local/

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Severity set to 'important' from 'grave' Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Mon, 07 Feb 2011 02:51:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Fri, 06 Apr 2012 18:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thanasis Kinias <tkinias@kinias.org>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@debian.org>. (Fri, 06 Apr 2012 18:33:02 GMT) Full text and rfc822 format available.

Message #17 received at 612242@bugs.debian.org (full text, mbox):

From: Thanasis Kinias <tkinias@kinias.org>
To: 612242@bugs.debian.org
Subject: Same issue
Date: Fri, 6 Apr 2012 11:02:32 -0700
I have similar issues with tracker on a MacBook Pro (Core2 Duo CPU, 2GB
RAM, amd64 arch).  When the miner runs, it will use close to 100% of
both CPU cores.  More critically, there are memory leak problems.  When
I am not paying attention to the memory usage, the multitude of tracker
processes keep growing until there is 100% memory usage and I have to
halt the machine.

I just killed a bunch of zombie processes that in total were using over
1GB of RAM.

Home directory is ~100GB; the tracker index is ~500MB.

I have not yet tried nuking the DB because I don’t want to encourage it
to start rebuilding, since it makes the computer so unresponsive.  I’ll
try it overnight.

-- 
Thanasis Kinias
Faculty Adjunct, Chandler–Gilbert Community College
Phoenix, Arizona
.
Je ne viens d’aucun pays, d’aucune cité, d’aucune tribu.  Je suis fils de la
route, ma patrie est caravane, et ma vie la plus inattendue des traversées.
  —Amin Maalouf, _Léon l’Africain_




Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Thu, 12 Apr 2012 16:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thanasis Kinias <tkinias@kinias.org>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@debian.org>. (Thu, 12 Apr 2012 16:45:03 GMT) Full text and rfc822 format available.

Message #22 received at 612242@bugs.debian.org (full text, mbox):

From: Thanasis Kinias <tkinias@kinias.org>
To: 612242@bugs.debian.org
Subject: Also in i386
Date: Thu, 12 Apr 2012 09:44:10 -0700
Just wanted to update that I am seeing similar behaviour on an i386
system.  I just killed 24 zombie tracker processes 40 minutes after
booting the system; they were using a total of ~256MB of memory.


-- 
Thanasis Kinias
Faculty Adjunct, Chandler–Gilbert Community College
Phoenix, Arizona
.
Je ne viens d’aucun pays, d’aucune cité, d’aucune tribu.  Je suis fils de la
route, ma patrie est caravane, et ma vie la plus inattendue des traversées.
  —Amin Maalouf, _Léon l’Africain_




Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Mon, 16 Apr 2012 00:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@debian.org>. (Mon, 16 Apr 2012 00:33:03 GMT) Full text and rfc822 format available.

Message #27 received at 612242@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: 612242@bugs.debian.org
Subject: Re: Bug#612242: Same issue
Date: Mon, 16 Apr 2012 09:31:09 +0900
Hello,

I experience similar problems, which started after upgrading to wheezy one or
two weeks ago.  The ~/.cache/tracker and ~/.local directories contained 1,2G
and 50M respectively.  I deleted them and within a few days they grew back to
1,1G and 37M.

Judging from the ouptut of the 'top' command, tracker did not exhaust memory
(2G, no swap) and CPU (dual 2.00GHz).  But the IO stress it puts on the machine
is enough to render it almost unusable, as for instance even the mouse pointer
is sometimes completely frozen.  Parallel daily cron jobs started at boot time,
for instance running apt-get updates, probably aggravate the IO stress a lot.

I am currently having tracker 0.14.0-2.

Cheers,

-- 
Charles Plessy
Tsusumi, Kanagawa, Japan




Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Sun, 17 Jun 2012 23:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@debian.org>. (Sun, 17 Jun 2012 23:21:03 GMT) Full text and rfc822 format available.

Message #32 received at 612242@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: 612242@bugs.debian.org
Subject: Re: Bug#612242: Same issue
Date: Mon, 18 Jun 2012 08:16:22 +0900
Le Mon, Apr 16, 2012 at 09:31:09AM +0900, Charles Plessy a écrit :
> 
> I experience similar problems, which started after upgrading to wheezy one or
> two weeks ago.  The ~/.cache/tracker and ~/.local directories contained 1,2G
> and 50M respectively.  I deleted them and within a few days they grew back to
> 1,1G and 37M.
> 
> Judging from the ouptut of the 'top' command, tracker did not exhaust memory
> (2G, no swap) and CPU (dual 2.00GHz).  But the IO stress it puts on the machine
> is enough to render it almost unusable, as for instance even the mouse pointer
> is sometimes completely frozen.  Parallel daily cron jobs started at boot time,
> for instance running apt-get updates, probably aggravate the IO stress a lot.

Hello again,

on the same machine, I replaced my whole home directory by a fresh one.  This
solved the problem for a bit more than one month, but tracker came back
blocking my computer this morning.  Its version is now 0.14.1-1+b1.

The only solution I found for the moment is to purge tracker with dpkg --force.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan




Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Tue, 14 Aug 2012 10:54:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Pepping <spepping@leverkruid.eu>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@debian.org>. (Tue, 14 Aug 2012 10:54:03 GMT) Full text and rfc822 format available.

Message #37 received at 612242@bugs.debian.org (full text, mbox):

From: Simon Pepping <spepping@leverkruid.eu>
To: 612242@bugs.debian.org
Subject: tracker: Really high CPU Usage and Memory Leak solved by correcting locales
Date: Tue, 14 Aug 2012 12:36:07 +0200
I had similar problems, which started after I changed my system from
i386 to amd64. I also had locale problems, because my .xsession
specified locales which I had not generated. After reconfiguring my
locales in a consistent way, the tracker problems disappeared.

Best, Simon

-- 
Simon Pepping



Information forwarded to debian-bugs-dist@lists.debian.org, Michael Biebl <biebl@debian.org>:
Bug#612242; Package tracker. (Sat, 20 Jul 2013 03:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Michael Biebl <biebl@debian.org>. (Sat, 20 Jul 2013 03:51:04 GMT) Full text and rfc822 format available.

Message #42 received at 612242@bugs.debian.org (full text, mbox):

From: Charles Plessy <plessy@debian.org>
To: 612242@bugs.debian.org
Subject: Re: Bug#612242: Same issue
Date: Sat, 20 Jul 2013 12:46:38 +0900
Le Mon, Jun 18, 2012 at 08:16:22AM +0900, Charles Plessy a écrit :
> 
> on the same machine, I replaced my whole home directory by a fresh one.  This
> solved the problem for a bit more than one month, but tracker came back
> blocking my computer this morning.  Its version is now 0.14.1-1+b1.
> 
> The only solution I found for the moment is to purge tracker with dpkg --force.

Just for the record, I re-installed Debian (Wheezy) on the same machine after
replacing the mechanical hard drive with a solid-state disk, and I do not
observe any problem at the moment.  I can not tell if the key difference is the
absence of configuration cruft, the performance improvement, or the smaller
quantity of data on the drive.

Have a nice week-end,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 23:29:15 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.