Intermittent -626 during high load
A customer is seeing this in IDM driver traces:
Code(-9006) The driver returned a "retry" status indicating that the operation should be retried later. Detail from driver: Code(-9011) eDirectory returned an error indicating that the operation should be retried later: novell.jclient.JCException: getEffectivePrivileges -626 ERR_ALL_REFERRALS_FAILED
It might happen during a query for example, during optimize modify.
It seems to happen during high load.
Has anybody a fix for this?
Ran into this with a customer, it was not enough pool workers threads
ndstrace -c threads
 Instance at /etc/opt/novell/eDirectory/conf/nds.conf: acmeidm0001.OU=servers.OU=services.O=acme.ACMEIDV
Thread Pool Information
Summary : Spawned 429, Died 133
Pool Workers : Idle 271, Total 296, Peak 296
Ready Work : Current 1, Peak 18, maxWait 223041 us
Sched delay : Min 4 us, Max 2445098997 us, Avg: 8 us
Waiting Work : Current 19, Peak 25
This is from a heavy use server that was updated to use a lot more threads than default, and you can see needed it.
The maximum number of threads that will be started by the eDirectory server. This is the number of concurrent operations that can be done within the eDirectory server.
Default = 64
Range = 32 to 512
Refer to the NetIQ eDirectory Troubleshooting Guide to set an optimum value.
Or else use ndsconfig to set it, but it writes it to that file anyway.
To add on Geoff's post:
whenever pool workers peak gets in the range of "n4u.server.max-threads" it's time to raise the latter's value. Personally i never have it below 256 (as it's mostly OES for me where interaction with file system comes to the field), if the peak is at let's say 200 i'd set the max to 512.