Increase the size of /tmp (/usr/tmpDSK) partition in Linux?
How to increase the size of /tmp partition in Linux?
Proceed with the given steps:-
========================
1) Stop httpd and mysqld service and process kill the tailwatchd process (CPanel uses this).
[root@antg ~]# /etc/init.d/mysqld stop
Stopping MySQL: [ OK ]
[root@antg ~]# /etc/init.d/httpd stop
Stopping httpd: [ OK ]
[root@antg ~]# pstree -p | grep tailwatchd
Find the tailwatchd process id and kill it
[root@antg ~]# kill -9 2522
Stopping MySQL: [ OK ]
[root@antg ~]# /etc/init.d/httpd stop
Stopping httpd: [ OK ]
[root@antg ~]# pstree -p | grep tailwatchd
Find the tailwatchd process id and kill it
[root@antg ~]# kill -9 2522
2) Take a backup of /tmp as /tmp.bak
[root@localhost ~]#cp -prf /tmp /tmp.bak