NDSTRACE is causing high utilization on Linux server

  • 7001135
  • 11-Aug-2008
  • 26-Apr-2012

Environment


Novell eDirectory 8.7.3 for Linux
Novell eDirectory 8.8 for Linux

Situation

The high utilization in ndstrace presents itself when NOT using
daemon mode, in a bash script. This problem has not resulted when typing these commands at the terminal.

Example of bash script causing high utilization in ndstrace
***************
#!/bin/bash
ndstrace > /dev/null &
sleep 10
ndstrace -c "set ndstrace = NODEBUG"
ndstrace -c "set ndstrace = +LDAP"
ndstrace -c "ndstrace"
****************


Working example of a script NOT having the problem
*****************
#/bin/bash!
ndstrace -l > /dev/null &
sleep 10
ndstrace -c "set ndstrace = NODEBUG"
ndstrace -c "set ndstrace = +LDAP"
ndstrace -c "ndstrace"
*****************

Resolution

When using ndstrace in a bash script, make sure to load it with the -l switch so that it loads in daemon mode. Please see the above working example as a work around to this issue.

Additional Information

This has been reported to Novell Engineering.