From owner-cvs-src@FreeBSD.ORG Fri Dec 28 05:22:40 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5422916A47B; Fri, 28 Dec 2007 05:22:40 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id 166AB13C43E; Fri, 28 Dec 2007 05:22:39 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.76] (bauer.cse.buffalo.edu [128.205.32.76]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id lBS5MXBQ034178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Dec 2007 00:22:33 -0500 (EST) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: Ken Smith In-Reply-To: <200712280508.lBS58sOT035988@repoman.freebsd.org> References: <200712280508.lBS58sOT035988@repoman.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QenyzNS6EAny7nvu5JOV" Organization: U. Buffalo CSE Department Date: Fri, 28 Dec 2007 00:22:33 -0500 Message-Id: <1198819353.46932.69.camel@bauer.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1335; Body=0 Fuz1=0 Fuz2=0 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on phoebe.cse.buffalo.edu Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 05:22:40 -0000 --=-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--