Wolfgang Schweer wrote:
> > From [EMAIL PROTECTED] Fri Mar 29 11:57:49 2002
> > df shows that tmpfs is limitted one half of physical RAM;
> that's the default. You can overwrite this by skipping the entry in
> /etc/fstab and using instead a line like this one in rc.local:
> 
> mount tmpfs /tmp -t tmpfs -o size=40m
> 
This fixed this for me; the biggest I could get was a 6,600 GB
filesystem.  This will probably be enough for now ;-)

I haven't got anywhere near that much swap space, which brings up the
question of how well tmpfs will respond in low-memory situations.


> Perhaps one can solve the problem posted to the list a few days ago:
> Apps want to write to /tmp, but /tmp is limited to 1MB by default.
> Having tmpfs mounted on /tmp, this limit does not exist, cause swap is
> used automagically by tmpfs.

I had an assistant set up a test server for a demonstration last week. 
He forgot to allocate a partition for /tmp and the root filesystem
filled up ten minutes before I started the demonstration.  Mounting a
tmpfs on /tmp got me through the demo.  This thread saved me a lot of
embarassment.  Wolfgang, thank you.

-David

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to