Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Need Premium Support?

ScaleOut Software offers customers several options for support and maintenance plans on a subscription basis for an annual fee.

Topics:

asked: Apr 11, 2017 at 09:25 PM

Seen: 590 times

Last Updated: May 05, 2017 at 06:26 PM

Getting an error "Unable to unlock StateServer entry for key ..."

I'm seeing multiple occurances of the error below. It doesn't have any stack trace, for me to investigate. Can anybody help out with suggestion on who to troubleshooth this, and handle the error properly:

server version 5.5.7

Thank you

Exception type: ObjectLockedException 
Exception message: Unable to unlock StateServer entry for key: 0jjtteuvzwmoyvodonpocini: Object locked.
at Soss.Client.DataAccessor.ReleaseLock() at Soss.Web.SossStoreProvider.ReleaseItemExclusive(HttpContext context, String id, Object lockId) at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
more ▼

asked Apr 11, 2017 at 09:25 PM in Support

nick gravatar image

nick
0 2 2 3

(comments are locked)
10|5000 characters needed characters left

1 answer: sort voted first

Hi Nick,

This exception occurs when a web request takes longer than 90 seconds to complete. (90 seconds is the lock timeout for ASP.NET sessions). So this is a side-effect of a very slow page handler.

If a web request takes more than 90 seconds to complete, the request handler loses its exclusive lock on a session and another request can come along and acquire the lock the session. Then, 90+ seconds later, when the original request finally finishes processing and tries to persist its session state updates, it discovers that it has lost its exclusive lock on the session and throws this exception.

To resolve this issue, the best place to start would be to identify any page handlers that are taking an excessively long time to complete.
more ▼

answered Apr 11, 2017 at 11:46 PM

Support gravatar image

ScaleOut Support Team ♦
2k 19 20 20

Support gravatar image ScaleOut Support Team ♦ May 05, 2017 at 06:26 PM
This answer has been automatically accepted due to inactivity.
(comments are locked)
10|5000 characters needed characters left