Hello.. I am not sure why the "/" and "/var/tmp" on my server gets used up so quickly day in day out.
I am running Litespeed and Cloudlinux on this server.
Below are the specs and details.
From WHM:
I tried "yum clean all" and deleting the lshttpd/swap files from /tmp & /var/tmp manually.. but still it goes up after few minutes.
Installed tmpwatch and put the cronjob to clear tmp files, still not happy with it.
I would need some help in bringing down the /tmp usage as lower as possible.
Also, If I move /home to a secondary SSD, can I re-arrange diskspace for "/", "/boot", and "/var/tmp" on current drive? If yes, How can I do it?
Thanks in Advance.
anybody helping?
I am running Litespeed and Cloudlinux on this server.
Below are the specs and details.
From WHM:

Code:
uname -a
Linux sky.example.com 3.10.0-962.3.2.lve1.5.26.3.el7.x86_64 #1 SMP Wed Aug 14 08:29:59 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 1.5M 32G 1% /dev/shm
tmpfs 32G 915M 31G 3% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/mapper/centos-root 50G 46G 5.0G 91% /
/dev/sda1 497M 283M 214M 57% /boot
/dev/mapper/centos-home 850G 121G 729G 15% /home
tmpfs 6.3G 0 6.3G 0% /run/user/0
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 931G 0 part
├─centos-root 253:0 0 50G 0 lvm /
├─centos-swap 253:1 0 31.4G 0 lvm [SWAP]
└─centos-home 253:2 0 849.5G 0 lvm /home
cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Feb 13 02:52:33 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / xfs defaults,uquota 0 0
UUID=2409319d-d96c-4f3b-8367-f1bcf430af58 /boot xfs defaul ts 0 0
/dev/mapper/centos-home /home xfs defaults,uquota 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
Installed tmpwatch and put the cronjob to clear tmp files, still not happy with it.
I would need some help in bringing down the /tmp usage as lower as possible.
Also, If I move /home to a secondary SSD, can I re-arrange diskspace for "/", "/boot", and "/var/tmp" on current drive? If yes, How can I do it?
Thanks in Advance.
anybody helping?
Last edited by a moderator: