Locating and Removing Large Files to Resolve Disk Space Issues on AWS - Identity Manager
search cancel

Locating and Removing Large Files to Resolve Disk Space Issues on AWS - Identity Manager

book

Article ID: 270143

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite

Issue/Introduction

High disk space utilization on the Identity Manager (vApp) server can lead to service instability. This article provides steps to identify large files consuming disk space and the correct procedure for safely clearing product logs to reclaim storage.

Environment

Identity Manager 14.5 on AWS Virtual Appliance

Cause

Disk space utilization exceeding 90% is typically caused by unmanaged product logs or large temporary files accumulation in the /tmp or /home/config directories.

Resolution

  1. Identify Large Files: Run the following command to identify files larger than 500MB: find / -type f -size +500M >> /tmp/file.txt Note: Ignore "permission denied" errors. Review /tmp/file.txt to identify files that can be safely removed.
  2. Stop IDM Services: Stop the services before clearing logs to prevent file locking: stop_ip, stop_ig, stop_im, stop_jcs, stop_ps, stop_dxserver, stop_oracle
  3. Clear Product Logs: Execute the following commands to clear the log directories:
    - su dsa -c "rm -rf /opt/CA/VirtualAppliance/logs/Directory_logs/."
    - su imps -c "rm -rf /opt/CA/VirtualAppliance/logs/ProvisioningServer_logs/."
    - rm -rf /opt/CA/VirtualAppliance/logs/Oracle_logs/.
    - rm -rf /opt/CA/VirtualAppliance/logs/ConnectorServer_logs/.
    - rm -rf /opt/CA/VirtualAppliance/logs/IG_logs/.
    - rm -rf /opt/CA/VirtualAppliance/logs/IDM_logs/.
    - rm -rf /opt/CA/VirtualAppliance/logs/IP_logs/.

  4. Restart Services: Restart all services in the following order: start_oracle, start_dxserver, start_ps, start_jcs, start_im, start_ig, start_ip
  5. Review Directory Space: Check the /tmp/ and /home/config directories for additional large temporary files or old patch files that may be safely removed.

Additional Information

To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.