Changes between Version 97 and Version 98 of Migration


Ignore:
Timestamp:
Dec 28, 2016, 11:54:53 PM (7 years ago)
Author:
adfernandes (Andrew Fernandes)
Comment:

Add a 'troubleshooting' note for when the restore uses too many open files.

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v97 v98  
    6868}}}
    6969Note that if you have specified variants which are not the default, you may need to install ports in an order other than the alphabetical order recorded in `myports.txt`. You may skip explicitly installing ports that you did not request as long as they are not using non-default variants, since they will be installed as dependencies of other ports.
     70
     71Another potential problem is that the `restore_ports.tcl` command may fail with a `Too many open files` error message. Under macOS Sierra, the default shell has a default `ulimit` of 256 open files. The solution is to restore the ports with a slightly modified command:
     72{{{
     73sudo bash -c "ulimit -n 4096; ./restore_ports.tcl myports.txt"
     74}}}
     75This will raise the file limit for the duration of the `restore_ports.tcl` command.