Date: Thu, 12 Oct 2006 19:30:51 +0100 From: Daniel Bye <freebsd-questions@slightlystrange.org> To: freebsd-questions@freebsd.org Cc: Chris <snagit@cbpratt.prohosting.com> Subject: Re: Prevent process in disk wait Message-ID: <200610121930.52020.freebsd-questions@slightlystrange.org> In-Reply-To: <0779903C-A01F-4CF0-AF1F-3DA317511598@cbpratt.prohosting.com> References: <302F75DC2739FB43B236373398A8C5992988@saturnus.intra.socruel.nu> <0779903C-A01F-4CF0-AF1F-3DA317511598@cbpratt.prohosting.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2932216.NtAjivL1kz Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 12 October 2006 13:44, Chris (Chris=20 <snagit@cbpratt.prohosting.com>), said: > On Oct 12, 2006, at 5:18 AM, FreeBSD-Questions wrote: > > Hello list, > > > > While installing the Ruby port on a 6.1-Release system (uname -a > > ... > > 37788 p0 DL+ 39:43.11 ./ruby18 ./bin/rdoc --all --ri --op > > /usr/local/share/ri/1.8/system . > > > > The system is an old Pentium 5 with a standard IDE drive. Is there a > > When I installed portupgrade last weekend, it seemed to have ruby as > a dependency and hung for many hours at the exact same point. portupgrade is written in Ruby, so this is to be expected. > The=20 > display of the make was stopped on ri. In looking at top, I noted > that swap file was being used heavily. This particular system was a > Pentium 500Mhz with only 128M. I attributed the problem to data IO > and swap IO contention. After about 4, maybe 5 hours at that one > spot, it did complete. This is the stage during the build where the Ruby documentation is built. = It=20 is apparently a very memory-hungry part of the build... If you don't want t= he=20 Ruby docs, or are happy to use the online versions at ruby-lang.org, then y= ou=20 can set WITHOUT_RDOC to prevent the indexing process, or you can use=20 NOPORTDOCS when building Ruby. There are several ways to do this, dependin= g=20 on what tools you use for your ports management. I would probably do=20 something like this in /etc/make.conf: =2Eif ${.CURDIR:M*/lang/ruby18} WITHOUT_RDOC=3D1 =2Eendif This approach seems to work, no matter what tools you use. Dan =2D-=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A --nextPart2932216.NtAjivL1kz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFLonbixf5fBYiFmoRAsHYAJkByre+And+Jl8xo+bG4vuRxszA4gCgnuHK gtH6u+xdlwDm7wSXIpJpoWM= =0qR2 -----END PGP SIGNATURE----- --nextPart2932216.NtAjivL1kz--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610121930.52020.freebsd-questions>