ndsd.log can grow quickly and fill disk (no limit on size of log file)

  • 3347205
  • 03-Apr-2008
  • 03-Dec-2013

Environment

Novell eDirectory 8.8 for All Platforms
Novell eDirectory 8.7.3 for All Platforms

Situation

Currently there is not a size limit on the ndsd.log. Therefore, it is possible to fill the disk if the ndsd.log is allowed to grow and there is limited disk space.

Resolution

1) Monitor the size of the ndsd.log and the disk it resides on.

2) Move or delete the ndsd.log.

3) Enable logrotate for ndsd.
To enable logroated create the following file /etc/logrotate.d/ndsd
The contents of the file should be as follows.  Adjust the size to as needed.

/var/opt/novell/eDirectory/log/ndsd.log {
    compress
    size=+100M
    copytruncate
    start 0
    rotate 10 
}

Status

Reported to Engineering