cancel
Showing results for 
Search instead for 
Did you mean: 

Implications of Changing WebDynpro Parameter: sap.locking.maxWaitInterval

Former Member
0 Kudos

SAP [OSS note 1234847|https://service.sap.com/sap/support/notes/1234847] mentions changing the WebDynpro parameter sap.locking.maxWaitInterval

What are the implications of setting this to 30 minutes or 1 hour?

Accepted Solutions (0)

Answers (1)

Answers (1)

JPReyes
Active Contributor
0 Kudos

As fas as I can read this value is set in seconds not minutes... extending the value will only allow applications to wait longer for the lock to be released...

Whats your scenario?

Regards

Juan

Former Member
0 Kudos

Hi Juan,

Yes the value is in seconds. I raised the question with SAP OSS and they replied with a good answer:

-


As the note 1234847 explains,s soon as a request for a user session is processed, the user session is blocked for the duration of the request i.e. there is always at most one thread that has acquired the lock of a user session.

Concurrent requests which refer to the same user session (i.e. triggeredfrom the same browser process) are serialized and processed one after each other. If there is a request which blocks or hangs due to some waiting/blocking condition, then other concurrently incoming requests are waiting for a certain period of time that the user session lock is released. If they can't acquire the user session lock after this time interval, the waiting thread terminates with a LockException error page.

In such cases, the "sap.locking.maxWaitInterval" is helpful. Depending on the requests, administrators can increase it.

In previous cases, we have had customers increase it from 100s to 300s (or 500s) in the Web Dynpro default.properties, depending on their need.This will not make the server processing time slow, but there will be anextra buffer time so that the user request can pass through.

Customers vary the values of the parameter depending on the long runningapplications.

More information is available: http://help.sap.com/saphelp_nwce71/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm

SAP note 1113811 also provides some info..

However, if even after increasing this parameter, if there are locking issues, then this can be due to a application error. We will

need to anayse a thread dump to check the status of the threads during the locking process. As you are aware, it is the java threads that are responsible for the actual carrying out of the server tasks, akin to the ABAP work processes.

SAP Note No. 710154-How to create a thread dump for the J2EE Engine

-