The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/var/tmp disk space critical

Discussion in 'Discusión en Español' started by Orbialia, Jan 29, 2017.

Tags:
  1. Orbialia

    Orbialia Active Member

    Joined:
    Mar 11, 2015
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Buenas tardes,

    Estoy recibiendo en el sistema varios emails avisándome de que el punto de montaje /var/tmp esta llenándose.

    Sistema de archivos: /var/tmp
    Punto de montaje: /var/tmp
    Porcentaje utilizado:
    94.08%
    Uso de bloque de disco:
    Usado: 43,02 GB
    Disponible: 2,86 GB
    Total: 48,32 GB
    ChkServd Versión: 17.0

    Dado que tiene un tamaño grande de 50gb, entiendo que lo único que haya que hacer sea limpiarlo. ¿Me equivoco? ¿Que deberia hacer?
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    174
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    no doubt you will have to clean the tmp , however before you clean the tmp folder you to make sure that you are not removing all the files . check what type of files they are first if related to any services etc..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may want to check the disk space with commands such as:

    Code:
    cd /tmp
    du --max-depth=1 | sort -n | awk 'BEGIN {OFMT = "%.0f"} {print $1/1024,"MB", $2}'
    This should help determine what's taking up the space in your /tmp directory.

    Thank you.

    Translation:

    Hola,

    Es posible que desee comprobar el espacio en disco con comandos como:

    Code:
    cd /tmp
    du --max-depth=1 | sort -n | awk 'BEGIN {OFMT = "%.0f"} {print $1/1024,"MB", $2}'
    Esto debería ayudar a determinar qué ocupa el espacio en su directorio / tmp.

    Gracias.
     
  4. Orbialia

    Orbialia Active Member

    Joined:
    Mar 11, 2015
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Code:
    root@cpanel [/tmp]# du --max-depth=1 | sort -n | awk 'BEGIN {OFMT = "%.0f"} {print $1/1024,"MB", $2}'
    3 MB .
    ¿Es posible que la carpeta /tmp se llene momentaneamente por las copias de seguridad?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Backups should not utilize the /tmp partition, however you can verify your backup configuration directory via "WHM >> Backup Configuration". It's possible older files were removed if you use a tmpwatch script like the one referenced at:

    cron to clean tmp

    Thank you.

    Translation:

    Hola,

    Las copias de seguridad no deben utilizar la partición / tmp, sin embargo, puede verificar su directorio de configuración de copia de seguridad a través de "WHM >> Configuración de copia de seguridad". Es posible que los archivos antiguos se hayan eliminado si utiliza un script tmpwatch como el que se hace referencia en:

    cron to clean tmp

    Gracias.
     
  6. Orbialia

    Orbialia Active Member

    Joined:
    Mar 11, 2015
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    El directorio de copias de seguridad esta en /home/backup, no veo ninguna referencia a /var/tmp por ningun lado.

    El directorio /var/tmp actualmente esta usando 2MB así que esos ficheros se deben de eliminar automaticamente, pero sigo recibiendo emails de que esta lleno al 98% en algunos casos.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may want to browse the /tmp directory the next time it's full to see if you can use the "du" utility to help determine what's taking up the space. It's difficult to know for sure without checking while the space is actually utilized.

    Thank you.

    Translation:

    Hola,

    Es posible que desee explorar el directorio / tmp la próxima vez que esté lleno para ver si puede utilizar la utilidad "du" para determinar qué ocupa el espacio. Es difícil saber con certeza sin revisar mientras el espacio es realmente utilizado.

    Gracias.
     
  8. Orbialia

    Orbialia Active Member

    Joined:
    Mar 11, 2015
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Cuando ejecuto "df -h" recibo lo siguiente:

    Es normal?
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page