D.0 The Cache Flush Parameter

Identity Manager provides an option to turn off the file system flush for each write. If you disable cache writes, they are not flushed immediately. Instead, it is left to the underlying operating system to take care of file system writes. Though this approach improves the performance on systems where there are heavy writes, NetIQ recommends that you do not use this approach for production systems.

NOTE:Turning off the file system flush is supported only on Linux.

To turn off the file system flush, set the environment variable DIRXML_SKIP_FSYNC to some value and restart eDirectory. The code only looks for the presence of this environment variable and does not regard the value associated with it. Alternatively, you can set the environment variable in the pre-ndsd start script, as shown below:

DIRXML_SKIP_FSYNC=true # Added manually to skip file system flush 

export DIRXML_SKIP_FSYNC # Added manually to skip file system flush 

To turn on the file system flush, remove the environment variable setting and then restart eDirectory. If you have set the environment variables in the pre-ndsd script, remove them and then restart eDirectory.