Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 15:42:58 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>, freebsd-gecko@FreeBSD.org
Subject:   [SOLVED?] saving downloads becomes slower over time
Message-ID:  <5412EA52.7050801@FreeBSD.org>
In-Reply-To: <20140912085718.GR43581@over-yonder.net>
References:  <54129E66.7080300@FreeBSD.org> <20140912072558.GP43581@over-yonder.net> <5412AF26.7080107@FreeBSD.org> <20140912085718.GR43581@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5412EA52.7050801>