So, I'm moving from my old server to my new server using WHM's multi account copy. Everything moved over except one account, which has a huge database and it was filling /tmp to 100%.
So, I followed this guide:
http://forums.cpanel.net/f5/drive-critical-dev-loop0-var-tmp-97-full-190772.html#post782021
And attempted to increase the /tmp space to 4gb on the old server. This didn't work and now my drives look like this:
/dev/sda2 /var 45% (4,367,568 of 10,154,020)
/usr/tmpDSK /tmp 16% (1,079 of 7,272)
/dev/sda5 / 7% (512,992 of 8,123,168)
/dev/sda8 /home 24% (46,782,644 of 206,970,004)
/tmp /var/tmp 16% (1,079 of 7,272)
/dev/sda1 /boot 14% (16,490 of 124,427)
/dev/sda3 /usr 100% (7,871,400 of 8,123,200)
du -h /usr | grep ^[2-9][0-9][0-9][0-9.]*M shows this:
331M /usr/bin
201M /usr/local/cpanel/bin
454M /usr/local/cpanel/src/3rdparty/gpl
608M /usr/local/cpanel/src/3rdparty
614M /usr/local/cpanel/src
340M /usr/local/cpanel/logs
373M /usr/local/cpanel/base
577M /usr/local/apache/logs
618M /usr/local/apache
229M /usr/share/doc
983M /usr/share
697M /usr/lib
Really at a loss here at what to do. Rerunning securetmp doesn't work, in fact each time I run it the /tmp directory gets smaller.
Any ideas?
So, I followed this guide:
http://forums.cpanel.net/f5/drive-critical-dev-loop0-var-tmp-97-full-190772.html#post782021
And attempted to increase the /tmp space to 4gb on the old server. This didn't work and now my drives look like this:
/dev/sda2 /var 45% (4,367,568 of 10,154,020)
/usr/tmpDSK /tmp 16% (1,079 of 7,272)
/dev/sda5 / 7% (512,992 of 8,123,168)
/dev/sda8 /home 24% (46,782,644 of 206,970,004)
/tmp /var/tmp 16% (1,079 of 7,272)
/dev/sda1 /boot 14% (16,490 of 124,427)
/dev/sda3 /usr 100% (7,871,400 of 8,123,200)
du -h /usr | grep ^[2-9][0-9][0-9][0-9.]*M shows this:
331M /usr/bin
201M /usr/local/cpanel/bin
454M /usr/local/cpanel/src/3rdparty/gpl
608M /usr/local/cpanel/src/3rdparty
614M /usr/local/cpanel/src
340M /usr/local/cpanel/logs
373M /usr/local/cpanel/base
577M /usr/local/apache/logs
618M /usr/local/apache
229M /usr/share/doc
983M /usr/share
697M /usr/lib
Really at a loss here at what to do. Rerunning securetmp doesn't work, in fact each time I run it the /tmp directory gets smaller.
Any ideas?