Re: [Vserver] Enlarge /tmp partition

From: Chuck <chuck_at_sbbsnet.net>
Date: Wed 13 Dec 2006 - 23:57:53 GMT
Message-Id: <200612131857.54223.chuck@sbbsnet.net>

On Wednesday 13 December 2006 16:21, Oliver Welter wrote:
> Hi Alejandro,
>
> > LibClamAV Error: wrote 0 instead of 512
> > (/tmp/clamav-67ea3a8be7a9faa9/main.ndb)
> > cli_untgz: no space left on device
> >
> > In my /etc/vservers/virtual1/fstab I have this line related to /tmp:
> >
> > none /tmp tmpfs size=16m, mode 1777 0 0

i agree with below.. i have ours that run clamav set to size=64m and no
software complains. :)

> >
>
> The /tmp is a memory based filesystem in that xase - this means it is
> entirely kept in the machines RAM. You have 16M what is too small for
> clamav - you can enlarge the size by just puttingthe wanted number in
> the parameter "size=XXXm" (you must restart the vserver afterwards).
>
> Note that this will consume RAM ressources, if you have plenty of them,
> thats okm otherwise you should map /tmp to a new partition or, if you
> dont have one left, drop the mointpoint and put it on the /var partiion
> with a symlink ("ln -s /var/_tmp /tmp")
>
> Oliver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Dec 13 23:59:30 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 13 Dec 2006 - 23:59:36 GMT by hypermail 2.1.8