zeitgeist-daemon runs high CPU at startup

Bug #796194 reported by Arthur Lutz
This bug report is a duplicate of:  Bug #722762: zeitgeist-daemon using ~100% of CPU. Edit Remove
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Incomplete
Medium
Seif Lotfy

Bug Description

zeitgeist-daemon at startup eats up all my CPU (two at 100%)... and apart from killing them, i can't find a way keeping them cool or slowing them down...

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote : Re: [Bug 796194] [NEW] zeitgeist-daemon runs high CPU at startup

Please check if zeitgeist-fts-extension or zeitgeist-extension-fts is
installed. If yes uninstall it.

Now restart the daemon by
zeitgeist-daemon --replace

And then check if the problem persists

Please provide on which version of ubuntu you are on and version of
zeitgeist installed.
32 bit or 64?

Revision history for this message
Arthur Lutz (arthur-lutz) wrote :

dpkg -i zeitgeist*
[snip]
ii zeitgeist 0.8.0-1~ppa1~natty event logging framework
ii zeitgeist-core 0.8.0-1~ppa1~natty event logging framework - engine
ii zeitgeist-datahub 0.7.0-0ubuntu1 event logging framework - passive logging daemon
ii zeitgeist-extension-fts 0.0.7-0ubuntu1 Extensions for zeitgeist engine - fts extension
un zeitgeist-extensions <none> (no description available)
ii zeitgeist-fts-extension 0.0.7-0ubuntu1 transitional dummy package. Can be removed safely after the update.

am running it on 64 bits.

will see at next reboot if removing fts was useful.

Revision history for this message
Seif Lotfy (seif) wrote :

Can you let it run through once and tell me how long it took to stop? (You have to leave it till the end)
Then restart PC and tell me if it is still consuming much cpu on startup...
If so then its an issue with the FTS extension and its not a Zeitgeist Engine

Changed in zeitgeist:
status: New → Incomplete
importance: Undecided → Medium
assignee: nobody → Seif Lotfy (seif)
Revision history for this message
Pimentel28 (pimentel28) wrote :

I have this issue as well, thought it continues after startup. Around 90% CPU usage.

The terminal output:

[DEBUG - singleton] Checking for another running instance...
[INFO - zeitgeist.sql] Using database: /home/pimentel28/.local/share/zeitgeist/activity.sqlite
[DEBUG - zeitgeist.sql] Core schema is good. DB loaded in 2.08902359009ms
[DEBUG - zeitgeist.extension] Searching for system extensions in: /usr/share/zeitgeist/_zeitgeist/engine/extensions
[DEBUG - zeitgeist.extension] Searching for user extensions in: /home/pimentel28/.local/share/zeitgeist/extensions
[DEBUG - zeitgeist.extension] No extra extensions
[DEBUG - zeitgeist.extension] Found extensions: [<class '_zeitgeist.engine.extensions.datasource_registry.DataSourceRegistry'>, <class '_zeitgeist.engine.extensions.blacklist.Blacklist'>, <class '_zeitgeist.engine.extensions.fts.SearchEngineExtension'>, <class '_zeitgeist.engine.extensions.storagemonitor.StorageMonitor'>]
[DEBUG - zeitgeist.extension] Loading extension 'DataSourceRegistry'
[DEBUG - zeitgeist.datasource_registry] Loaded data-source data from /home/pimentel28/.local/share/zeitgeist/datasources.pickle
[DEBUG - zeitgeist.extension] Loading extension 'Blacklist'
[DEBUG - zeitgeist.blacklist] No existing blacklist config found
[DEBUG - zeitgeist.extension] Loading extension 'SearchEngineExtension'
[DEBUG - zeitgeist.fts] Opening full text index: /home/pimentel28/.local/share/zeitgeist/fts.index
[DEBUG - zeitgeist.extension] Loading extension 'StorageMonitor'
[DEBUG - zeitgeist.storagemonitor] Creating NetworkManager network monitor
[DEBUG - zeitgeist.storagemonitor] NetworkManager network state: 70
[DEBUG - zeitgeist.storagemonitor] Setting storage medium net as not available
[INFO - root] Trying to start the datahub
[DEBUG - root] Running datahub (/usr/bin/zeitgeist-datahub) with PID=28756
[INFO - root] Starting Zeitgeist service...
[DEBUG - zeitgeist.engine] Inserted 6 events out of 6 in 0.003199s
[DEBUG - zeitgeist.notify] Checking monitor :1.82/org/gnome/zeitgeist/monitor/0
[DEBUG - zeitgeist.notify] Notifying :1.82/org/gnome/zeitgeist/monitor/0 about 6 insertions
[DEBUG - zeitgeist.engine] Found 100 events in 0.021377s
[DEBUG - zeitgeist.engine] Got 100 raw events in 0.001257s
[DEBUG - zeitgeist.engine] Got 100 events in 0.010864s
[DEBUG - zeitgeist.engine] Where time spent in _get_event_from_row in 0.002506s
[DEBUG - zeitgeist.engine] Where time spent in _get_subject_from_row in 0.002545s
[DEBUG - zeitgeist.engine] Where time spent in apply_get_hooks in 0.000546s

Revision history for this message
Pimentel28 (pimentel28) wrote :

Also, here's a 4 page thread on it on the Ubuntu forums: http://ubuntuforums.org/showthread.php?t=1837836

Revision history for this message
Andrea Cimitan (cimi) wrote :

duplicate, I'd say

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.