LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2012, 05:39 PM   #1
forbinproject
LQ Newbie
 
Registered: Nov 2011
Distribution: Debian Testing (Wheezy)
Posts: 22
Blog Entries: 1

Rep: Reputation: Disabled
/tmp full already? wtf?


I haven't even been running LMDE for a week and I've started encountering troubles with the /tmp folder being full. I've run Bleachbit as a regular user and as root and I'm still getting the problem. I can't even download a document from my gmail account! What is the problem? What do I need to do to fix it?

This is the error message: There is not enough room on the disk to save /tmp/8kGEfg+M.doc.part. Remove unnecessary files from the disk and try again, or try saving in a different location.
 
Old 08-26-2012, 06:05 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200
Where is your /tmp mounted? Can you provide the output of df -h? Why don't you just go to /tmp and delete some unnecessary stuff?
 
Old 08-26-2012, 06:14 PM   #3
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 164

Rep: Reputation: 18
What stuff is in /tmp?

And btw: Could you type in
ls -sF /tmp
That will tell you what files are there.
You might need to look recursively (i.e. all the files in ALL the directories under /tmp), so type
ls -sRF /tmp
 
Old 08-26-2012, 11:15 PM   #4
forbinproject
LQ Newbie
 
Registered: Nov 2011
Distribution: Debian Testing (Wheezy)
Posts: 22
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
@sycamore @linuxStudent11

Here is the output:

m31@m31 ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 15G 4.7G 9.3G 34% /
udev 1.5G 0 1.5G 0% /dev
/dev/disk/by-uuid/df976b49-8d23-4b5a-a864-279116af2d9b 15G 4.7G 9.3G 34% /
tmpfs 302M 868K 301M 1% /var/run
tmpfs 5.0M 0 5.0M 0% /var/run/lock
tmpfs 603M 12K 603M 1% /tmp
tmpfs 603M 76K 603M 1% /var/run/shm
/dev/sda1 497M 41M 432M 9% /boot
/dev/sda4 281G 4.7G 262G 2% /home
/dev/sdc1 1.9T 178G 1.7T 10% /media/Elements
m31@m31 ~ $ ls -sRf /tmp
/tmp:
. mintUpdate keyring-uvPZUg pulse-PKdhtXMmr18n
.. .esd-1000 .X0-lock
orbit-m31 pulse-iUzahEcaYatj .ICE-unix
virtual-m31.k2ZA53 ssh-vYCTljCO1873 .X11-unix

/tmp/orbit-m31:
. ..

/tmp/virtual-m31.k2ZA53:
. ..

/tmp/mintUpdate:
. .. Mr8dJx

/tmp/.esd-1000:
. .. socket

/tmp/pulse-iUzahEcaYatj:
. .. dbus-socket native pid

/tmp/ssh-vYCTljCO1873:
. .. agent.1873

/tmp/keyring-uvPZUg:
. .. gpg pkcs11 ssh control

/tmp/.ICE-unix:
. .. 1873

/tmp/.X11-unix:
. .. X0
ls: cannot open directory /tmp/pulse-PKdhtXMmr18n: Permission denied
 
Old 08-27-2012, 12:09 AM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,353

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
Your /tmp directory has 600MB free. What size files are you trying to download?

It looks like your /tmp directory is mounted in tmpfs, which is RAM. Perhaps you don't have enough RAM available to store your downloaded file? Since your /tmp directory is located in RAM, you can re-size it at will. If you're downloading very large files, maybe you should consider increasing the size of your /tmp tmpfs partition (assuming you have enough RAM), or changing your download directory to somewhere on the disk drive.
 
1 members found this post helpful.
Old 08-27-2012, 02:31 AM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200
Also what's the output of:

Code:
free -m
Please wrap the output in the code tags.

How exactly is /tmp mounted? I mean do you limit its size in /etc/fstab?
 
Old 08-27-2012, 01:35 PM   #7
forbinproject
LQ Newbie
 
Registered: Nov 2011
Distribution: Debian Testing (Wheezy)
Posts: 22
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Re: /tmp full wtf

@suicidaleggroll, I have 3 gb of RAM. How would I re-size it? I'm sorry. I've only been using Linux for a little under a year. Please be patient. How do I change the download directory?

@sycamorex, I'd be happy to wrap in code tags if I knew what you meant. Now is as good time as any to learn. I haven't a clue about how it's mounted, or whether its size is limited. It's a default install. I'm happy to accommodate, and I want to learn. At present, I'm not sure how to acquire such information.

m31@m31 ~ $ free -m
total used free shared buffers cached
Mem: 3013 1180 1833 0 32 626
-/+ buffers/cache: 522 2491
Swap: 1999 0 1999
 
Old 08-27-2012, 01:38 PM   #8
forbinproject
LQ Newbie
 
Registered: Nov 2011
Distribution: Debian Testing (Wheezy)
Posts: 22
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Re: /tmp full wtf?

m31 etc # cat fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=52c45ddd-a07e-4804-b28b-17df170eac65 /boot ext4 rw,errors=remount-ro 0 0
# /dev/sda2
UUID=093631e9-6f60-4d38-9f02-0c8839e65004 swap swap sw 0 0
# /dev/sda3
UUID=df976b49-8d23-4b5a-a864-279116af2d9b / ext4 rw,errors=remount-ro 0 1
# /dev/sda4
UUID=8cd74077-c88a-47ba-a498-148f00dcfe9c /home ext4 rw,errors=remount-ro 0 0
 
Old 08-27-2012, 01:48 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,353

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
That's the entirety of /etc/fstab? I don't see any entries for /tmp...odd. Maybe somebody who knows more about Mint could comment on that.

Anyway, you can resize it using the command here:
http://www.linuxquestions.org/questi...3/#post4692138
 
Old 08-27-2012, 02:38 PM   #10
forbinproject
LQ Newbie
 
Registered: Nov 2011
Distribution: Debian Testing (Wheezy)
Posts: 22
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
@suicidal. Yes that's the entire cat of /etc/fstab. There's fstab.d as a folder with . and .. in it. Is there a way to change it to use disk space and have it so that bleachbit will clear it out when I ask it to? I plan on doing a lot of scanned images of my students' papers, so that I have backups.

Please understand I want to learn all this stuff so much. My goal is use only open source solutions to teach my classes, and then hopefully start creating vlogs to help other non-computer-science teachers do the same. Forcing myself to use only open source is the only way I'm going to learn.

This /tmp problem is explaining a lot to me concerning another issue. I was having problems with trying to do multiple scans with simple scan and xsane. (I tried xsane just in case.) It would only do one or two scans and then just keep trying to complete the job and then elicit a force quit or wait message. I wish I had thought of it myself. That explains why restarting the system makes it work again.
 
Old 08-27-2012, 02:57 PM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,775

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
When /tmp doesn't have a partition it's on / (root drive), /dev/sda3 in your case. Post the output of df -h and beware some things write hidden files in /tmp. ls -a to spot those (they begin with a .)
 
Old 08-27-2012, 02:58 PM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200Reputation: 1200
As long as you've got a lot of storage on your hd, you could mount /tmp on the hd, as opposed to tmpfs. Have a look at this thread to remount /tmp on your hd.

Alternatively, you can change the download folder. How do you download the stuff? Is it through Firefox or any other program?

As far as code wrapping is concerned, whenever you post any code/output, wrap it around code tags.

1.Click "Go Advanced"
2. Highlight your code
3. Click the # button above the contents of your post.
 
1 members found this post helpful.
Old 08-27-2012, 03:40 PM   #13
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,353

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
Quote:
Originally Posted by business_kid View Post
When /tmp doesn't have a partition it's on / (root drive), /dev/sda3 in your case. Post the output of df -h and beware some things write hidden files in /tmp. ls -a to spot those (they begin with a .)
He already did in post #4, and /tmp is on tmpfs.
 
Old 08-27-2012, 03:51 PM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,775

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Sorry, my bad. I have 2 /tmp directories on 2 distros here. 1 is 3megs (regularly cleaned( and one is 728mb, 603Meg is hardly enough imho unless you're tight on space.
 
Old 08-27-2012, 03:54 PM   #15
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,116

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
The control for whether /tmp gets mounted as a tmpfs (i.e., in RAM) is in /etc/default/tmpfs. See http://forums.linuxmint.com/viewtopi...104060#p591706
 
1 members found this post helpful.
  


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
Can't login, says tmp directory full but tmp file is empty! Could be linked to MySQL? bethanlowder Fedora 7 09-25-2009 08:17 AM
/tmp directory is full? Moses420ca Linux - Newbie 13 01-21-2005 08:48 PM
/tmp is full... benny Linux - Newbie 4 12-10-2003 05:59 AM
/tmp/ is full (so it sayz) the Linux - Newbie 5 04-03-2003 09:15 AM
My /tmp is full FNC Linux - General 3 06-05-2001 04:35 PM


All times are GMT -5. The time now is 03:02 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration