Uploaded image for project: 'R10K'
  1. R10K
  2. RK-11

Unix commands with >64KiB of output may deadlock

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: r10k 1.5.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      1
    • Sprint:
      CODEMGMT 2015-01-14

      Description

      Linux > 2.6.11 has a maximum pipe buffer size of 64KiB, and when the buffer is filled further writes will block until data is read from the pipe. This means that r10k may launch processes that will block on writing to stdout, and r10k will block on waiting for the process to return. In order to make this work the stdout/stderr pipes need to be continually drained to prevent this deadlock.

      See https://github.com/puppetlabs/r10k/issues/265

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                adrien Adrien Thebo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support