Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 15:25:11 -0500
From:      "James Snyder" <jbsnyder@gmail.com>
To:        gnome@freebsd.org
Subject:   sysutils/tracker: 100% CPU Usage Problem
Message-ID:  <33644d3c0706011325k6d3b3bb8yd3ac1e26d6633121@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi -

I've recently compiled tracker support into nautilus (latest ports as of
today), and I've been running into a problem that I'm finding difficult to
debug/track down.

Whenever the indexer starts it goes to 100% usage of one of my CPUs (Athlon
X2 machine), but it doesn't appear to be doing anything. I've attached a run
of it with verbosity at 2, including an attempt to break (ctrl-C) at which
point the cpu usage continues and trackerd becomes totally unresponsive.

The only way I've found to prevent it from hanging up is to turn off
indexing in trackerd.cfg.  I've tried this with an existing account I've
been working out of and another separate one for testing to see if it was
just some random file in my home directory, same response.  Any clues or
ideas?  I've put a pastebin entry up for the truss output (with-debug-code
was enabled) of simply starting it and leaving it running for a few minutes
(without attempting a break): http://pastebin.ca/519459

[jsnyder@Hippo /usr/home/jsnyder]$ trackerd --verbosity=2


Tracker version 0.5.4 Copyright (c) 2005-2006 by Jamie McCracken
(jamiemcc@gnome.org
)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which
can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
setting stopword list for language code en
Using stemmer for language b

Tracker configuration options :
Low memory mode :                       no
Indexing enabled :                      yes
Watching enabled :                      yes
File content indexing enabled :         yes
Thumbnailing enabled :                  no
Evolution email indexing enabled :      no
Thunderbird email indexing enabled :    no
K-Mail indexing enabled :               no

Tracker indexer parameters :
Indexer language code :                 en
Minimum index word length :             3
Maximum index word length :             30
Stemmer enabled :                       yes
Using Pango word breaking :             no


Setting watch directory roots to:
/home/jsnyder

Setting no watch directory roots to:
/usr/home/jsnyder
/home/jsnyder

Using Sqlite version 3.3.8
Loading prepared queries...
File loaded in  0.000000 ms
initialising the indexer
Opening index /home/jsnyder/.Tracker/databases/Files
Bucket count (max is 524288) is 294908 and Record Count is 0
preferred bucket count is 0
starting database closure for thread main
Database closed for thread main
starting database closure for thread main
Database closed for thread main
Checking tracker DB version...Current version is 15 and needed version is 13
updating database stats...please wait...
-----------------------
Fetching index stats...
Total entities indexed : 0
-----------------------

blocking watch of /home/jsnyder
starting indexing...
blocking watch of /home/jsnyder
request thread sleeping
^CReceived signal 'Interrupt: 2' so now shutting down
total allocations = 1, total deallocations = 0


-- 
--
James Snyder
Biomedical Engineering
Northwestern University
jbsnyder@fanplastic.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33644d3c0706011325k6d3b3bb8yd3ac1e26d6633121>