BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] docker Re: Corralling Processes on Linux
- Subject: [Discuss] docker Re: Corralling Processes on Linux
- From: smallm at sdf.org (Mike Small)
- Date: Mon, 05 Feb 2018 21:02:47 +0000
- In-reply-to: <1e60100cc3c8eb63964f5968a2c9bb0c.squirrel@swarm00.ci.net> (Rich Braun's message of "Mon, 22 Jan 2018 10:44:40 -0800")
- References: <mailman.5.1516554003.11219.discuss@blu.org> <1e60100cc3c8eb63964f5968a2c9bb0c.squirrel@swarm00.ci.net>
"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
- Follow-Ups:
- [Discuss] docker Re: Corralling Processes on Linux
- From: kentborg at borg.org (Kent Borg)
- [Discuss] docker Re: Corralling Processes on Linux
- Prev by Date: [Discuss] Mothballing Synology NAS
- Next by Date: [Discuss] docker Re: Corralling Processes on Linux
- Previous by thread: [Discuss] Mothballing Synology NAS
- Next by thread: [Discuss] docker Re: Corralling Processes on Linux
- Index(es):