Commit e36ed246 authored by Jamie McCracken's avatar Jamie McCracken

added verbosity and inotify info

svn path=/trunk/; revision=570
parent 30381151
2007-04-30 Jamie McCracken <jamiemcc at gnome org>
* Reverted to using multiple db connections over one virtual (virtual is 3x slower)
* Got stats working
* renabled backup of user defined metadata
* fixed crashers in email indexing
* fixed too many open file descriptors by closing them
2007-04-28 Tshepang Lekhonkhobe <tshepang@gmail.com>
* src/trackerd/trackerd.c:
* src/trackerd/trackerd-utils.c: Fix verbosity code
* README: added a note on how to change inotify limits
2007-04-27 Jamie McCracken <jamiemcc at gnome org>
* Restructured Database to be more extensible
......
......@@ -259,6 +259,22 @@ If installed correctly, the Tracker daemon (trackerd) can also be started
automatically via Dbus activation (EG by running tracker-search SEARCHTERM)
Settig Inotify Watch Limit
When watching large numbers of folders, its ppossible to exceed the default number
of inotify watches. In order to get real time updates when this value is exceeded
it is necessary to increase the number of allowed watches. This can be done as
follows:
1) Add this line to /etc/sysctl.conf:
"fs.inotify.max_user_watches = (number of folders to be watched; default is 8192)"
2) Reboot the system
Tracker And Nautilus Search
Once you have installed Tracker and have some indexed contents, you should now
......
......@@ -2127,7 +2127,7 @@ tracker_load_config_file ()
contents = g_strconcat (
"[General]\n",
"# Log Verbosity - Valid values are 0 (default, fastest), 1 (detailed), & 2 (debug)\n",
"# Log Verbosity - Valid values are 0 (displays/logs only errors), 1 (minimal), 2 (detailed), and 3 (debug)\n",
"Verbosity=0\n\n",
"[Watches]\n",
"# List of directory roots to index and watch seperated by semicolons\n",
......
......@@ -145,7 +145,7 @@ static GOptionEntry entries[] = {
{"exclude-dir", 'e', 0, G_OPTION_ARG_STRING_ARRAY, &no_watch_dirs, N_("Directory to exclude from indexing"), N_("/PATH/DIR")},
{"include-dir", 'i', 0, G_OPTION_ARG_STRING_ARRAY, &watch_dirs, N_("Directory to include in indexing"), N_("/PATH/DIR")},
{"no-indexing", 'n', 0, G_OPTION_ARG_NONE, &disable_indexing, N_("Disable any indexing or watching taking place"), NULL },
{"verbosity", 'v', 0, G_OPTION_ARG_INT, &verbosity, N_("Value that controls the level of logging. Valid values are 0 (default minimal), 1 (detailed) and 2 (debug)"), N_("VALUE") },
{"verbosity", 'v', 0, G_OPTION_ARG_INT, &verbosity, N_("Value that controls the level of logging. Valid values are 0 (displays/logs only errors), 1 (minimal), 2 (detailed), and 3 (debug)"), N_("VALUE") },
{"throttle", 't', 0, G_OPTION_ARG_INT, &throttle, N_("Value to use for throttling indexing. Value must be in range 0-20 (default 0) with lower values increasing indexing speed"), N_("VALUE") },
{"low-memory", 'm', 0, G_OPTION_ARG_NONE, &low_memory, N_("Minimizes the use of memory but may slow indexing down"), NULL },
{"language", 'l', 0, G_OPTION_ARG_STRING, &language, N_("Language to use for stemmer and stop words list (ISO 639-1 2 characters code)"), N_("LANG")},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment