Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2006 22:43:10 GMT
From:      Darrell Long <darrell@naulahka.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/91423: portupgrade dies after running out of memory(!!)
Message-ID:  <200601062243.k06MhAp7050528@www.freebsd.org>
Resent-Message-ID: <200601062250.k06Mo3lq026498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91423
>Category:       ports
>Synopsis:       portupgrade dies after running out of memory(!!)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 06 22:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Darrell Long
>Release:        5.4
>Organization:
University of California
>Environment:
>Description:
portupgrade -arn blows up predictably here:FreeBSD naulahka.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Jun  9 00:41:48 PDT 2005     root@.hq.netapp.com:/usr/src/sys/i386/compile/MYKERNEL  i386


** No need to upgrade 'intltool-0.34.1' (>= intltool-0.34.1). (specify -f to force)
--->  Session ended at: Fri, 06 Jan 2006 14:32:19 -0800 (consumed 00:08:59)
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:89:in `<<': failed to allocate memory (NoMemoryError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:89:in `trace'
        from /usr/local/sbin/portupgrade:723:in `do_upgrade'
        from /usr/local/sbin/portupgrade:696:in `main'
        from /usr/local/sbin/portupgrade:693:in `each'
        from /usr/local/sbin/portupgrade:693:in `main'
        from /usr/local/sbin/portupgrade:208:in `initialize'
        from /usr/local/sbin/portupgrade:208:in `new'
        from /usr/local/sbin/portupgrade:208:in `main'
        from /usr/local/sbin/portupgrade:1893

>How-To-Repeat:
Using the ports tree as of yesterday (Thursday) evening: portupgrade -arn
>Fix:
 Looks like something is throwing portupgrade into a loop and it is allocating lots of memory (this little box has 1GB, and acts as a mail server).             
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601062243.k06MhAp7050528>