Hi -
On Wed, Mar 18, 2015 at 12:10:46AM -0400, Nathan Scott wrote:
> [...]
> > I don't know how yet, but PCP PMDAs (other than those that are default
> > pre-installed) are probably going to need meta-data if they end up running
> > in separate containers[...]
>
> Hmm, I'm not sure there's alot of win to be had from breaking out the default
> PMDAs - will end up with alot of packages/containers that everyone needs just
> to get started.
Indeed, that seems to be going overboard.
> > > By the way, have y'all considered using the daemons in foreground mode
> > > ("pmcd -f" et al.) as the contained pid-1 process, instead of
>
> FWIW, this was the way it started out until we hit several problems with
> that simpler approach.
Can you elaborate (or link to prior findings)?
> > > container pid-1 would actually exit when the daemon does, [...]
>
> Not sure what code you're looking at, but that *is* what happens already.
If I read the current code correctly, it'll interpret any transitive
child process's death as a signal to exit, not specifically pmcd. If
any daemonized children are started within the container, their death
could be routed to "pmpause" and cause an early death.
- FChE
|