> -----Original Message-----
> From: Christopher Schultz [mailto:ch...@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.
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

Reply via email to