السي بانال WHM/CPanel كرون Cron تفريغ تلقائى clean /tmp
DISKCRITICAL files Mount Point “/var/tmp” Disk usage warning
cpanel /tmp” reached “critical” status - whm server has full inodes
How to clean /tmp on Centos/cPanel server?
https://www.rise.company/upload/uplo...1539942341.png
Open SSH to your server, if SSH will not connect due to disk space full in tmp,
reboot your server in cloud server manager then try again.
Once connected run the following command.
Once tmpwatch is installed run command.كود:yum install tmpwatch -y
This will delete all files over 12 hours old. Next, we will configure your server to do this automatically.كود:/usr/sbin/tmpwatch -am 12 /tmp
Go to the very bottom and paste.كود:EDITOR=nano crontab -e
https://www.rise.company/upload/uplo...1521622131.pngكود:0 4 * * * /usr/sbin/tmpwatch -am 12 /tmp
Then press Control+X (on PC) or Command+x (on Mac) you will get confirmation do you want to save.
Type Y for yes, and press enter.
The Location for the crontab for root, /var/spool/cron so you can add the line by using CSE.
You can remove the session file using the following command.
The filesystem “/var/tmp” mounted at “/var/tmp” reached “warn” status because you currently use 84.29% of its available blocks.كود:# cd /tmp
# rm -rf sess_*
---------------------------------------------------
للتحقق من المساحة
https://www.rise.company/upload/uplo...1380337391.png
للتحقق من المساحة فى tmp للـ inodes او size الاساسي
كود:df -i
شاهد ايضاكود:df -h
كود مشاهدة الكرون cron في السي بانل Whm / Cpanel CSF Firewall
السي بانال WHM حل مشكلة امتلاء مساحة temp وتفعيل inode usage
السي بانال WHM/CPanel حل مشكلة امتلاء tmp folder 100% full - رسالة DISKCRITICAL
المرجع:
https://www.ucartz.com/clients/index...el-server.html