Opened 14 years ago
Closed 14 years ago
#28257 closed defect (worksforme)
"port upgrade outdated" causes high notifyd/bash CPU usage and does nothing
Reported by: | trojanfoe@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: |
Description
I have been happily using macports for a couple of months now but I am currently unable to perform an upgrade. When I issue "port upgrade outdated" it sits there doing nothing, but causes high CPU usage of notifyd and bash:
Processes: 59 total, 3 running, 56 sleeping, 273 threads 23:31:29 Load Avg: 1.30, 1.25, 1.15 CPU usage: 23.7% user, 5.28% sys, 71.63% idle SharedLibs: 7936K resident, 10M data, 0B linkedit. MemRegions: 9360 total, 632M resident, 17M private, 342M shared. PhysMem: 660M wired, 871M active, 304M inactive, 1835M used, 2131M free. VM: 135G vsize, 1042M framework vsize, 1169118(0) pageins, 0(0) pageouts. Networks: packets: 25965/11M in, 11761/1901K out. Disks: 1643810/14G read, 130267/8236M written. PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE 11 notifyd 82.5 19:36.43 2/1 0 106 116 85M+ 244K 85M+ 9994 bash 8.9 04:15.60 1 0 17 24 180K 856K 704K 3835 top 3.6 00:58.07 1/1 0 30 33 1184K 244K 1760K 103 launchd 1.5 00:46.80 2 0 196 63 696K 492K 1100K 0 kernel_task 1.4 05:31.58 73/4 0 2 598 26M 0B 184M
My system: MBP i5 (2.53GHz), Mac OS 10.6.6 (64-bit kernel).
Change History (8)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|
comment:2 Changed 14 years ago by trojanfoe@…
Here is the output when running with the '-d' option. It's stuck on the last line.
Additional behaviour to report; after terminating 'port' with Ctrl-C the notifyd stays active at 100% and bash disappears.
bash-3.2# port -d upgrade outdated DEBUG: epoch: in tree: 0 installed: 0 DEBUG: sqlite3 3.7.5_0 exists in the ports tree DEBUG: sqlite3 3.7.3_0 is the latest installed DEBUG: sqlite3 3.7.3_0 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3 DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: epoch: in tree: 0 installed: 0 DEBUG: readline 6.1.002_0 exists in the ports tree DEBUG: readline 6.1.002_0 is the latest installed DEBUG: readline 6.1.002_0 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: No need to upgrade! readline 6.1.002_0 >= readline 6.1.002_0 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncurses 5.7_1 exists in the ports tree DEBUG: ncurses 5.7_1 is the latest installed DEBUG: ncurses 5.7_1 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: No need to upgrade! ncurses 5.7_1 >= ncurses 5.7_1 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncursesw 5.7_1 exists in the ports tree DEBUG: ncursesw 5.7_1 is the latest installed DEBUG: ncursesw 5.7_1 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: OS darwin/10.6.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: No need to upgrade! ncursesw 5.7_1 >= ncursesw 5.7_1 DEBUG: Starting logging for sqlite3
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | trojanfoe@… removed |
---|
comment:8 Changed 14 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
There's not a lot we can do about this unless you either give us a way to reproduce the problem or supply more information. Debug output from port would be a good start.