Re: [Tracker] tracker does reindex everything after restart



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22/09/11 16:12, Rainer M Krug wrote:
On 22/09/11 15:55, Aleksander Morgado wrote:

it seems (based on the CPU usage and the output of 
tracker-control -F) that the installation of tracker
0.12.1 does indeed reindex everything after it was stopped
by using tracker-control -t and started by tracker-control
-s

Is there a way that I can confirm this (log-files)?

It will re-crawl to set up monitors, but reindexing no. It
may continue where it left off if you didn't shutdown when it
was idle.


OK - one additional question: I have seen somewhere, that the 
number of monitors is limited by a setting for the file
system, but that it can be increased, but I do not remember
where I have seen it - do you probably know how this can be
done? (FS: ext4)


Go root and give the new number, like: # echo 524288 >

Just out of interest? Why 524288 (which is 2^19) and not 2^20?

Rainer

/proc/sys/fs/inotify/max_user_watches

Although this number may already be increased if you installed 
Tracker through a packaging system. The Tracker Team PPA in
Ubuntu already does this: 
http://bazaar.launchpad.net/~tracker-team/tracker/tracker.head/view/head:/debian/30-tracker.conf


thanks

- I just executed the command you gave me. I googled and found, 
among others, a way to make this persistant between reboots, by
executing

echo âfs.inotify.max_user_watches = 524288â >> /etc/sysctl.conf

as root. (e.g.
http://www.afiestas.org/nepomuk-is-not-fast-is-instant/)

Thanks,

Rainer

Cheers,




- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer krugs de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk58awsACgkQoYgNqgF2egp6PgCeKuTIzaI8N64dRlR6cMSheSkT
Vn8AmgLeT5favIdnuKwn0+9g60PXFmrP
=IwsC
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]