on 05-16-2006 12:28 PM
Hi there,
Helppp....does anyone know how to monitor locks in a particular table (eg: NRIV)in Solution Manager or CCMS please ?
Many thanks,
Mina
Hi Mina,
what do you exactly mean with locks? deadlocks,exclusive locks, etc.?
Regards,
Pascal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mina,
If you wish to be alerted when a deadlock has happened on your system you may want to consider doing the following:
SAP CCMS has built in functionality to allow you to monitor text files and search for a string. You can therefore find the appropriate log file for your database and setup log file monitoring to search for the text string "deadlock" or the error code for your particular database. If you do a search on OSS you will find a note that describes how to setup log file monitoring. It is quite simple.
See 535199 CCMS agents: Monitoring log files
N.P.C
Hi Mina
sorry if this reply comes too late for you..
However at my current client, they had immense NRIV locking problems for many years when they ran R/3 invoicing jobs in parallel.
As I am also from an Oracle background, I originally assumed that the deadlocks were due to poor DB2 performance and spent months investigating this angle.
The deadlocks for this can be seen in transaction DB01, but I never saw NRIV locks in SM12 (due to the buffered nature of the NRIV access I think). You can also see deadlocks and timeouts for DB2 in transaction /nDB2.
Finally I relasied that actually the bottleneck was not in the DB but in the app servers - the batch processes frequently displayed semaphore 8 (unable to access free dia wp). Monitiring this situiation in SM66/SM50 I saw that the batch jobs spawned many workflow & RFC requested which satruated all the free dia wp's on the same app server, preventing the number range from being re-populated (this needs a free dia wp). However this gives the impression that it's due a database deadlock as in DB01 and in the ST22 dump, all clues point to this.
So we shifted all WF and RFC on to separate apps servers and cleared the issue (so far at least). The batch jobs continue to run as they are able to replenish the number ranges now as there are many free dia wp's on the batch servers. The spawned asynchronous RFC's and workflows are processed on separate servers and do not block the batch processes.
I hope this makes sense - it took us a long time to realise the solution and hence I'm posting it here in case it helps other people.
Good luck
Ratna
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.