Re: Beagle CPU usage (was Proposed module: tracker)



On 1/15/07, Bastien Nocera <hadess hadess net> wrote:
On Mon, 2007-01-15 at 10:15 -0600, Federico Mena Quintero wrote:
<snip>
> We put a call to setrlimit() in gst-office-thumbnailer, so that the
> helper convert(1) process is limited to 256 MB of memory and 5 seconds
> of CPU time.  Some files do *not* get thumbnailed, of course, but this
> is better than making the machine unusable.

Neat. I'll try and do something similar for Totem's thumbnailer (it
currently uses a 30 sec time-limit, so it would be nice to also set a
certain amount of CPU).
I downloaded some guadec videos the other day to my desktop folder and
t-v-t ate my ram and processor making thumbnails for 2 or 3 semi
downloaded files. Since they were changing each second I imagine that
this timeout was reset each time.

That means that I support your idea :).


Cheers

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list




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