On Sat, 24 Mar 2018, 01:23 Adam Williamson, <adamwill@fedoraproject.org> wrote:
On Fri, 2018-03-23 at 11:37 +0100, Kalev Lember wrote:
> On 03/23/2018 04:06 AM, Chris Murphy wrote:
> > On Thu, Mar 22, 2018 at 3:15 AM, Richard Hughes <hughsient@gmail.com> wrote:
> > > On 22 March 2018 at 04:30, Chris Murphy <lists@colorremedies.com> wrote:
> > > > With 1.5G RAM I usually get a desktop but then if anything crashes,
> > > > and it seems like PackageKit is crashing often when under memory
> > > > pressure (?)
> > >
> > > PackageKit-the-supervisor uses very little memory indeed by design,
> > > but PackageKit does also load libdnf which loads libsolv etc which is
> > > probably where the problem lays. Do you have a massif run handy on a
> > > small machine? I can do one myself if not, although I fear the problem
> > > is going to be libsolv rather than much we can fix in "Fedora".
> > >
> >
> > OK I got it to crash in a way that I was able to collect some minimal info...
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1559684
> >
> > There's a link to the coredump there. For whatever reason the retrace
> > server will not accept it with abrt.
> > https://github.com/abrt/retrace-server/issues/180
>
> Thanks Chris. The coredump seems to be just various things starting to
> go wrong in packagekitd when we start running out of resources and I
> don't think there's much we can do there, HOWEVER:
>
> The main issue seems to be that we're starting gnome-software on the
> live media, which in turn is starting packagekitd and asking it to
> download metadata. This is 100 MB download which eats up precious RAM as
> the file system overlay on the live media is backed by memory.
>
> This all adds up with gnome-software using RAM, packagekitd using RAM,
> and downloaded metadata using RAM.
>
> Working on fixing it now to avoid all that on live media.

Can you or Chris propose a bug for this as a Beta freeze exception and
give it an accurate description (like 'GNOME Software runs
unnecessarily on live images' or so?) It'd be good to get a fix for
this into Beta I guess.

I do still suspect anaconda is using more memory than before as well,
but will have to look into that, and it may not affect liveinst as the
live installer doesn't use the dnf payload.

I agree here, I suspect, although I've not investigated, that the initrd contents has bloated due some random increase inĀ  deps causing memory used by the ram disk to increase.