Make sure that the caching daemon, namcd, is running at all times.
Accessing eDirectory to get name service entries might cause a degradation in performance. namcd can persistently cache entries for workstations that are rebooted regularly. The persistent cache will improve access times, especially in setups with a large number of workstations.
You can enable or disable persistent caching to specify what information you want cached. If you enable persistent caching, all user profiles, group profiles, and the fully distinguished names (FDNs) of User objects will be cached. If persistent caching is disabled, only the User FDNs will be cached.
After configuring LUM, the uam cache daemon automatically retrieves all user and group entries from eDirectory and builds the cache because persistent caching is enabled by default. If you want to disable persistent caching, set the parameter enable-persistent-cache=No in the file /etc/nam.conf and restart the namcd daemon.
The settings for persistent caching, and the size of the cache for FDNs, user profiles and group profiles can be specified in the /etc/nam.conf file. Because the namcd daemon does not rescan the configuration file, you need to restart the namcd daemon after you make any modification to the configuration file.
Whenever the pam_nds and the nss_nds modules access eDirectory to get a User object, the namcd daemon updates the cache. namcd searches the cache before accessing eDirectory, thereby making the access quicker.
The following is a list of guidelines for the various namcd parameters.
The namcd parameters can be configured using the namconfig utility. Refer to Using namconfig for more details.