Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 15:39:17 GMT
From:      James Snyder<jbsnyder@northwestern.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113257: sysutils/tracker indexer immediately goes to 100% cpu usage on starting trackerd
Message-ID:  <200706021539.l52FdHBB084969@www.freebsd.org>
Resent-Message-ID: <200706021540.l52FeB1w012572@freefall.freebsd.org>

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

>Number:         113257
>Category:       ports
>Synopsis:       sysutils/tracker indexer immediately goes to 100% cpu usage on starting trackerd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 02 15:40:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     James Snyder
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD Hippo 6.2-STABLE FreeBSD 6.2-STABLE #3: Mon May 28 17:54:13 CDT 2007     jsnyder@Hippo:/usr/obj/usr/src/sys/SMP_amd  i386
>Description:
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/database
s/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 
>How-To-Repeat:
Install tracker, start trackerd.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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