Jump to content


Photo

tmp full

tmp

  • Please log in to reply
3 replies to this topic

#1 Nat Robertson

Nat Robertson

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 19 February 2012 - 07:20 PM

In short...

Disk /dev/sda7 (/tmp) 100 %

How can I fix this?

None of my web base apps (including webmail) are working because they cannot save anything to /tmp

(and I am having trouble searching for previous topics on this because "tmp" is not 4 character minimum)

#2 Andy Johnson

Andy Johnson

    Advanced Member

  • Administrators
  • 339 posts
  • LocationLondon, UK

Posted 22 February 2012 - 04:53 AM

Hey Nat,

Whats your primary domain, so we can figure out which server you are on?
-----

Andy Johnson
Eleven2 Creative Director.

http://twitter.com/andy92

#3 peleus

peleus

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 05 August 2012 - 09:03 AM

Hi Nat, I'm just wondering on how you were able to resolve this?
When in doubt, use brute force. Posted Image

#4 Tom Hall

Tom Hall

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationEssex, England

Posted 05 August 2012 - 03:30 PM

Hi Nat, I'm just wondering on how you were able to resolve this?


Everything in a tmp folder can be deleted.

If you go to File Manager in cPanel and go to the root folders, you will see a folder "tmp" within that directory, like so:

Posted Image

If you double click the folder to reveal what's inside, depending on how much you've used, you will see several folders, some of which you will recognise:

Posted Image


If you aren't sure what applications are still using the files within the tmp folder and you have shell access, here's what you can do:

Use the following command to find files that have been accessed in the last few days


find /tmp/ -atime +1 -print0 | xargs -0 rm -f

Find out which applications are still using files within the tmp folder by using the following command:


lsof | grep "/tmp"

Once you know which ones haven't been used in a while and aren't currently being used by any applications currently, then those are the files you can go ahead and remove, freeing up space within your TMP Folder.

If you don't feel comfortable doing this then leave it up to support to do for you, just submit a ticket here: http://www.eleven2.com/help/

If you don't have shell access you can request it from tickets, but by the time you've done that you may as well have asked for them to clear your tmp folder (Or just done it knowing what folders you can safely delete without checking).

Hope this is of some help to you :)

EDIT: FYI, NEVER REMOVE LOG FILES FROM TMP UNLESS YOU ARE 100% CERTAIN YOU KNOW WHAT YOU'RE DOING

Edited by Tom Hall, 05 August 2012 - 03:32 PM.

DevDiscount.com - Discount Vouchers on Premium Themes, Templates, Software, Hosting, Domain Names & more!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users