Bug#508672: nautilus: Generating video index on constantly changing file -> CPU load 100%

Ondra Kunc triak at seznam.cz
Mon Dec 15 10:21:39 UTC 2008


Josselin Mouette napsal(a):
> Le dimanche 14 décembre 2008 à 17:04 +0100, Ondra Kunc a écrit :
>   
>> I've tryed it and found that file which is copied by cp isn't reindexed 
>> by dvgrab, may i file a bug on dvgrab or is it possible to apply any 
>> workaround to nautilus in the future? I'm not sure if this behaviour is 
>> correct. I mean that nautilus may check that file was not modified last 
>> 10 secs, it would solve this problem for all applications, not dependent 
>> on writing pattern.
>>     
>
> That would be an unacceptably long delay for files that are just copied.
> The root of the problem is probably that dvgrab writes some bytes, then
> waits a few seconds, writes again… something logical of course for a
> piece of software that works with frames. If the delay reaches 10
> seconds, your method won’t even work.
> Maybe it should check instead that no process is using the file, but
> that would lead to a lot of false positives.
>
> Cheers,
>   
Yes, false positives may be problem if checking opened files.
What about to check count of indexing in last time(minute)?
Or shortcut to temporary turn off thumb generating?

Cheers






More information about the pkg-gnome-maintainers mailing list