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 Directory

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.