Moving /tmp

Hi,
I recently had someone setup a vserver for our development area. The configuration has a very small /tmp, as shown below:

Quote:

/etc# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdv1 9.4G 6.3G 3.1G 68% /
none 16M 3.6M 13M 23% /tmp

16M is nowhere near big enough for the (PHP/Apache2) applications we are building.

what is the best/easiest method of either increasing the size of /tmp , moving it to another (larger) partition or have Apache/PHP write temporary files to another directory?

Thanks in advance
Barry

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Moving /tmp

hi,
well we figured that this is internal so we simply moved /tmp to another partition.

Not elegant, but effective.

Wouldn't do this on a production machine.

Barry

Stay well, get involved....

Syndicate content