on 2013 Apr 17 12:10 PM
We have been experiencing a strange issue since we upgrade from ASA 9 to ASA 12 in November. Periodically the server freezes. By that I mean that all databases attached to the server are non-responsive.
When they come back, looking in the SQL Monitor shows that all connections on one of our production databases were locked on an certain query ( and it's different every time ).
Does anyone have any ideas on how I can trouble shoot this problem, or have you experienced anything similar.
Thanks
We had the same problem when switching one of our customers to SA12. We opened a support case and had a lengthy discussion about this being an error or not. But that's another story.
In the end raising the minimum for the multi programming level to 10 ( -gnl 10) remedied the problem. The default for this setting is the number of logical cpus you have licensed and are available to the engine. This means that when there is a period of low activity the engine reduces the multi programming level down to e. g. a level of 2. If then 2 connections "suddenly" issue a long(er) running statement, the server didn't respond to any request for up to 60 seconds in our case. This "hangs" happened up to 2-3 times per hour and our customer was not "amused" to say the least. In my opinion this default is just too low, at least for our application, so we now always set this option to 10 on every server with "Dynamic tuning of the multiprogramming level" ( >= 12).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The help says that the default minimum MPL is not 10 or 20 as you stated, but:
The minimum of the value of the -gtc server option and the number of logical CPUs on the computer.
Afaik number of logical "and licensed" CPUs would be more precise, btw.
In our case a virtual server was used with only 2 logical cpus, so the mpl really dropped to 2. We used the -gn option before to increase the number of available threads. But this setting is just a starting point since version 12. The real MPL can only be seen in the server message log when you add the "-gns" option ('AutoMultiProgrammingLevelStatistics'), to quote the Sybase support contact (Jan. 2012).
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.