Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Posts
    37

    Unhappy /tmp is full, but not!

    On 2 of my WHM servers now, I am seeing the /tmp partition fill up to 100% according to "df". However, when I take a look and use the "du" utility, I am seeing a tiny amount of space used. I even resized one of the partitions to over 4GB and it still fills up but shows no signs of actually being full. I can go through the files in it and see not one file over maybe 100K and a total of only 10 or 20 files. I AM using the /usr/tmpDSK securetmp script from cPanel. When I reboot the server, all is OK, but how can I see what is taking up the space???

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Two possibilities:

    1. The virtual partition created with securetmp is corrupt and you need to delete and recreate it

    2. Deleted files are still open in /tmp and will count against the disk space. You can check for those with:

    lsof | grep /tmp
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Posts
    37

    Default

    Is there a way to forcibly removed the open but deleted files?

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You have to kill or restart the processes that have them open to do that.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. /tmp full
    By constantine in forum Optimization
    Replies: 6
    Last Post: 09-30-2010, 11:21 PM
  2. /tmp full
    By sampride in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-08-2008, 08:31 PM
  3. /TMP is getting full
    By jasgot in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-25-2008, 08:45 PM
  4. /tmp full
    By hikaro in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 10-29-2007, 02:17 AM
  5. /tmp full again :(
    By azooz25 in forum New User Questions
    Replies: 1
    Last Post: 05-06-2005, 10:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube