Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-24-2006, 01:17 AM
|
#1
|
Member
Registered: Sep 2005
Distribution: Slackware
Posts: 56
Rep:
|
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?
|
|
|
05-24-2006, 02:11 AM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
05-24-2006, 02:09 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
05-24-2006, 02:14 PM
|
#4
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012
Rep: 
|
If you have lots of memory to burn for something, you could try setting up your /tmp as tmpfs.
|
|
|
05-24-2006, 02:18 PM
|
#5
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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
|
|
|
05-24-2006, 02:19 PM
|
#6
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,275
Rep:
|
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.
|
|
|
05-25-2006, 02:40 AM
|
#7
|
Member
Registered: Sep 2005
Distribution: Slackware
Posts: 56
Original Poster
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 12:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|