Re: [Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...

From: Corey Wright <undefined_at_pobox.com>
Date: Sun 13 May 2007 - 02:20:01 BST
Message-Id: <20070512202001.d489a8b4.undefined@pobox.com>

On Sat, 12 May 2007 17:36:24 +0200
Herbert Poetzl <herbert@13thfloor.at> wrote:

> On Sat, May 12, 2007 at 09:13:19AM +0200, Jan Zuchhold wrote:
> > The problem is caused by running out of space on /tmp.
> > You mount that on tmpfs, specified in fstab in the
> > vserver-config dir:
> > >>>>
> > none /tmp tmpfs size=16m,mode=1777 0 0
> > >>>>
> > If you remove or comment-out this line (or increase
> > the size), it works.
>
> nice one, tx, btw, 16MB for /tmp should be more
> than sufficient for properly written programs,
> (larger temporary files go to /var/tmp)

i must respectfully disagree. i have never heard of such a rule and the
FHS
(http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE)
doesn't include that justification either.

and that is why i am on record as saying:

> btw, i hate that useless default 16 MB tmpfs mount within the guests and
> removing it from /etc/vservers/guest/fstab is one of the first things i do
> upon creating a new guest.
- http://www.paul.sladen.org/vserver/archives/200702/0014.html

when i last cared to check which directory applications used for temporary
files (to insure libpam-tmpdir, "automatic per-user temporary directories",
was effective) i only ever saw used "/tmp" (hard-coded unfortunately), TMP,
or TMPDIR and those variables do not distinguish between maximum temporary
file size.

i consider this the only "wart" of linux-vserver.

corey

-- 
undefined@pobox.com
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun May 13 03:38:45 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 13 May 2007 - 03:38:48 BST by hypermail 2.1.8