Unable to locate the file(s) consuming the maximum disk space on the AWS IDM VAPP Server
search cancel

Unable to locate the file(s) consuming the maximum disk space on the AWS IDM VAPP Server

book

Article ID: 270143

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

For one of our production IDM VAPP servers the disk space utilization has crossed 90%.

If the similar trend continues, the consumption will soon be 100% and the IDM functionality for this server will be impacted.

we request you to please help us locate the file(s) consuming the maximum disk space and help us remove the same (by assessing the impact if any).

Environment

Release : 14.4

Resolution

find / -type f -size +500M >> /tmp/file.txt

On the screen it will print many permission denied lines, but when you go to the /tmp/ directory an open the file.txt you will see if any files that the config user has access to that meet the search criteria

Next start with clearing the product logs:

depending on the services installed on the vApp:

stop_ip
stop_ig
stop_im 
stop_jcs 
stop_ps 
stop_dxserver 
stop_oracle 

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/*.*

start_oracle
start_dxserver
start_ps
start_jcs
start_im
start_ig
start_ip

Then, look at the /tmp/ folder to see if any files are copied there 

Then, look at the files that are in /home/config directory to see if there are any patches that are taking up space and can be removed.

In the end we found that file that was taking up space and removed it.