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 BD36D1007B for ; Wed, 7 Aug 2013 03:53:00 +0000 (UTC) Received: (qmail 70891 invoked by uid 500); 7 Aug 2013 03:52:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 70829 invoked by uid 500); 7 Aug 2013 03:52:57 -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 70820 invoked by uid 99); 7 Aug 2013 03:52:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 03:52:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [76.96.62.40] (HELO qmta04.westchester.pa.mail.comcast.net) (76.96.62.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 03:52:52 +0000 Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43]) by qmta04.westchester.pa.mail.comcast.net with comcast id 9fcj1m0040vyq2s54fsBHz; Wed, 07 Aug 2013 03:52:11 +0000 Received: from Christophers-MacBook-Pro.local ([71.232.232.167]) by omta05.westchester.pa.mail.comcast.net with comcast id 9fsA1m00t3dMwMT3RfsBmS; Wed, 07 Aug 2013 03:52:11 +0000 Message-ID: <5201C46F.8060303@christopherschultz.net> Date: Tue, 06 Aug 2013 23:52:15 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: [OT] Using the bin/daemon.sh script on ubuntu. References: <51F7D27D.4080909@gmail.com> <51FC7945.2040407@christopherschultz.net> <7215BA462D00D343B2837F9113F0131F01819F3DD1@POSTOFFICE02.polydyne.com> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1375847531; bh=yM3Qz+3p63spOJ0BN2UJoj47HLOHz3a61qkCnOLVbOY=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=bBBP/RASx3eynnkSnsrqK7RrT4wvXhNv6y1/QDKVIJfcbnrQdQRRzZfWx9wB1UMEz Ozb+ngqKlJk6WiYnQmgqNGsE3/9GJEii7fJiGC4q/UhcYf1GK0Kwhy+mSSkbxCejWS yJIWGnxmleniL7aRm9tpY+uBH00J4SDE/tbbhNWMNFGOVQP3vEr8dIWz2Nwmn4GECP jfQiPCW40AdWzxvcH0H7imjAshCYvyK9tVzk06ZGNcExRBIq32t1waFai3hTashMv+ b0u+2e+t+CO+y9eOlELu2D1Tm/4UUoNxj3mn0YfnENW/agagJBsoyIWj6ws1p9tyEF X+PQOSi5DtbxQ== X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Igor, On 8/6/13 6:28 AM, Igor Cicimov wrote: > 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. Confirmed -- at least with "shutdown -r", and on an m1.large instance - -- /mnt/ephemeralX retains files across reboots. I didn't do a "stop" and "start" from the GUI or anything like that, though. I think you're supposed to be able to rely on ephemeral storage. The thing is that it's not EBS-backed: it's actually only on the physical server that you get when you launch an instance. When you shut-down, the data stays on the physical machine and you can only get to it again when you boot the same instance on the same machine. Since AWS always runs instances on the same physical hardware every time, you're good unless you /terminate/ (i.e. discard) the instance. Honestly, I was a bit surprised to find out that each time you launch an instance it doesn't just get launched on some random piece of equipment. That would seem more flexible (if wasteful: moving GiBs of data around to various hosts isn't exactly fast) to me. On more than one occasion, I've had an instance start acting funny and shortly thereafter, I get an email from AWS saying that they will be terminating my instance in a few days. You can't just "migrate" the VM to another piece of hardware. Instead, you have to image the VM, create an AMI from that image, create a new instance with that AMI, and destroy the old instance. (Then delete the old image *and* EBS store, otherwise you continue to pay for the disk space taken up by an instance that will never again be launched). Pain in the neck. I think you can create an AMI directly from a running instance these days (probably for this exact reason). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSAcRtAAoJEBzwKT+lPKRYogQQAKGd+eI4KbJ3Y9aSrS73iZ3g BIHxDL5EvZ+45KKIzKWZAEu5ojjJhT9eR8szwt19yR3ZxleGGFgiU202W+RRVMCN fw3saTN34QTDR2R+16zoqgX2CvdJm16exiXzurq5M941nsJHyZY3LL7WyVkAkW22 Q3xIQEYlR9t1LckxPJNRuw8Ix0qEHD/dVcOucTDBI9MVWKLny4MTJzdb9mCdb+1T fDza8JtQxOvywhFb4aVwkO1YRP4RYjswAH5mXDMcfFvWeZse7u+4tahvPkAwxkc/ DKkWA7l+ltC7dy95N4Ge+vErkCYMruwc6xCvFM+rfk95Bw+WdhpZ4zoE9nX304Ku Y/pvljaPJhPDxldEnEVKqpfd9Zu/6GIximFTFDJ2zDzZ4XWSpR6sUpVGbK38x7oX NT1j2k36IU6jfog/Z2f4Hq6ZI1jc8hFix0trP+zqhzyMibbkek+mMwm2M+Z/jv8F AxYl1qnXsxRzZQ/Ja6gu00aem3x77LFqzkpu0wgbDnjt6iA1xqMft+UL2bXA+0Ba UPPAAi/xrf8MXjOBAc0IR2Oo/UIe2hw8m/pCwVvOYowSwnKaCj3oD8SNFZ4/fuRS slVaDu8t9+73GDE6m2kOZ1mZQ8koZ76nIp6bS/bvOOWzatni7iOL3DnYl6LpXUUk utx9mVW7vkYe+2OZfdPR =2YAn -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org