LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-24-2006, 02:17 AM   #1
batev
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
No space left on the device


I have Slack 10.2 on a 6 GB partition. My /tmp directory is always filling up. Today I could not start the distro in runlevel 4 - it just stuck when trying to start the X11 manager. I had to manually delete everything from the /tmp directory and now I have more than a GB free disk space.
I also cannot copy a 3 GB file from a dvd to another partition - is the information always first going through the /tmp directory?
How can I make the system perform self clean-up of the /tmp directory?
 
Old 05-24-2006, 03:11 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That is pretty odd, I don't know why it would fill /tmp up so quickly.

To clear the files in /tmp, you could add something like "rm -rf /tmp/*" to your boot scripts.
 
Old 05-24-2006, 03:09 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
You might also want to consider setting up a partition that mounts to the '/tmp ' directory. This way if it fills up you will not get a system failure.

regards,
...drkstr
 
Old 05-24-2006, 03:14 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
If you have lots of memory to burn for something, you could try setting up your /tmp as tmpfs.
 
Old 05-24-2006, 03:18 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,381

Rep: Reputation: Disabled
Quote:
Originally Posted by batev
My /tmp directory is always filling up.
When you delete the files in /tmp manually, do you also check what you delete? Having so much piling up in /tmp is not a good sign IMO - are processes constantly crashing, do you abort many downloads, stuff like that? Web browsers will download to /tmp for instance and only copy the downloaded file to the location you specified after 100% completion.

Quote:
I also cannot copy a 3 GB file from a dvd to another partition - is the information always first going through the /tmp directory?
What do you use to copy? Not the "cp" command I gues... The GUI programs will often use /tmp as intermediary, too.

Eric
 
Old 05-24-2006, 03:19 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
If your /tmp is on the same partition as /var then it might actually be your log files that's filling up and not /tmp. Once, on my laptop, my syslog and messages files were growing above 50MB each. To change that I created a cron job to rotate them more often.
 
Old 05-25-2006, 03:40 AM   #7
batev
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks guys. I have not noticed often crashing processes on my system. Moreover I'm trying to keep myself from touching too much settings - so almost everything on my system is as it is by default. I also use cp for copying and I have the same problem with it
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No space left on device clintdavis Linux - Software 2 05-04-2006 11:38 PM
No space left on device (28) AllanBC Linux - Software 3 04-03-2006 04:55 AM
no space left on device, but it has enough!!! help!!! sarah21 Red Hat 3 02-03-2005 09:37 PM
No space left on device xfgao Red Hat 27 01-13-2005 05:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 01:05 AM


All times are GMT -5. The time now is 04:52 PM.

Main Menu
Advertisement
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