From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0F5MJUqI/mL3EwEAbAwnHQ (envelope-from ) for ; Thu, 18 Aug 2022 20:43:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QGlpJEqI/mLvZQAAG6o9tA (envelope-from ) for ; Thu, 18 Aug 2022 20:43:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 33A7DDF0D for ; Thu, 18 Aug 2022 20:43:22 +0200 (CEST) Received: from localhost ([::1]:49178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOkUD-0008Ta-09 for larch@yhetil.org; Thu, 18 Aug 2022 14:43:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOkTw-0008TC-Ge for help-guix@gnu.org; Thu, 18 Aug 2022 14:43:04 -0400 Received: from libre.brussels ([2a01:4f8:201:1044::1]:51324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOkTu-0006Op-Ou for help-guix@gnu.org; Thu, 18 Aug 2022 14:43:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libre.brussels; s=mail; t=1660848180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H7GPyPbuxp4FthUaD7pLOGWJPSGml/KvYKF5n3Cac5k=; b=VHN2Mqt9G3pQvGJq2vBbrzwzvKVOR3paKZ5ajlwWzlYGsKHyyWuT5zTzfdWHyBkHXtLUV9 q6ofBEchLwfJJJ6wwdlwWId7Af5OKaF874cO9ywL5vYVlqODlFf4e0RVWhYdKPz4M9W2r1 qTbkaGjLIk5W4AUjmTHBUP49kQ4d+h4= MIME-Version: 1.0 Date: Thu, 18 Aug 2022 20:43:00 +0200 From: indieterminacy To: Ekaitz Zarraga Cc: Ben Sturmfels , Guix Help Subject: Re: Gnome Tracker (tracker-miner-fs-3) behaving badly In-Reply-To: References: <87o7wigwk4.fsf@sturm.com.au> Message-ID: <72c9084e54263c80f53db4737dc686f5@libre.brussels> X-Sender: indieterminacy@libre.brussels Organization: Icebreaker Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a01:4f8:201:1044::1; envelope-from=indieterminacy@libre.brussels; helo=libre.brussels X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660848202; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=H7GPyPbuxp4FthUaD7pLOGWJPSGml/KvYKF5n3Cac5k=; b=TgxWduEbuaiiY4C3XCWQ44eLw3GMgeBLWQW99oCqEw0F4nfjmLV3HD/3MYBH0zGdjon3rM OEbROZaN09agMaTz+gcpD+eTDhhUv5ajJLldLg3GbQyPV0daq+RHAdn9KALPY+JvhvkAio NIkU9qVoTYwqX2CWyAKqUuqxWGFKpOn7tE0KoDbZ89y8ppg84sH9vtorcOiCpD2maNEYwK cLUCpdS7tfctn4ZKB3Iz9YLRCT1/CfrqCTY6c07I5q51RjHSNKU1n+8E0SX+xT5wBeq2ap 7jQebJApHF0E7xRlF8EWYZRnpEPtuh8TMY+v0KI1zRltGb82dneggaOPgeMb2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660848202; a=rsa-sha256; cv=none; b=f8W/YDOlAbKXOahvPmj5GReKoOnfvEoW8/W/QWcuGNVsuNfVY46Z/dD8KuodRmXbtWS4FH 9gaunB9pKUrTpny+k0xTvMAdQe6tuwARmB0zrjPZKiVKinJWnAR7VF0IONl2yzIUjHQgTZ QaNAF5AIJc5kGISA1lZw++Q+mwKv3NRTUlWiyorbdi1GNy+kir6aQqZv1Odk3y9bwOGZ+P d8Bf6KxYFeYtzlgJi1HPZN12tkH8JlYigIfJSy+jBv84pjj6dWdaR4QG3Cn/UNTv7twXrA hpMw6Yt6M+bgokclxN+U9k69PQTtLfE3YGVyQkFyJjRGzgbeIDA9hkVE7XXdiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b=VHN2Mqt9; dmarc=pass (policy=none) header.from=libre.brussels; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b=VHN2Mqt9; dmarc=pass (policy=none) header.from=libre.brussels; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 33A7DDF0D X-Spam-Score: -5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: u1dRZpQM2y9h On 18-08-2022 11:08, Ekaitz Zarraga wrote: > Hi, > > > ------- Original Message ------- > On Thursday, August 18th, 2022 at 2:50 AM, Ben Sturmfels via > wrote: > > >> Hi Folks! >> >> I really like the idea of Gnome Tracker - index all your files, >> contacts, etc. so you can quickly search them. It just doesn't seem to >> work properly, it uses a lot of resources and it's behaviour is >> opaque. I'm not sure whether this is the configuration in Guix System, >> or whether Tracker just isn't well designed. My hunch is that it's a >> design problem. Does anyone have good/bad experience with Tracker >> outside of Guix? >> >> Specific issues: >> >> * the tracker-miner-fs-3 process runs spontaneously consuming at least >> one CPU for a few minutes (I haven't kept track of how long or how >> often) >> >> * after all this scanning, searching in Gnome Activities doesn't >> display any matches for the contents of files, only the filenames - >> I thought indexing the contents was the whole point >> >> * when it's busy, tracker-miner-fs-3 seems to ignore `kill` (SIGTERM) >> and needs `kill -9` (SIGKILL) to kill it >> >> * it's not clear exactly what files Tracker is indexing - there >> doesn't >> appear to be a log - I'd really like to be able to just `tail -f` to >> see what's going on >> >> I'd like to also understand how tracker-miner-fs-3 is started by >> Gnome. It seems to start automatically and restart after some time if >> killed. It doesn't seem to be listed under "Startup Applications" in >> Gnome Tweak Tool. >> >> Debugging Tracker: >> >> After killing it with `pkill --full tracker-miner-fs-3 --echo`, I can >> restart it with some debugging information using: >> >> env TRACKER_DEBUG=config,miner-fs-events,monitors,statistics,status >> /gnu/store/[...]-tracker-miners-3.3.1/libexec/tracker-miner-fs-3 >> >> This seems to show some scheduling information about the indexing, but >> not exactly what it's indexing. >> >> Regards, >> Ben > > > I experienced a very similar situation. > I hate hen it happens. Every time I move a file or I rename something > the thing starts to run and my cpu goes crazy. > On the other hand, this is a recent problem, in previous versions it > didn't happen and I didn't really have more effort searching for files > in nautilus or similar applications. For me, it's just bad. > > Also, I don't use GNOME directly, even if I have it installed and use > most of its apps, I run an i3 session, but tracker-miner is still > running. > > I don't know if that helps. > > If I could, I'd like to remove it. > > Is it possible? > > Thanks, > Ekaitz If I recall, Gnome Tracker uses Xapian as its backend. I seem to have previously noticed alternative software which appears more performant (though I moved onto other activity so I cant confirm). Is something like Redmine-Xapian a satisfactory alternative? https://github.com/xelkano/redmine_xapian Kind regards, -- Jonathan McHugh indieterminacy@libre.brussels