Re: [Tracker] Trackerd getting stuck in an infinite flush loop



Quirky wrote:
Today the trackerd process got stuck in a loop where it started to
consume lots of CPU. The log file showed this:

22 Oct 2006, 17:15:18:976 - flushing data (8 words left) - please wait
22 Oct 2006, 17:15:18:979 - flushing data (8 words left) - please wait
22 Oct 2006, 17:15:18:983 - flushing data (8 words left) - please wait
...... repeats the same message for 5 minutes+...

I attached gdb and it seemed stuck around the calls to
tracker_db_flush_words_to_qdbm, always returning the same value but
never actually flushing anything. Attached is the debug session. As far
as I can tell, GetWordsTop was returning 224 and "folder", but then
GetServiceWordCount for 224 was returning 0, so the word "folder" wasn't
flushed (?).

yes this is a bug - just had a quick look and we are not deleting the word if count is 0 so it just goes round and round. Still easy to fix!

as this is a critical bug I have applied the fix to CVS and will include in my debs and rpms for the 0.5.0 release that I am about to post shortly.

Thanks for the info.



--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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