Drive Critical: /dev/loop0 (/var/tmp) is 100% full

Posted: 1p in Linux

Drive Critical: /dev/loop0 (/var/tmp) is 100% full

First you need to stop cpanel, apache (litespeed), mysql services:

/etc/init.d/cpanel stop
/etc/init.d/httpd stop
/etc/init.d/mysql stop

Here I am increasing the tmp disk space to 2GB

root@test [/var/tmp]# vim /scripts/securetmp
———————————->
my $tmpdsksize = 512000; # Must be larger than 250000

my $tmpdsksize = 2097152; # Must be larger than 250000
———————————->
root@test [/]# umount -l /tmp
root@test [/]# umount -l /var/tmp
root@test [/]# mv /usr/tmpDSK /usr/tmpDSK_back

Modify /scripts/securetmp to set tmpdsksize to desired size:

root@test [/var/tmp]# /scripts/securetmp
Would you like to secure /tmp & /var/tmp at boot time? (y/n) y
Would you like to secure /tmp & /var/tmp now? (y/n) y
Securing /tmp & /var/tmp
/tmp is already secure
/var/tmp is already secure
Checking fstab for entries …Done
Logrotate TMPDIR already configured
Process Complete

Start cpanel, apache (litespeed), mysql services:

/etc/init.d/cpanel start
/etc/init.d/httpd start
/etc/init.d/mysql start
=========================================>

Reference : http://forums.cpanel.net/f5/drive-critical-dev-loop0-var-tmp-97-full-190772.html

Advertisements
Comments
  1. Edmundo says:

    thanks for sharing your thoughts. take care.http://www.busquemail.com.br

  2. Elmides says:

    very good. with your explanation, now we have a better understanding about it.http://www.acertemail.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s