portupgrade: ruby state=swread
Karol Kwiatkowski
freebsd at orchid.homeunix.org
Fri Sep 29 09:06:08 PDT 2006
On 28/09/2006 23:44, Pascal Bleyler wrote:
> Hello,
>
> i'm actually updating my installed ports with
> portupgrade -a over a remote ssh session.
> Before i have done a cvsup and a portsdb -Fu
>
> There are only 3 ports needing an update, one of this port
> is ruby.
> pkg_info means i have ruby18-bdb1-0.2.2 installed
> and under /usr/ports/distfiles/ruby is
> ruby-1.8.5.tar.gz (i think it's the update version)
>
> All ran fine but since 1hour top shows me the following:
>
> ----
> last pid: 12998; load averages: 0.47, 0.18, 0.06 up 0+03:12:40
> 23:28:35
> 41 processes: 1 running, 40 sleeping
> CPU states: 0.8% user, 0.0% nice, 0.8% system, 0.4% interrupt, 98.0%
> idle
> Mem: 82M Active, 4340K Inact, 24M Wired, 5268K Cache, 22M Buf, 480K Free
> Swap: 231M Total, 126M Used, 105M Free, 54% Inuse, 956K In
>
> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
> 12613 root 1 -20 0 123M 87500K swread 6:29 0.05% ruby18
> ----
>
> The output of portupgrade -a is also since 1hour:
> <snip>
> stringio.c: c.............................
> strscan.c: cc................................
> Generating RI...
>
>
> I use FreeBSD_6.1.RELEASE without the today published
> patch for FreeBSD-SA-06:23.openssl
>
> What can i do now? I don't want to kill the update process. Dunno
> what happens then.... :/
>
> Many thanks in advance for any hints
> Pascal Bleyler
Just some thoughts as others already identified the problem:
here's similar thread with some workarounds:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-September/131328.html
In the meantime I've found NOPORTDOCS variable - if you don't need
ruby docs just disable them (docs are generated during install part)
# cd /usr/ports/lang/ruby18
# make -DNOPORTDOCS install
The install part without docs takes about 30 seconds on 400Mhz/96MB
machine (it would take hours otherwise).
HTH,
Karol
--
Karol Kwiatkowski <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060929/ad85a66b/signature.pgp
More information about the freebsd-questions
mailing list