1. Stop cpanel, apache , mysql services:
5. Run:
systemctl stop cpanel
systemctl stop httpd
systemctl stop lsws [If you have LiteSpeed Web Server, only then execute this command]
systemctl stop mysql
2. Umount /tmp and /var/tmp:3. Move /usr/tmpDSK file to another location (just in case you’ll need to mount it somewhere else to preserve data):umount -l /tmp umount -l /var/tmp
4. Modify /scripts/securetmp to set tmpdsksize to desired size:mv /usr/tmpDSK /usr/tmpDSK_back
Now put your tmp size,find bellow variable.vi /scripts/securetmp
my $tmpdsksize = 3000000
5. Run:
6. Start cpanel, apache , mysql services:/scripts/securetmp
Now your server have more size in tmp.systemctl start cpanel systemctl start httpd systemctl start lsws [If you have LiteSpeed Web Server, only then execute this command] systemctl start mysql