The filesystem /var/tmp mounted at /var/tmp reached warn status
Hello,
I have received the following warning from my cPanel server.
How I can resolve this issue?
===================
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?
-
the folder is filled with session files
This command should clear them out easy enough:rm -rf /tmp/sess*
There's a document for this that you might find useful: How to Manage your Hard Drive Space - cPanel Knowledge Base - cPanel Documentation0 -
How can I found which process or software is creating this
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 else0
Please sign in to leave a comment.
Comments
3 comments