deadlock errors when IdP under load
t.smith at aaf.edu.au
Tue Feb 27 22:54:25 EST 2018
The AAF has a subscriber with a 4 node IdP cluster (v3.3.1) connected to a
Microsoft SQL server database (also clustered - MS SQL Server 2012). We're
hoping to get advice on a problem that has occurred under increased load
due to start of semester usage.
All IdP instances are reporting "Transaction (Process ID 165) was
deadlocked on lock resources with another process and has been chosen as
the deadlock victim. Rerun the transaction.". These errors result in failed
authentications ("Process ID X" values do differ, it is not always 165).
Having troubleshooted this issue we believe the error is related to the
eduPersonTargetedID attribute which is obtained through a "StoredId data
connector". This connects to the database using a Container Managed
Connection. Changing the method to obtain the value to "ComputedId" has
allowed the IdPs to successfully manage the load as an interim solution,
i.e. no more deadlocks.
During this time PersistentNameIDGeneration remained enabled but only a
minimal amount of services are requesting this, thus the increased load is
not such a factor here.
Any advice from administrators that may have a similar deployment on fine
tuning configurations to both eliminate deadlocks and reinstating the
"StoredId data connector" would be very helpful.
*Terry Smith* | Technical Engagement and Support Manager | Australian
Access Federation Inc
*Mob: *0414 692 424 <0402%20918%20566> | *Email**: email@example.com
<elleina.filippi at aaf.edu.au> | *Address*: Lvl 21, 179 Turbot St, Brisbane
*Web:* www.aaf.edu.au |* Support:* support.aaf.edu.au | *Twitter:*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users