Skip to content

Add exec so shell commands read correct pid#1372

Merged
ssalinas merged 1 commit intomasterfrom
ulimit_executor
Dec 16, 2016
Merged

Add exec so shell commands read correct pid#1372
ssalinas merged 1 commit intomasterfrom
ulimit_executor

Conversation

@ssalinas
Copy link
Copy Markdown
Contributor

Previously, when using maxOpenFiles the actual runnign process would end up being a child pid of the /bin/bash cmd. So any shell commands that rely on the pid were getting the parent pid, not the pid of the process.

The additional exec will fix this.

/cc @tpetr

@ssalinas ssalinas modified the milestone: 0.14.0 Dec 14, 2016
@ssalinas ssalinas merged commit 126a1cf into master Dec 16, 2016
@ssalinas ssalinas deleted the ulimit_executor branch December 16, 2016 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants