Directory Management UI node.js log cleanup
search cancel

Directory Management UI node.js log cleanup

book

Article ID: 134380

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite CA Directory SITEMINDER CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign-On CA Security Command Center CA Data Protection (DataMinder) CA Service Management - Service Desk Manager CA Process Automation Base Autosys Workload Automation Automation Analytics & Intelligence

Issue/Introduction

CA Directory (ETRDIR) - /opt/software/ca/directory14/dxserver/.forever

We have setup a CA Directory 14.0 instance.

The disk size on the CA directory management server is growing rapidly. We noticed that a log file - hVRV.log under /opt/software/ca/directory14/dxserver/.forever is of huge size and is continuously updating.

File is growing rapidly and causing the system to run out of disk space.

 

Environment

CA Directory 14.x

Cause

Management UI is developed using Node JS, and for its continuous availability we used a library called  forever.

Resolution

Old logs under ‘.forever’ can be deleted manually, using your own archiving scheduling, or using

 

PATH=/opt/CA/Directory/management-ui/node.js/bin:$PATH /opt/CA/Directory/management-ui/node_modules/.bin/forever cleanlogs

Please see the following link:

CA Directory 14 .forever directory

for community discussion.