LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-02-2002, 10:17 AM   #1
anilkumarby
LQ Newbie
 
Registered: Feb 2001
Location: India
Distribution: RedHat
Posts: 24

Rep: Reputation: 15
Angry 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
 
Old 05-02-2002, 10:27 AM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
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
 
Old 05-02-2002, 02:21 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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 ??
 
Old 05-02-2002, 10:48 PM   #4
anilkumarby
LQ Newbie
 
Registered: Feb 2001
Location: India
Distribution: RedHat
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the replies.
The size of /tmp is 600MB and also I cleaned it several times.
 
Old 05-03-2002, 03:18 AM   #5
growler
Member
 
Registered: Apr 2002
Posts: 84

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


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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
increasing partition size Don Powell Linux - Hardware 3 06-23-2005 09:14 AM
increasing heap size podollb Linux - Software 3 03-06-2005 11:42 PM
Increasing the text size in X gianh Linux - General 2 02-21-2004 05:42 PM
Increasing partition size?? petey *BSD 5 04-25-2002 07:24 AM
Increasing Partition Size? petey Linux - General 1 04-24-2002 11:33 AM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration