You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2019/04/23 20:46:00 UTC

[jira] [Created] (MESOS-9737) Avoid allocating memory during fork-exec in subprocess.hpp.

Gilbert Song created MESOS-9737:
-----------------------------------

             Summary: Avoid allocating memory during fork-exec in subprocess.hpp.
                 Key: MESOS-9737
                 URL: https://issues.apache.org/jira/browse/MESOS-9737
             Project: Mesos
          Issue Type: Improvement
          Components: containerization
            Reporter: Gilbert Song


https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/posix/subprocess.hpp#L137

Os::strerror calls during fork-exec should be avoided, otherwise potential issues are not debuggable.
Consider using fmtlib for error code conversion



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)