[SOLVED?] saving downloads becomes slower over time

Andriy Gapon avg at FreeBSD.org
Fri Sep 12 12:43:58 UTC 2014


On 12/09/2014 11:57, Matthew D. Fuller wrote:
> On Fri, Sep 12, 2014 at 11:30:30AM +0300 I heard the voice of
> Andriy Gapon, and lo! it spake thus:
>>
>> I've noticed many reports about this issue but my problem seems to
>> be different as clearing the list does not help at all.
> 
> I seem to recall also occasionally having that issue, but I've not
> seen it happen when I kept the list clear.  So it may be that it's not
> so much "the size of the list", as "the biggest the list has been".

I think that this is something totally different.
I noticed that a lot of time is spent in those functions because they are
called, at top level, multiple times for the same directory but represented with
different objects.  I also noticed that after each save there are two file
descriptors for the download directory and they stay permanently open.  After
some more digging I am sure that this is a result of the following bug:
https://bugzilla.gnome.org/show_bug.cgi?id=705367
The bug seems to be fixed with this commit:
https://mail.gnome.org/archives/commits-list/2013-December/msg00175.html
But the change is not our version of gtk.
Apparently the fix first appears in 2.24.23:
https://mail.gnome.org/archives/commits-list/2014-March/msg10481.html

-- 
Andriy Gapon


More information about the freebsd-gecko mailing list