Re: portupgrade: ruby state=swread

2006-09-29 Thread Karol Kwiatkowski
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.06up 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   SIZERES STATETIME   WCPU COMMAND
> 12613 root1 -200   123M 87500K swread   6:29  0.05% ruby18
> 
> 
> The output of portupgrade -a is also since 1hour:
> 
> 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  
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: portupgrade: ruby state=swread

2006-09-28 Thread Alex Zbyslaw

Pascal Bleyler wrote:


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.06up 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   SIZERES STATETIME   WCPU COMMAND
12613 root1 -200   123M 87500K swread   6:29  0.05% ruby18


The output of portupgrade -a is also since 1hour:

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 :/
 

You haven't got enough free memory and the process is swapping - swread 
== swap read.  Give it time and it should finish.  If you have other 
processes using significant memory which you can kill off that might help.


--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade: ruby state=swread

2006-09-28 Thread Kris Kennaway
On Fri, Sep 29, 2006 at 12:30:45AM +0200, Pascal Bleyler wrote:
> HI,
> 
> I've founded this atm:
> 
> http://portsmon.freebsd.org/portoverview.py?category=lang&portname=ruby1
> 8
> 
> what are my options? The PC has only 80M RAM ... :(

Wait it out, add more RAM, or use a tool that requires less memory.
Others may recommend portmaster, but I've not used it and cannot
comment on its utility or resource requirements.  You can always just
use pkg_add/pkg_delete by hand (if you're careful), of course.

Kris


pgpnqc3NWtFNI.pgp
Description: PGP signature


RE: portupgrade: ruby state=swread

2006-09-28 Thread Pascal Bleyler
HI,

I've founded this atm:

http://portsmon.freebsd.org/portoverview.py?category=lang&portname=ruby1
8

what are my options? The PC has only 80M RAM ... :(

Thanks
Pascal Bleyler

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Pascal Bleyler
> Sent: Thursday, September 28, 2006 11:45 PM
> To: freebsd-questions@freebsd.org
> Subject: portupgrade: ruby state=swread
> 
> 
> 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.06up 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   SIZERES STATETIME   
> WCPU COMMAND
> 12613 root1 -200   123M 87500K swread   6:29  0.05% ruby18
> 
> 
> The output of portupgrade -a is also since 1hour:
> 
> 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
> 
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"