Tomcat logging in VDP is causing the root partition to fill up
search cancel

Tomcat logging in VDP is causing the root partition to fill up

book

Article ID: 327042

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • VMware vSphere Data Protection appliance is unresponsive or unavailable. The root partition is found to be 100% full when checked by df -h.
  • When the appliance is further inspected using ls command, the size of local_access_log*.txt and catalina,*.logfiles in the /usr/local/avamar-tomcat/logs/ folder was found to be huge.


Environment

VMware vSphere Data Protection 6.0.x
VMware vSphere Data Protection 5.5.x
VMware vSphere Data Protection 5.8.x

Cause

This issue occurs because the VDP appliance currently does not have log expiration features for the /usr/local/avamar-tomcat/logs/ folder.

Resolution

To resolve this issue:

  1. Stop the Tomcat Web Services using the command:

    emwebapp.sh --stop
     
  2. Rename the logging.properties file to a backup file using the command:

    mv /usr/local/avamar-tomcat/conf/logging.properties /usr/local/avamar-tomcat/conf/logging_properties_backup
     
  3. Download the 2146863_logging.config file attached to this Knowledge Base article and SCP it to the VDP in question.
  4. Place the file in /usr/local/avamar-tomcat/conf and rename to logging.properties.
  5. Run this command:

    chmod 644 /usr/local/avamar-tomcat/conf/server.xml
     
  6. Start web services using the command:

    emwebapp.sh --start


Additional Information

VDP への Tomcat のロキングが原因で root パーティションがいっぱいになる
登录到 VDP 的 Tomcat 导致 root 分区填满

Attachments

2146863_logging.conf.zip get_app