OpenVZ Forum


Home » Mailing lists » Users » Change the size of /tmp in openvz?
Change the size of /tmp in openvz? [message #44860] Tue, 10 January 2012 10:05 Go to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
Hi,

I am trying to change the size of the /tmp directory which is currently of 1GB:

============================================================ ========
root@bob /etc/vz/dists [41]# vzctl enter 998
entered into CT 998
root@testing:/# mount
/dev/simfs on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,size=5120k,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=490536k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=981072k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=981072k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
root@testing:/#
============================================================ ========

Any idea where to change that value of "981072k"? I am digging into
the config files and elsewhere, but I cannot figure out from where
this value comes from.

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Change the size of /tmp in openvz? [message #44863 is a reply to message #44860] Tue, 10 January 2012 10:38 Go to previous message
Martin Dobrev is currently offline  Martin Dobrev
Messages: 14
Registered: November 2006
Junior Member
As far as I know it comes from the size of your RAM.

Martin Dobrev

Sent from iPhonespam SPAMSPAM 4

On 10.01.2012, at 12:05, Benjamin Henrion <bh@udev.org> wrote:

> Hi,
>
> I am trying to change the size of the /tmp directory which is currently of 1GB:
>
> ============================================================ ========
> root@bob /etc/vz/dists [41]# vzctl enter 998
> entered into CT 998
> root@testing:/# mount
> /dev/simfs on / type simfs (rw,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,size=5120k,mode=755)
> tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=490536k,mode=755)
> tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=981072k)
> tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=981072k)
> devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
> root@testing:/#
> ============================================================ ========
>
> Any idea where to change that value of "981072k"? I am digging into
> the config files and elsewhere, but I cannot figure out from where
> this value comes from.
>
> Best,
>
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-4148403
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
Previous Topic: broken precreated templates
Next Topic: openvz container migration
Goto Forum:
  


Current Time: Sat Apr 27 23:32:30 GMT 2024

Total time taken to generate the page: 0.02560 seconds