on 12-03-2013 6:05 PM
Our MII web application is locking up intermittently. When this occurs, it must be unlocked by performing the equivalent of Ctrl-Alt-Delete. The issue is unpredictable but happens often enough to seriously frustrate users.
For reasons below I believe this is a performance problem with our Java applets, but this is difficult to prove.
Resolutions we’ve considered are listed below. Comments would be appreciated.
Symptoms of current problem:
Previous problem Nov 2012: iBrowser applet function causing lock-ups
Possible resolutions we’ve considered:
Our system landscape:
Hi Greg,
without having red everything carefully, this reminds me of a similar behaviour. I see the root cause in the fact that the default settings of MII (Netweaver) are such that it is not scalable at all. I have asked SAP to integrate the settings tested by Salvatore Castro as default settings in MII but it was neglected by SAP. So, please try to configure the settings of MII such that it is capable of normal user load.
Please see the following document to proceed with the settings:
http://scn.sap.com/docs/DOC-1834
Some of the settings are different on 12.2. Please see my add-on paper to the document above below.
To remind everyone: These settings are an absolute must for every MII deployment!
And I ask SAP again: Please make this settings default for every MII installation!
The settings mentioned in this howto are necessary for a standard MII production environment. This is because Netweaver's default settings permit only a few amount of parallel HTTP requests. If the number of parallel requests exeeds 6 (really parallel with a delay of a couple of ms) blockage appears on client side delaying page / data reloads massively (30s - 60s and more is common). Parallel requests of this kind can happen easily from different browser windows or data reload of multiple graphics on a HTML page which load there data independently. The settings described here increase all necessary thread pool, connection, requests and queue limits to mitigate that problem.
The parameters listed here are related to NW version 7.1 Patch 6 and MII 12.2.2.5. Parameters and settings described here are an excerpt from document The Performance of SAP MII on Intel Xeon Hardware Analysis Summary. Parameters have been adapted to NW 7.1 Patch 6. Some of them are not needed anymore because they are built dynamically and some of them have not been set because they are configured by default installation.
Start ConfigTool with running a Windows command window as Administrator. CD into directory and start configtool.bat. Full qualified path:
<drive>:/usr/sap/<SID>/JXX/j2ee/configtool/configtool.bat
The following table lists the parameters to change to the values given in column "Custom Value". "Path (Instance)" specifies the path of the parameter in the tree view of the config tool.
Path (Instance) | Parameter | Default | Custom Value | Remarks |
---|---|---|---|---|
Managers -> ApplicationThreadManager | MaxThreadCount | 100 | 1000 | |
Managers -> ApplicationThreadManager | PercentageOfParallelismAllowed | 30 | 50 | |
Managers -> ThreadManager | MaxThreadCount | 100 | 1000 | |
Services -> cross | maxServiceThreads | 5 | 5 | |
Services -> dbpool | sysDS.initialConnections | 1 | 10 | |
Services -> dbpool | sysDS.maximumConnections | 20 max (($link{../../../kernel/ApplicationThread/properties#MaxThreadCount} min (round(200/$link{${SYSTEM_INFO}#NumberOfNodes})))-10) | 20 max (($link{../../../kernel/ApplicationThread/properties#MaxThreadCount} min (round(200/$link{${SYSTEM_INFO}#NumberOfNodes})))-10) | Dynamically calculated from Application MaxThreadCount. |
Services -> http | FCAServerThreadCount | 5 | 50 | |
Services -> IIOP | parallelRequests | 10 | 1000 | |
Services -> IIOP | requestQueueSize | 100 | 1000 | |
Services -> jmsconnector | maxConnections | 100 | 500 | |
Services -> jmx | NotificationQueueMaxThreads | 3 | 30 | |
Services -> jmx | NotificationQueueThreadThreshold | 30 | 100 | |
Services -> p4 | parallelRequests | 10 | 1000 | |
Services -> p4 | requestQueueSize | 100 | 1000 | |
Services -> security | sessions_size | 200 | 1000 | |
Services -> servlet_jsp | ProductionMode | true | true | Value True is already defaulted. |
Detailed information about each of these parameters can be found in the online: NetWeaver Help Documentation
The following parameters has to be added to the Netweaver profile. Path to profile:
<drive>:\usr\sap\<SID>\SYS\profile\<SID>_<JXX>_<Server>
Note: The file has no extension.
This is a plain text file so you simply need to open it in any text editor; before modifying this file be sure to first backup this file. The following parameters were modified/added to the profile:
#----------------------------------------------------------------------- # Number of usable threads #----------------------------------------------------------------------- icm/min_threads = 100 icm/max_threads = 1000 #----------------------------------------------------------------------- # Increase the size of the MPI memory area #----------------------------------------------------------------------- mpi/total_size_MB = 500 #----------------------------------------------------------------------- # Number of maximum connections, length of the wait queue #----------------------------------------------------------------------- icm/max_conn = 2500 icm/req_queue_len = 2500 #-----------------------------------------------------------------------
These parameters are referenced in the SAP NetWeaver CE Help documentation on the ICM for systems with an anticipated “High Load” as described here: http://help.sap.com/saphelp_nwce10/helpdata/en/56/2e453cabf4ef6fe10000000a114084/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also if you are in the config tool you can go to File-->Change System Template and from there you can select some sap provided configuration templates based on your needs. You will probably still have to tweak but templates like CE_Complete_Stack_Production_full etc will have most of the above already set.
Regards,
Christian
Hi Gregory,
I am sad to hear that. So now I looked a bit closer at your description.
It obviously is a problem on the client as you correctly concluded. There are lots debug possibilities that could be used to analyse the problem.
Also the Java version seems to be quite old. Did you have the chance to try a later Java Plugin?
Just give me a ping via Email so that I have your contacts.
Cheers,
Matt
I am surprised to hear you suggest the use of a recent Java version. In my experience, the applets (iGrids, etc) generated by MII 12.2.4 are unsigned and therefore way too problematic to be used by more recent versions of Java with added security restrictions. That is why, when our consultants led the development of our MII application 2 years ago, they suggested the use of Java 6 Update 18 specifically for that reason.
If I am wrong about any of this, please let me know.
I'm not seeing your email address. If you want to email me, my address is X at thomsonreuters.com, where X = gregory.boettcher.
As for upgrading to HTML5 there is a completely different way that you define objects on the page as per the HTML 5 spec. Everything is managed on the page as a <div> object that you define objects for using JavaScript and tell them to display in the various <div> objects that you've defined. In MII 15.0 there is also a drag and drop builder environment that will allow you to quickly define a web page and also see how the objects are defined. This will greatly improve your ability to construct pages and also migrate over to HTML5.
Sam
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.