Date: Sun, 24 Jul 2005 15:25:30 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: freebsd-current@freebsd.org, dandee@volny.cz, "M. Warner Losh" <imp@bsdimp.com> Subject: Re: -current kernel can't be complied for 3 days Message-ID: <20050724192530.GB84677@xor.obsecurity.org> In-Reply-To: <20050723211349.269cd3b7.lehmann@ans-netz.de> References: <200507200149.52721.max@love2party.net> <20050720114331.868A64E704@pipa.profix.cz> <20050722191337.269d965b.lehmann@ans-netz.de> <20050723.130438.81409618.imp@bsdimp.com> <20050723211349.269cd3b7.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 23, 2005 at 09:13:49PM +0200, Oliver Lehmann wrote: > M. Warner Losh wrote: >=20 > > Chances are you are running out of memory. Can you try the build w/o > > -jN? Large values of N can easily run a body out of swap space, > > yeilding a build failure when the tree is perfectly fine. > >=20 > > Persoanally, I never do a -j larger then 4 or 8. top shows that the > > system that I have is giant bound when I do, so why add more people to > > the list of Giant waiters? >=20 > Hi Warner, >=20 > I don't think that i ran out of memory. At least swapper didn't sayed > sth. like that. Back in Dec 2001 I even had a -j100 running (for fun) and > it build successfully. This was on a dual PII 333 with 320MB of memoty > compiling a 4.XX on a 4.XX. > Why shouldn't a -j16 on a dual PIII 850 with 640MB of memory compiling a > 6.0 on a 5.4 doesn't work then? I know there are many differences between > 4.X and 5.X but why got it worse? > A -j4 worked btw (at least the one time I tried it) There is a default limit of 16 simultaneous execs that can be easily saturated on an SMP system (further execs cause aborts as you are seeing). Increase the value of the vm.exec_map_entries tunable. Kris --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC4+spWry0BWjoQKURAnM/AKD2LHFGU7feF4a3ec8GtCDnCzvUWwCgta6Q Ov92GYid3AGyGsUiNK+4aFE= =TUeK -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050724192530.GB84677>