Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7791

subprocess' childMain using ABORT when encountering user errors

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 61, Mesosphere Sprint 62, Mesosphere Sprint 63
    • 5

    Description

      In process/posix/subprocess.hpp's childMain we exit with ABORT when there was a user error,

      ABORT: (/pkg/src/mesos/3rdparty/libprocess/include/process/posix/subprocess.hpp:195): Failed to os::execvpe on path '/SOME/PATH': Argument list too long
      

      We here abort instead of simply _exit'ing and letting the user know that we couldn't deal with the given arguments.

      Abort can potentially dump core, and since this abort is before the execvpe, the process image can potentially be large (e.g., >300 MB) which could quickly fill up a lot of disk space.

      Attachments

        Issue Links

          Activity

            People

              abudnik Andrei Budnik
              bbannier Benjamin Bannier
              James Peach James Peach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: