Views:
It has been identified as a problem with DSVA version 11.0.211 where all the log files under /var/opt/ds_agent/diag/dsva/ were not rotating properly, resulting in the growth in disk usage. 

This issue was fixed in Deep Security Agent/DSVA 11.0 update 13 (Build 11.0.0-871)

To resolve this issue, you have three options:
 
Option 1: Re-deploy DSVA and upgrade to new Deep Security Agent(DSA) build 
  1. Download the above DSA 11.0 update 13 Build 11.0.0-871 and import to DSM server. 
  2. From the Computers Tab, locate the Relay server and click "Security Policy" from the action tab, then force the Relay Agent to sync the new DSA build from the DSM server immediately.
  3. Delete the existing DSVA version 11.0.211 from the NSX-V Service deployment tab
  4. Re-deploy DSVA again and upgrade it to version 11.0 update 13 Build 11.0.0-871.
Option 2: Manual delete logs files and upgrade to new Deep Security Agent(DSA) build 
  1. SSH or open DSVA terminal console from vCenter
  2. Sign in and change permission via sudo -s with root permission 
  3. Execute the following command to delete the csv and log files under /var/opt/ds_agent/diag/dsva/
    # rm -rf /var/opt/ds_agent/diag/dsva/*.csv
    # rm -rf /var/opt/ds_agent/diag/dsva/*.log
  4. Check the free disk space using command below and ensure that there is 1 GB available before upgrading the DSA.
    # df -h
  5. From the manager console, upgrade the DSVA to version 11.0 update 13 Build 11.0.0-871

Option 3: Manually change the file permission for log rotation.
  1. SSH or open DSVA terminal console from vCenter
  2. Sign in and change permission via sudo -s with root permission 
  3. Change the working path to /opt/ds_agent/dvfilter/ folder
  4. Check the file "diag-logrotate.conf" permission it should be 664 before change
    # ls -l /opt/ds_agent/dvfilter/diag-logrotate.conf
  5. Manual change the file "diag-logrotate.conf" permission to 644
    # chmod 644 /opt/ds_agent/dvfilter/diag-logrotate.conf
  6. Execute the command to make the change effect immediately
    # /usr/sbin/logrotate /opt/ds_agent/dvfilter/diag-logrotate.conf 2>/dev/null 
  7. Manual remove csv and log files under the /var/opt/ds_agent/diag/dsva/ folder
    # rm -rf /var/opt/ds_agent/diag/dsva/*.log
    # rm -rf /var/opt/ds_agent/diag/dsva/*.csv
  8. Wait for few or 10 mins the csv and log files will generate automatically 
  9. Once the csv and log files created then force the log rotation via command 
    # /usr/sbin/logrotate --force /opt/ds_agent/dvfilter/diag-logrotate.conf 
  10. Then gz file will be created immediately