on 10-09-2014 12:07 PM
Dears,
1. In T-code SM12 that I checked the Maximum number of Lock Entries is 18218 and Maximum Fill level is also 18218, the parameter "enque/table_size" is defualt value 32768, I think it's too small and it maybe cause the update processes are all hanging,
I want to adjust it more bigger, could you please give me a suggesting value ?
2. We increased two Dialog Instance on July and the issue(update work processes are always be hanging) happened from Augest 1st, I checked the DB parameter 'sessions' value is 2000 and 'processes' value is 1000, do we need to increase the value ?
Thanks,
Michael
Hi Michael,
enque/table_size - This parameters defines the sizes in MB and you have 32 MB defined which will there in main memory. So, don't get confused with the number of entries in SM12.
If you have an overflow of lock tables, check your update server is working correctly. If it's not working correctly then lock entries will grow quickly.
If update is fine, then increase the size of this parameter.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Divyanshu,
enqueue statistics in SM12 looks like this (from our old test system, where nothing is running):
Enqueue Operations 3300681
rejected 27739
Error occured 0
Dequeue Operations 2651372
Error occured 0
Dequeue All Operations 2407335
Cleanup Operations 1
Backup Operations 7
Read Operations 50681
Compress Operations 0
Verify Operations 0
Records written 3617
to the backup file 14
Maximum Number of Lock Owners 3603
Maximum Fill level 7
Current Fill Level 0
Maximum Number of Lock Arguments 3603
Maximum Fill level 26
Current Fill Level 0
Maximum Number of Lock Entries 3603
Maximum Fill level 26
Current Fill Level 0
Update; Fill Level at Maximum 1
Current Fill Level 0
Time in Lock Table /Seconds 132.817572s
Wait for Lock Table /Seconds 15.275528s
Time in Lock Server /Seconds 110.441566s
"Maximum Number of Lock Entries 3603" show you, how many locks can be set in the enqueue table. And since the last system restart in our table there were only 26 locks at the same time (Maximum Fill level). If the both statistics show the same number, then this is a problem, it was an overflow of enqueue table.
Regards, Alwina
🙂 but their system has already a problem with the enqueue table, and Michael has recongnized it. This enqueue table overflow should be solved first, the system cannot work correctly, if it cannot set locks, and after that the issue with the hanging update should be analysed further (if it will still persists)
HI Srivastava,
There is always a Transaction will generated many update work processes,
and sometime the work processes will be hanging for a long time but still could be finished.
And every time only this Transaction's update work processes will be hanging and occupied almost all the update work processes, other Transaction's update is normal.
But the strange point is that we cannot reproduce this issue in the Test system with the same Transaction to run with the same condition.
Thanks,
Michael
Hi Alwina,
I checked this enqueue table overflow is due to Transacion run with the incorrect conditions by the end users.
The hanging update was by another Transaction, and it alsmost happened everyday,
only this Transaction's update will be hanging, others are all normal,
But we cannot reproduce this issue with same the Transaction in the Quality system,
so it's real very strange.
So could you please tell me which sides I need to analyze for further ?
Thanks,
Michael
Hi Michael
1. When the update process getting hang what is the status of your database & CI instance & is this any issue on the network connection?
2. Kindly check the SAP link about the update process
Update Statuses - Updates in the SAP System (BC-CST-UP) - SAP Library
Regards
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
you should analyze if there is a process that causes the overflow of the enqueue table. For example deleting the sap mails can cause this overflow. You can get a list of the last 5 overflows by entering the string #01_002 in every field of transaction SM12 (in Field client you have to enter only #01).
Normally a enqueue table is not configured to small. In most cases it is a bad process causing the overflow.
Best regards
Willi Eimler
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michael,
if you see "Maximum number of Lock Entries is 18218 and Maximum Fill level is also 18218", then either the value for enque/table_size needs to be increased or an application cannot set locks correctly. There are no recommendation on this parameter. You can increase it step by step, you can double the value first, and monitor the system, how behavour has changed. A rule of thumb
would be to achive the maximum fill level of the enqueue table stays bellow the 80% of the maximum number of entries of the table. And probably you should also analyse, which application sets too many locks.
Regards,
Alwina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
enque parameter value is not a bottleneck here as we have enough expansion opportunity .
Will it be possible for you to check the update trace files using SM50 for more details. Additionally please check work process as well as database logs for further inputs on the issue.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.