From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 2 15:40:11 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C372116A468 for ; Sat, 2 Jun 2007 15:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A49B913C44B for ; Sat, 2 Jun 2007 15:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l52FeB9e012573 for ; Sat, 2 Jun 2007 15:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l52FeB1w012572; Sat, 2 Jun 2007 15:40:11 GMT (envelope-from gnats) Resent-Date: Sat, 2 Jun 2007 15:40:11 GMT Resent-Message-Id: <200706021540.l52FeB1w012572@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, James Snyder Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87B1A16A468 for ; Sat, 2 Jun 2007 15:39:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6C05913C46A for ; Sat, 2 Jun 2007 15:39:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l52FdHdp084970 for ; Sat, 2 Jun 2007 15:39:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l52FdHBB084969; Sat, 2 Jun 2007 15:39:17 GMT (envelope-from nobody) Message-Id: <200706021539.l52FdHBB084969@www.freebsd.org> Date: Sat, 2 Jun 2007 15:39:17 GMT From: James Snyder To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/113257: sysutils/tracker indexer immediately goes to 100% cpu usage on starting trackerd X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 15:40:11 -0000 >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: