Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

The filesystem “/var/tmp” mounted at “/var/tmp” reached “warn” status

Discussion in 'General Discussion' started by linux-tech, Aug 10, 2016.

Tags:
  1. linux-tech

    linux-tech Member

    Joined:
    Jun 15, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hello,


    I have received the following warning from my cPanel server.
    Code:
    ===================
    Disk usage warning
    The filesystem “/var/tmp” mounted at “/var/tmp” reached “warn” status because you currently use 84.21% of its available blocks.
    
    Notification Type: warn ⚠
    Server: hostname.net
    Primary IP Address: xx.xx.xx.xx
    Filesystem: /var/tmp
    Mount Point: /var/tmp
    Percent Used:
    84.21%
    Disk Block Usage:
    Used: 3.12 GB
    Available: 636.36 MB
    Total: 3.94 GB
    ChkServd Version: 17.0
    
    
    And checking the /tmp directory I can see the folder is filled with session files.
    
    ============
    -rw-------              0 Apr  8 14:31 sess_vu36vrj8dm64m0e145mdasnql7
    -rw-------                0 Aug  9 08:28 sess_vu5uuoug52mmfmj49s3ig246f4
    -rw-------                0 Aug 10 09:54 sess_vu66gulk155sac455epk3dk6c2
    -rw-------              0 Jul 15 20:13 sess_vu7ma2v9n38he9of16ot17mco5
    -rw-------            0 Aug  9 08:29 sess_vuea75oa1a99om23o48b60vn70
    -rw-------              0 Apr 10 17:29 sess_vufq9784khu08c0d78ea36njd0
    -rw-------              33 Aug 10 05:53 sess_vv9uoc4c9ulmcs49g109sfm867
    -rw-------             33 Aug 10 18:41 sess_vvcm7l05bj1dvevtuqcf0uflr2
    -rw-------               0 Jul 31 21:51 sess_vvi3cbr39no9848fcf88qg6f92
    -rw-------             56 Jul 20 21:17 sess_vviidjdmh0irnhpccf8pmctm97
    -rw-------              0 Aug  2 04:10 sess_vvkamp29gudmd25o1oovk986g6
    -rw-------              33 Aug  9 08:11 sess_vvl6mj7dh1vfmoscl3t8nd8ai3
    -rw-------           33 Aug 10 16:16 sess_vvmrc3lqu1e5no1rirkq246qk5
    -rw-------               27 Aug 10 02:25 sess_vvsd9ao735mblspp2ecrsgmsh0
    -rw-------            0 Jul 15 14:37 sess_vvv5k9cirj7dhp0leca0qoe6h1
    =======
    # df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup-lv_root
                          450G  255G  172G  60% /
    tmpfs                 7.8G     0  7.8G   0% /dev/shm
    /dev/sda1             477M   48M  404M  11% /boot
    /usr/tmpDSK           4.0G  3.4G  435M  89% /tmp
    
    How I can resolve this issue?
     
    #1 linux-tech, Aug 10, 2016
    Last edited by a moderator: Aug 14, 2016
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,577
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. linux-tech

    linux-tech Member

    Joined:
    Jun 15, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Root Administrator
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,774
    Likes Received:
    93
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    it's php any site running php will add sess files to your tmp


    note: session files are usually very small your examples the largest file is 4k are you sure that they are taking 100% of your space and not something else
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice