Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D474CFB7A for ; Tue, 6 Aug 2013 10:28:50 +0000 (UTC) Received: (qmail 14946 invoked by uid 500); 6 Aug 2013 10:28:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14716 invoked by uid 500); 6 Aug 2013 10:28:46 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 14607 invoked by uid 99); 6 Aug 2013 10:28:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 10:28:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of icicimov@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-ee0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 10:28:41 +0000 Received: by mail-ee0-f52.google.com with SMTP id c41so124544eek.11 for ; Tue, 06 Aug 2013 03:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=C/Cf91s/OG5549h7d/BgN8+fzvMShV5Z34y4MKnCO/M=; b=bpn3pED+mFsr0kNJhWtcvw3twFVPU+M4ALa4JWJvbfrn4pO10ksQu+FeCmensRxfU2 tr4zWuNIbFPwYM9Je2IG52VvVvcG3hmoJlvntrzjO8GXOvHk63QlvTmhDJsn1YQAsQ0W 3TUHFsdMmwGXCl7cU78iT1fvzFTywMGs8gj1X9QsnqPbhV/3yJ9O1aRK19uXzfG7wQVe TGNZPzQGGSU4yOKpBeu7D33QlLIT7Sz1mUI4ZLP7FJuscHfpGa57HvsylCZjY7gQHOgH D3FP6/+eA7xUj/A2yu7jpidJ0BoA1fdbmL3CALIYxvH3WKrNtAT5uTVz4I09equFdzEu wz5g== MIME-Version: 1.0 X-Received: by 10.15.36.133 with SMTP id i5mr523441eev.149.1375784900195; Tue, 06 Aug 2013 03:28:20 -0700 (PDT) Received: by 10.223.68.206 with HTTP; Tue, 6 Aug 2013 03:28:20 -0700 (PDT) Received: by 10.223.68.206 with HTTP; Tue, 6 Aug 2013 03:28:20 -0700 (PDT) In-Reply-To: <7215BA462D00D343B2837F9113F0131F01819F3DD1@POSTOFFICE02.polydyne.com> References: <51F7D27D.4080909@gmail.com> <51FC7945.2040407@christopherschultz.net> <7215BA462D00D343B2837F9113F0131F01819F3DD1@POSTOFFICE02.polydyne.com> Date: Tue, 6 Aug 2013 20:28:20 +1000 Message-ID: Subject: RE: [OT] Using the bin/daemon.sh script on ubuntu. From: Igor Cicimov To: Tomcat Users List Content-Type: multipart/alternative; boundary=089e0168163443978004e344e266 X-Virus-Checked: Checked by ClamAV on apache.org --089e0168163443978004e344e266 Content-Type: text/plain; charset=ISO-8859-1 On 06/08/2013 12:40 AM, "Jeffrey Janner" wrote: > > > -----Original Message----- > > From: Christopher Schultz [mailto:chris@christopherschultz.net] > > Sent: Friday, August 02, 2013 10:30 PM > > To: Tomcat Users List > > Subject: Re: [OT] Using the bin/daemon.sh script on ubuntu. > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA256 > > > > Christian > > > > On 8/1/13 11:55 AM, Christian Schneider wrote: > > > On our (AWS) installation we have limited space on /opt, therefore we > > > attached an EBS volume to /var/, - otherwise we would get problems > > > with the log files. Now it can grow above some GB. > > > > Have you thought about using /mnt/ephemeral[0-9]? > > > > Our instances have ~1TiB in combined ephemeral storage available per > > instance. I'm sure it depends upon the instance type, though. Remember > > that terminating the instance loses the ephemeral data.. that's what > > makes it ... ephemeral. Just remember to copy what you need back to an > > EBS-backed storage volume before you terminate. > > > > - -chris > > Chris, > If I remember my empirical testing of the AWS ephemeral storage system, you actually lose data on shutdown, not termination. Not true, the ephemeral data is only lost on instance termination. > On my Linux boxes, I use the ephemeral storage for swap space because of that issue, and really nothing else, though /tmp is a second possibility. The big thing about using it, for anything, is you have to code a special startup script to format it at every boot, as it comes back as raw disk. Figuring out how to do that for swap was fun, but it's great now (I've got loads of swap space that I'll probably never ever use.) > Jeff > --089e0168163443978004e344e266--