LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Increasing /tmp size (https://www.linuxquestions.org/questions/linux-general-1/increasing-tmp-size-20024/)

anilkumarby 05-02-2002 10:17 AM

Increasing /tmp size
 
Hi,
When I do a 'startx', X-Server crashes with error message:not enough space in /tmp. How do I increase this swap space?

Thanks
Anil

shoot2kill 05-02-2002 10:27 AM

u can create a swap partition using fdisk or a swap file with dd,

2 steps to make the swap space active:

1.)mkswap
2.)swapon

you should create entries in the /etc/fstab for each new swap area you create,

for more information, use man mkswap

trickykid 05-02-2002 02:21 PM

Re: Increasing /tmp size
 
Quote:

Originally posted by anilkumarby
Hi,
When I do a 'startx', X-Server crashes with error message:not enough space in /tmp. How do I increase this swap space?

Thanks
Anil

Couldn't you delete what's in there, it is only temp files that usually aren't needed. How big is the partition for your /tmp directory ??

anilkumarby 05-02-2002 10:48 PM

Thanks for the replies.
The size of /tmp is 600MB and also I cleaned it several times.

growler 05-03-2002 03:18 AM

Quote:

Originally posted by anilkumarby
Thanks for the replies.
The size of /tmp is 600MB and also I cleaned it several times.

:confused:

something else is going on then. my /tmp directory is a 64MB tmpfs device.

tmpfs /tmp tmpfs rw,size=64m 0 0

so 600MB should be far, far more than you need.


All times are GMT -5. The time now is 07:50 PM.