From owner-freebsd-arch@FreeBSD.ORG Mon Nov 16 11:06:48 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B788C106568B for ; Mon, 16 Nov 2009 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4498FC14 for ; Mon, 16 Nov 2009 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAGB6m7B011096 for ; Mon, 16 Nov 2009 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAGB6lgL011094 for freebsd-arch@FreeBSD.org; Mon, 16 Nov 2009 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Nov 2009 11:06:48 GMT Message-Id: <200911161106.nAGB6lgL011094@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arch@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arch@FreeBSD.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120749 arch [request] Suggest upping the default kern.ps_arg_cache 1 problem total. From owner-freebsd-arch@FreeBSD.ORG Mon Nov 16 15:02:11 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E46A31065670 for ; Mon, 16 Nov 2009 15:02:11 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA068FC14 for ; Mon, 16 Nov 2009 15:02:11 +0000 (UTC) Received: by fxm27 with SMTP id 27so6096312fxm.3 for ; Mon, 16 Nov 2009 07:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YpeCDvz/iGRlmop+LyuFUVfu7OCikh58OIPnYJSktaw=; b=AcmG3tG3d3+QmyktZIKTnmqy35diT7f9GAZrP0RWG0n7+s3wWPv6nSvUAlfkKHEuyn tRn7MmSBfyVVgzd/r8OhX6StYIUflPDLOA+tbITUAoC0aKbkg6QfvWr8EOK4KNnohHhK TjO5gZ4RdEGawdLWwV4yVghkWAb30UbsscZ1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=cKn5R+O1eJCRM6tlPYj0BOjxbZiFlzhkuY5sh3+LNPW2MhyPTvWkfHuX9pWJD6Nv2S gE0+7czUVh9UoKi6ixdy3KSBL/Br5Z38s3uSDZet3aMKfgGmhYKOCSAWOXMRzCYR2skM IouptYPZfh3wjiUorRDKZY51mv+Swlt6PS0VE= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.4.137 with SMTP id 9mr1182408far.95.1258383728371; Mon, 16 Nov 2009 07:02:08 -0800 (PST) Date: Mon, 16 Nov 2009 16:02:08 +0100 X-Google-Sender-Auth: f75205e71f209e37 Message-ID: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> From: Attilio Rao To: FreeBSD Arch Content-Type: text/plain; charset=UTF-8 Cc: Subject: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 15:02:12 -0000 This simple patch protects inetd and cron from being killed under high-pressure swapping systems: http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff This patch has been contributed back from Sandvine Incorporated. Comments, reviews and testing are welcome. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-arch@FreeBSD.ORG Tue Nov 17 15:00:32 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7001106566B for ; Tue, 17 Nov 2009 15:00:32 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id B31BF8FC0A for ; Tue, 17 Nov 2009 15:00:32 +0000 (UTC) Received: from mail.meer.net (mail.meer.net [64.13.141.3]) by proxy.meer.net (8.14.3/8.14.3) with ESMTP id nAHFMkrL085648 for ; Tue, 17 Nov 2009 07:22:46 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id nAHEiUrP019934; Tue, 17 Nov 2009 06:44:30 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from gnnbsd.hudson-trading.com.neville-neil.com (209.249.190.8.available.above.net [209.249.190.8] (may be forged)) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.3) with ESMTP id nAHEiUZi088147; Tue, 17 Nov 2009 06:44:30 -0800 (PST) (envelope-from gnn@neville-neil.com) Date: Tue, 17 Nov 2009 09:44:29 -0500 Message-ID: <7i8we5xlbm.wl%gnn@neville-neil.com> From: gnn@freebsd.org To: Attilio Rao In-Reply-To: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (amd64-portbld-freebsd7.2) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: undef - spam scanning disabled X-CanIt-Geo: ip=64.13.141.3; country=US; region=CA; city=Mountain View; postalcode=94039; latitude=37.3974; longitude=-122.0732; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.3974,-122.0732&z=6 X-CanItPRO-Stream: default X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: FreeBSD Arch Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 15:00:32 -0000 At Mon, 16 Nov 2009 16:02:08 +0100, Attilio Rao wrote: > > This simple patch protects inetd and cron from being killed under > high-pressure swapping systems: > http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff > > This patch has been contributed back from Sandvine Incorporated. > Comments, reviews and testing are welcome. > Good idea and the patch looks OK to me. Best, George From owner-freebsd-arch@FreeBSD.ORG Tue Nov 17 21:35:46 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8272D106566B; Tue, 17 Nov 2009 21:35:46 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id B6DDB8FC12; Tue, 17 Nov 2009 21:35:45 +0000 (UTC) Received: by fxm27 with SMTP id 27so504661fxm.3 for ; Tue, 17 Nov 2009 13:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=2C9gOnaDNtCJGRatxHq3JsreljRqz9mOndJqlCWRp/k=; b=tPyos08mO3i/be3ISz4g9TnbbZpPs9edHlexsZeVomtPyzXSyEM8ejP80rVKvKiiUB q5xbEIEOqXChPYs2VeR+xyNL33ihtfGdJ8XQjmQ4CzzxMV3e/otFG5vhC+B+iXCbmx/H li/J2pB0aUUabkUB1+72cIcoQQaEBWgzVRO1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=KsLHVLqA11XkXMKL/3DAMHj/7cKhUbwNEynmDs7kWpxbvSG0+A30xl7rdQGbH98+eC ag5gSGeslAdjpFlhjMsuKTiR//3thetIC0YKWq+3EkrljvjWXaEG7AMnZqmo5AilGCyx HAWQRmprWN3PFy/JX88j49+v0LoykSPjPC4w0= Received: by 10.223.22.81 with SMTP id m17mr2155089fab.28.1258493743156; Tue, 17 Nov 2009 13:35:43 -0800 (PST) Received: from mac-mini.lan (bl6-152-182.dsl.telepac.pt [82.155.152.182]) by mx.google.com with ESMTPS id 15sm184262bwz.8.2009.11.17.13.35.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 13:35:41 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <7i8we5xlbm.wl%gnn@neville-neil.com> Date: Tue, 17 Nov 2009 21:35:34 +0000 Content-Transfer-Encoding: 7bit Message-Id: <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> To: gnn@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Attilio Rao , FreeBSD Arch Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:35:46 -0000 On 17 Nov 2009, at 14:44, gnn@freebsd.org wrote: > At Mon, 16 Nov 2009 16:02:08 +0100, > Attilio Rao wrote: >> >> This simple patch protects inetd and cron from being killed under >> high-pressure swapping systems: >> http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff >> >> This patch has been contributed back from Sandvine Incorporated. >> Comments, reviews and testing are welcome. >> > > Good idea and the patch looks OK to me. Yes, the idea is good, but should we really trust inetd and crond that much ? Are there other daemons that do this? -- Rui Paulo From owner-freebsd-arch@FreeBSD.ORG Tue Nov 17 23:40:16 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD125106566B; Tue, 17 Nov 2009 23:40:16 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) by mx1.freebsd.org (Postfix) with ESMTP id 562738FC12; Tue, 17 Nov 2009 23:40:16 +0000 (UTC) Received: from [195.4.92.19] (helo=9.mx.freenet.de) by mout0.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NAXeh-0004Ky-0C; Wed, 18 Nov 2009 00:40:15 +0100 Received: from ta697.t.pppool.de ([89.55.166.151]:50870 helo=ernst.jennejohn.org) by 9.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NAXeg-0003jW-Q2; Wed, 18 Nov 2009 00:40:14 +0100 Date: Wed, 18 Nov 2009 00:40:14 +0100 From: Gary Jennejohn To: Rui Paulo Message-ID: <20091118004014.7cf9eb81@ernst.jennejohn.org> In-Reply-To: <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Attilio Rao , gnn@freebsd.org, FreeBSD Arch Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 23:40:16 -0000 On Tue, 17 Nov 2009 21:35:34 +0000 Rui Paulo wrote: > On 17 Nov 2009, at 14:44, gnn@freebsd.org wrote: > > > At Mon, 16 Nov 2009 16:02:08 +0100, > > Attilio Rao wrote: > >> > >> This simple patch protects inetd and cron from being killed under > >> high-pressure swapping systems: > >> http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff > >> > >> This patch has been contributed back from Sandvine Incorporated. > >> Comments, reviews and testing are welcome. > >> > > > > Good idea and the patch looks OK to me. > > Yes, the idea is good, but should we really trust inetd and crond that much ? > Are there other daemons that do this? > contrib/amd/amd/amd.c is the only C-file I can find in the tree. --- Gary Jennejohn From owner-freebsd-arch@FreeBSD.ORG Wed Nov 18 22:42:00 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8BD7106566C for ; Wed, 18 Nov 2009 22:42:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 37A018FC16 for ; Wed, 18 Nov 2009 22:41:59 +0000 (UTC) Received: by bwz5 with SMTP id 5so1905443bwz.3 for ; Wed, 18 Nov 2009 14:41:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=pcKLC2f5BEE9VeuDKX0N+RXqF/faStSSarxVYuOHd+A=; b=I3zFMqsL6qY7LqMSYjX89nhgLfbW40Uj1QcyYm3Bs59vB9OJhhHfbya2i72WQA7kgc YsskbJOZnaQwmwX0wWfabG6NV92/g/8YvyLdNcVqd+t6mFq2elVtXASImae6pCRk+xf5 P2EYP1VgSLy1jdZ1rV3rEpwSLQ/apSrMcZD4Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Sy0RNAK5MahwdnrPJpVPkhoLu6DzkVSTBqMriHZNZK466s9PKyGvv9SLVX5xCYELwo 22JQTP4+RUBEougN+P9u40A66deULBaz3kpLS84MJgwi/IJORrIKd/dWAva2JihPzMAq RjLRFecnkzOy4DezRnQR5Cw850FJRwDY/ew4I= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.144.204 with SMTP id a12mr961695fav.49.1258584118716; Wed, 18 Nov 2009 14:41:58 -0800 (PST) In-Reply-To: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> Date: Wed, 18 Nov 2009 23:41:58 +0100 X-Google-Sender-Auth: 7075572e493d5ae9 Message-ID: <3bbf2fe10911181441w3cfdd25ak9140efb21a163c9d@mail.gmail.com> From: Attilio Rao To: FreeBSD Arch Content-Type: text/plain; charset=UTF-8 Cc: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 22:42:00 -0000 2009/11/16 Attilio Rao : > This simple patch protects inetd and cron from being killed under > high-pressure swapping systems: > http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff After getting some comments, I decided to include in the list of "protected" processes also syslogd and sshd: http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised2.diff Comments, reviews and testing are welcome. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-arch@FreeBSD.ORG Fri Nov 20 06:26:42 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0F79106566C for ; Fri, 20 Nov 2009 06:26:42 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 69F068FC1E for ; Fri, 20 Nov 2009 06:26:42 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c122-106-232-83.belrs3.nsw.optusnet.com.au [122.106.232.83]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id nAK6QbDs025647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Nov 2009 17:26:39 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id nAK6Qbvm049675; Fri, 20 Nov 2009 17:26:37 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id nAK6QbYr049674; Fri, 20 Nov 2009 17:26:37 +1100 (EST) (envelope-from peter) Date: Fri, 20 Nov 2009 17:26:37 +1100 From: Peter Jeremy To: Rui Paulo Message-ID: <20091120062637.GA49534@server.vk2pj.dyndns.org> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Attilio Rao , gnn@freebsd.org, FreeBSD Arch Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 06:26:43 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Nov-17 21:35:34 +0000, Rui Paulo wrote: >> At Mon, 16 Nov 2009 16:02:08 +0100, >> Attilio Rao wrote: >>>=20 >>> This simple patch protects inetd and cron from being killed under >>> high-pressure swapping systems: >>> http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff >Yes, the idea is good, but should we really trust inetd and crond that muc= h ? >Are there other daemons that do this? As an alternative approach, how about placing a wrapper process around them which will restart them if they die? init(8) unofficially provides this (I've used it in the past) - maybe we should formalise this. --=20 Peter Jeremy --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksGNp0ACgkQ/opHv/APuIcBmACbBPYHpXB9Gx2LYogG5LBfFnzZ kE8AoKKD3Hh7ENZvZqaoOwDTkpqMhn/p =wStf -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From owner-freebsd-arch@FreeBSD.ORG Fri Nov 20 08:22:08 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E9F106566B for ; Fri, 20 Nov 2009 08:22:08 +0000 (UTC) (envelope-from gordon.tetlow@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id A16FC8FC16 for ; Fri, 20 Nov 2009 08:22:08 +0000 (UTC) Received: by pzk15 with SMTP id 15so2138529pzk.3 for ; Fri, 20 Nov 2009 00:22:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=6DbT1Y67RtCmVtZvXgsrDjuckHEuzuN9HScBiX56s1E=; b=iBbJxnKaNJCc/HZoQVVLSaOzB9O0vxAm/JMEuqZ4Z5LJ7ybr4JKeY8wQmZqeEosW/U mOyInqeGH+OYuaFQo2AfPnIF9+nsLfg9UKzIIk+4NFHPB5nbfG/dN9XO537zz10sM9Fo 4f+X7A83AOscvK39Jj4qEcfQFVD6fKcs4KODI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=H5PXdFeXEr+SDek9N7Uyk1cuc7IIYXAwuccl1uHaR1/J5rN61afB64/0jTj5UrPBhk gSq6KWa+jdvBBZfSaa0jKnHMbrUBBjMlHcWv9OxXD9DRiPTeAp29ojuZO2nBxL+2KFu9 tm6rgtkMJtNlk5B9p88jiz3Xy3pAbikKvnSVM= MIME-Version: 1.0 Sender: gordon.tetlow@gmail.com Received: by 10.114.214.36 with SMTP id m36mr1684131wag.172.1258705327772; Fri, 20 Nov 2009 00:22:07 -0800 (PST) In-Reply-To: <20091120062637.GA49534@server.vk2pj.dyndns.org> References: <3bbf2fe10911160702m3641b65cv15ac2942cbb023fd@mail.gmail.com> <7i8we5xlbm.wl%gnn@neville-neil.com> <30DCA579-53AD-49EA-A5A2-5A0796A285C1@gmail.com> <20091120062637.GA49534@server.vk2pj.dyndns.org> Date: Fri, 20 Nov 2009 00:22:07 -0800 X-Google-Sender-Auth: b70abe6cbb28e54b Message-ID: <4e571dd70911200022m2c5f4a7eje72df480f236f576@mail.gmail.com> From: Gordon Tetlow To: Peter Jeremy Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Rui Paulo , Attilio Rao , FreeBSD Arch , gnn@freebsd.org Subject: Re: [PATCH] Protect inetd and cron from being killed under high-pressure swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 08:22:09 -0000 On Thu, Nov 19, 2009 at 10:26 PM, Peter Jeremy wrote: > On 2009-Nov-17 21:35:34 +0000, Rui Paulo wrote: > >> At Mon, 16 Nov 2009 16:02:08 +0100, > >> Attilio Rao wrote: > >>> > >>> This simple patch protects inetd and cron from being killed under > >>> high-pressure swapping systems: > >>> > http://www.freebsd.org/~attilio/Sandvine/STABLE_8/madvised/madvised.diff > > >Yes, the idea is good, but should we really trust inetd and crond that > much ? > >Are there other daemons that do this? > > As an alternative approach, how about placing a wrapper process around > them which will restart them if they die? init(8) unofficially provides > this (I've used it in the past) - maybe we should formalise this. > Restarting cron can be dicey. @reboot tasks run and could cause problems. I think protecting certain important processes from being killed in low memory situations is a smart idea.