Changes between Initial Version and Version 15 of Ticket #56793


Ignore:
Timestamp:
May 23, 2021, 9:05:39 PM (4 years ago)
Author:
mascguy (Christopher Nielsen)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56793

    • Property Status changed from new to assigned
    • Property Summary changed from Installing a port with many files appears appears hang to macports base: installing a port with many files appears to hang; file registration loop slows dramatically for file counts > 10,000
    • Property Version changed from 2.5.3 to 2.7.0
    • Property Owner set to mascguy
  • Ticket #56793 – Description

    initial v15  
    1 I'm trying to install texlive-fonts-extra, which has 61748 files in its destroot/ folder. `port -d install texlive-fonts-extra` appears hang - no messages for several minutes and the CPU usage keeps high at around ~98%.
     1I'm trying to install texlive-fonts-extra, which has 87,000 files in its destroot/ folder. `port -d install texlive-fonts-extra` appears hang - no messages for several minutes and the CPU usage keeps high at around ~98%.
    22
    3 I found that the installation process is running the loop at https://github.com/macports/macports-base/blob/8a67087e2194acf3d0037097b0cd7f1e5477e401/src/port1.0/portinstall.tcl#L416. If the loop is inevitable, how about adding some messages saying that the port process is busy doing something? It will improve the user experience greatly.
     3I found that the installation process is running the loop at:
     4
     5https://github.com/macports/macports-base/blob/8a67087e2194acf3d0037097b0cd7f1e5477e401/src/port1.0/portinstall.tcl#L416
     6
     7If the loop is inevitable, how about adding some messages saying that the port process is busy doing something? It will improve the user experience greatly.
    48
    59/cc the author of the aforementioned loop.