You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Grant Sohn (JIRA)" <ji...@apache.org> on 2016/10/27 20:30:58 UTC

[jira] [Commented] (YARN-4834) ProcfsBasedProcessTree doesn't track daemonized processes

    [ https://issues.apache.org/jira/browse/YARN-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613122#comment-15613122 ] 

Grant Sohn commented on YARN-4834:
----------------------------------

Regarding the 'kill -- ...':

Ubuntu kill doesn't support "--" but recommends killall instead.

> ProcfsBasedProcessTree doesn't track daemonized processes
> ---------------------------------------------------------
>
>                 Key: YARN-4834
>                 URL: https://issues.apache.org/jira/browse/YARN-4834
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.7.2, 3.0.0-alpha1
>            Reporter: Nathan Roberts
>            Assignee: Nathan Roberts
>             Fix For: 2.8.0, 2.7.3, 3.0.0-alpha1
>
>         Attachments: YARN-4834.001.patch
>
>
> Currently the algorithm uses ppid from /proc/<pid>/stat which can be 1 if a child process has daemonized itself. This causes potentially large processes from not being monitored. 
> session id might be a better choice since that's what we use to signal the container during teardown. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org