Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-229

ExecPlugin leaks a file descriptor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None

      Description

      ExecPlugin never properly disposes of the subprocess's input fd. This means we run out of file descriptors eventually.

      This only affects ExecAdaptor; if ExecPlugin is invoked by the inputtools framework, the process doens't stay running.

        Attachments

        1. fixExecFDLeak.patch
          1 kB
          Ari Rabkin
        2. crashOnOutOfFDs.patch
          0.8 kB
          Ari Rabkin
        3. CHUKWA-229c.patch
          0.8 kB
          Ari Rabkin

          Activity

            People

            • Assignee:
              asrabkin Ari Rabkin
              Reporter:
              asrabkin Ari Rabkin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: