Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 00:22:33 -0500
From:      Ken Smith <kensmith@cse.Buffalo.EDU>
To:        Ken Smith <kensmith@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall main.c
Message-ID:  <1198819353.46932.69.camel@bauer.cse.buffalo.edu>
In-Reply-To: <200712280508.lBS58sOT035988@repoman.freebsd.org>
References:  <200712280508.lBS58sOT035988@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-QenyzNS6EAny7nvu5JOV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Fri, 2007-12-28 at 05:08 +0000, Ken Smith wrote:
> kensmith    2007-12-28 05:08:54 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     usr.sbin/sysinstall  main.c=20
>   Log:
>   The limit on datasize in the install environment is 128M.  That's a bit
>   too small for today's standards.  While loading packages sysinstall
>   blows past this by a LOT but I think (hope...) that's caused by other
>   bugs.  I'll look more into why sysinstall's memory use has gotten so
>   out of control as it loads packages but independent of that there reall=
y
>   is no reason to leave the limits on datasize and stacksize in place.  A=
nd
>   they can cause problems for some of the things "modern packages" might
>   be doing via pkg_add which gets run by sysinstall and would inherit the
>   limits.
>  =20
>   Another insta-MFC probably coming, this is holding up 6.3-RC2.  Sysinst=
all's
>   memory use is so out of control it blows past the current limit before =
it
>   finishes loading either of the meta-packages kde or gnome...
>  =20
>   Revision  Changes    Path
>   1.78      +10 -0     src/usr.sbin/sysinstall/main.c

*&()(*&^$#@!!!!!!!  Argh!!!!!!

Sigh...  Ok, I feel a *little* better...  Without this patch the way
things are now loading either kde or gnome during the initial install is
enough for the install to end quite abruptly complaining that init
disappeared (sysinstall runs as init during installs).

This is hopefully just a band-aid but while discussing this Kris
mentioned the 128M limit could cause some pkg_add based stuff problems
now-a-days so I don't feel too bad removing these limits.

That said, sysinstall's memory usage becomes completely insane as it
loads packages - I'll start trying to find out what's really causing it
to bloat.  Before now I really didn't have a concrete idea what was
causing the installs to terminate that way (the sysinstall environment
is a bit hostile to work in, and having it blow up so spectacularly that
its init was gone wasn't an overly helpful clue...).

To give you a feel for what I mean by "insane" if you install kde,
gnome, and a handful of other packages the sysinstall process bloats to
around 610Mb size...

--=20
                                                Ken Smith
- From there to here, from here to      |       kensmith@cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


--=-QenyzNS6EAny7nvu5JOV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBHdIgN/G14VSmup/YRAuKrAJ9nRDKWXtKohvrhTUmSxWqydplm/wCggMHA
//rsY7nzoPnSVbg2TVGqTn0=
=6vCr
-----END PGP SIGNATURE-----

--=-QenyzNS6EAny7nvu5JOV--




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