From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2822 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: eric vidal Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: The "Unix Philosophy 2020" document Date: Sun, 29 Dec 2019 08:32:50 +1100 Message-ID: <20191229083250.f4e46e96f7f6099ef39c5509@obarun.org> References: <20190901091157.bjtfhqq6d2rg75yo@caspervector> <20190927083816.tectynx7dzlfcvb7@caspervector> <20191012173743.drzlgnrw4hib6hh4@caspervector> <20191117062644.lt6wfmqwijqqhc5w@caspervector> <20191226175258.o2nsregew6tlqlbu@caspervector> <20191227112309.3fow6vynss2ifw4t@CasperVector> <20191228022440.GA194581@cube> <20191228135725.5b1b0cce7039e7af13bae601@obarun.org> <20191228140453.GB198054@cube> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="79151"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2411-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Dec 28 22:32:58 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ilJhi-000KVK-Bi for gcsg-supervision@m.gmane.org; Sat, 28 Dec 2019 22:32:58 +0100 Original-Received: (qmail 1191 invoked by uid 89); 28 Dec 2019 21:33:24 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 1184 invoked from network); 28 Dec 2019 21:33:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obarun.org; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Message-Id:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=JFg+j+o6w5SuxqKOQd20YUAvkgAMjU134FB89utcnAM=; b=oKczjFLw8jmU7+vJlJh+BJJH+s DJmgHgZ3it6nrBa2hlPr2A5x/UHv/6ReruNkuzLn3Yxc0rLKGd7gp3lE/9oCcodlr6NdKqB6nniHW PWMu/lcd0gcHQWD7vDGg5Wuy2EznFqOGz4iFprL3949drkmqIh3t6RePOs5VLbRbJ8flvRemqrO7Q brnhlJetycU74fOdlAIBq54/43/ALVWPBDNqWR8202wWOm2g1PkWlofR8fLsrF+21hNwGrXbpx9bo 4NNthGEpObhxSd+nBOAGNkatzdqeZQYLYVGTJErOKQxvlHhJwMMgBw4P7+jiRUk31/qT+smqWMIn4 1NyinShw==; In-Reply-To: <20191228140453.GB198054@cube> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv26.byethost26.org X-AntiAbuse: Original Domain - list.skarnet.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - obarun.org X-Get-Message-Sender-Via: sv26.byethost26.org: authenticated_id: eric@obarun.org X-Authenticated-Sender: sv26.byethost26.org: eric@obarun.org Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2822 Archived-At: On Sat, 28 Dec 2019 16:04:53 +0200 Alex Suykov wrote: > Sat, Dec 28, 2019 at 01:57:25PM +1100, eric vidal wrote: > > > Well, for me, cgroups is clearly a lack to s6. Using it for every > > process like systemd do have no sense, but in some case it can be > > useful to protect e.g an "over-eat" allocation memory by a program > > (in particular over a server). > > Minor note on this. Resource limiting with cgroups does not require > any explicit support from s6, or any external tools for that matter. > Literally just `echo $$ > $cg/cgroup.procs` in the startup script > is enough, assuming the group has been created (mkdir) and the limits > have been set (bunch of echo's). You're right, i will see what i can do to uniform the preparation/creation of the cgroups for a process. -- eric vidal