El Vie 07 Mar 2003 20:24, Jack Coates escribi� sabiamente:
> I have 384M of RAM and I'm using VMWare. Currently I give it 128M to
> play with, which because of that shared memory tmpfs Solaris-like voodoo
> is implemented under /tmp.
>
> For whatever reason, my system has set a maximum size of 188M on /tmp.
>
> Since upgrading (downgrading) my VMWare image from W98 to W2k, I'd like
> to increase the amount of memory it has to work with -- however, if I go
> past 128M it rapidly fills up /tmp and VMWare barfs.
>
> How can I increase the amount of tmpfs space in /tmp?
>
> Failing that, why the tmpfs voodoo and is there anything wrong with
> blowing it away and using plain old fashioned disk space for /tmp?
>
> thanks,

Maybe the problem is that your /mnt is a mountpoint for a tmpfs, and tmpfs is 
limited to your memory. Yes, maybe you can use swap (I don't know) for tmpfs, 
but IMHO the best solution is:
- Edit your /etc/fstab
- Delete the line related to /tmp mountpoint:
  (In my case: "none /tmp tmpfs defaults 0 0")
- Reboot
Now tmp files will be stored in your harddisk, not in ram.
The limit of the tmp folder will be the limit of your / partition (of course 
you can mount some other partition in /tmp to get more space;)
OTOH, from now you shoud use tmpwatch to clean the /tmp folder (man tmpwatch).
Best regards,
-- 
�scar Santacreu
Usuario de Linux Registrado #227443
http://counter.li.org/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to