From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5955 Path: news.gmane.org!not-for-mail From: Brent Cook Newsgroups: gmane.linux.lib.musl.general Subject: Re: static build and dlopen Date: Wed, 27 Aug 2014 18:36:44 -0500 Message-ID: <9C22AC43-6E0E-4CEE-ACA6-9CE07B4DACC7@gmail.com> References: <20140827164309.GO12888@brightrain.aerifal.cx> <53FE27E6.60902@skarnet.org> <53FE46CB.1040609@skarnet.org> <20140827225429.Horde.T30hkC5iP0azg6vTH4R_8g1@ssl.eumx.net> <53FE68BF.3090205@skarnet.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409182656 440 80.91.229.3 (27 Aug 2014 23:37:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 23:37:36 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5962-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 28 01:37:29 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XMmmO-0003zb-So for gllmg-musl@plane.gmane.org; Thu, 28 Aug 2014 01:37:28 +0200 Original-Received: (qmail 29909 invoked by uid 550); 27 Aug 2014 23:37:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 29901 invoked from network); 27 Aug 2014 23:37:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ka5XPuwEUXOaDvQ7Xpl8t2wSyzuhfooRMSg0G02srGo=; b=Ubr808+2fO9QHL4imrK8Q9nYQNlFW7g0FkQiOTH/RWjbR3ZvxnsyVQkBO8TPOzfGkF TnSc8sHLU7MZQJHjtcXgeMKX71gtxRaqjuvP/BYsK8l1UnQczfBHv3aB6P9AdLa9vFqk nt0Es/z/LmuJsEAJZCMTmLL+dZICOEglxZEI5QdsMfJ9kDaTUHnV2/cxQ0jEm0t1DMgL SY9lBpPWQalfCr0iOaKFN289UvX8zLSJmDCGRBwYH5EeWTZagcUBETREtt0xMRO+5Yk0 1LLW2u20yZWfjR364iImPKz0PfhD1q4tC9opkPxBw03nlmMjWzkrrc0x0ODqR5T60xQ8 R5Tg== X-Received: by 10.60.161.49 with SMTP id xp17mr345637oeb.18.1409182636016; Wed, 27 Aug 2014 16:37:16 -0700 (PDT) In-Reply-To: <53FE68BF.3090205@skarnet.org> X-Mailer: Apple Mail (2.1878.6) Xref: news.gmane.org gmane.linux.lib.musl.general:5955 Archived-At: On Aug 27, 2014, at 6:24 PM, Laurent Bercot wrote: >> Node.js spends a lot of time throwing uncaught exceptions; I suspect >> transitioning to S5 will be less common than node just dying. > > Then it's all the more reason to *not* run it as process 1. > If Node.js dies unexpectedly, you want to restart it automatically, > or at least to reboot; you do not want a kernel panic and a > maintenance call. > > >> Perhaps this would be ok with a stateless netbooted ramdisk as a >> root fs. > > Kernel + libc + Node + all the needed node modules, netbooted ? > Now I know why the terminals at my train station are so slow. :P > > -- > Laurent > IIRC the pfsense ands m0n0wall firewalls run PHP as process 1, so I guess something like this is not unheard of. But, they do run from a ramdisk as well.