Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] docker Re: Corralling Processes on Linux



"Rich Braun" <richb at pioneer.ci.net> writes:

> Kent Borg <kentborg at borg.org> wrote:
>>> I am playing with lots of different processes
>>> communicating with each other, maybe some coming and going
>>> incrementally. I want the ability occasionally kill them all and
>>> start from a clean slate.
>
> Sure sounds like what you really want is Docker and/or Kubernetes. Cgroups is
> part of the mechanism used by containers (such as the original LXC) to isolate
> process groups but there's a whole open-source infrastructure that provide the
> tools that abstract out a lot of the difficult parts of what you want to do.

At what point does it make sense to go to the cgroup level or even
container level and at what point are traditional Unix abstractions like
process groups and sessions adequate?  If Kent is creating all the
processes himself and they all fall in one process group then kill(2) on
the negative of the process group leader should kill them all. To me
that would be simpler (but not necessarily easier? I have much to learn
about container tech.) than working with these higher level abstractions
and toolkits. If plain old process groups are adequate he also gets the
benefit that his software might run on a BSD as is.

-- 
Mike Small
smallm at sdf.org



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org