Disclaimer:
BiWhy is available again for FREE to everyone on biwhy.net
BOBJ Sizing Guide:
‘Enable Memory Analysis’ is now unchecked by default when you perform a new installation from BI 4.2 onwards... We now recommend this is disabled as your default setting, enabling the process to use as much memory as it needs and without the need to reclaim memory or generate any related error due to memory limits becoming breached.
But I strongly recommend always keeping it enabled to protect the host memory from being exhausted by WEBI.
The exhaustion can happen for two reasons:
Memory leak.
I once saw WEBI consume 100 GB during an Excel export. I am sure this specific issue was fixed long ago, but nobody can guarantee that the code is fully leak free.
Real load:
Think about Memory Thresholds the same way you think about the Java Xmx parameter.
If thresholds are reached, the system will handle the situation gracefully. In the worst case, WEBI will be restarted, which impacts only the users assigned to this specific WEBI.
If thresholds are not set, the same scenario may cause the entire host to run out of memory, which can lead to system-down situations or worse. What do you prefer?
Here is a conservative formula for calculating memory allocation for WEBI:
WEBI_MAX = Available_RAM – Sum of Xmx (APS and others) – 2 GB for OS – 2 to 4 GB for CMS (or more, depending on actual usage) – Xmx for Tomcats if they run on the same host – other major memory consumers on the server.
My recommendation: set thresholds high enough that they are never reached during normal operation, but still low enough to avoid endangering the host memory.
Why does the Sizing Guide recommend switching off Memory Analysis?
I do not know for sure, but the most likely reason is related to thresholds configuration.
Thresholds must be customized for each system. They cannot be set correctly by default, because default values would be either too high or too low.
BOBJ administrators need to understand what Lower, Upper, and Maximum Thresholds mean and how to connect the warning messages seen by end users to these configured parameters, so they can adjust thresholds or upscale the system instead of opening incidents.
A possible improvement on the SAP side would be to explicitly state in warning messages that they originate from the Memory Analysis configuration.
Threshold meaning from Admin Guide:
If this property is enabled then the following properties will be active and recognized by the server:
If the Memory Lower Threshold limit is reached, the server swaps out inactive documents onto the hard disk allocating additional memory for the documents which are active. Each user is allowed to have up to one active document instead of Maximum Documents per User.
If this Memory Upper Threshold is reached, the following server actions will take place in order to free resources and protect the server:
If the Memory Maximum Threshold limit is reached, all current operations abort. All client calls will be terminated. Once the a call terminates, the corresponding document will be closed.
Or shortly:
When the server's process memory is above the Memory Upper Threshold, the only operation that is allowed is saving documents.
When the process memory is above the Memory Maximum Threshold, all operations stop and fail.
Screenshots:
Content:
Here is a production system with 800 sessions. Cumulative WEBI memory usage reaches 430 GB, with individual WEBI processes using up to 52 GB.
You can see multiple WEBI servers per host. SAP recommends one WEBI per host, or two for failover if the system has only a few WEBI nodes. Although in the past we observed during VTOs that in some cases multiple WEBIs perform better, for simplicity and to reduce communication overhead I recommend fewer WEBIs unless there is a clear reason to do otherwise.
Here is a VTO run with 1,400 sessions, with a WEBI process consuming up to 74 GB
OS-level monitoring shows that on a system with only 46 active sessions, WEBI on two nodes cumulatively consumes about 450 GB.
However, I do not believe this reflects real memory usage – it is rather allocated memory. This is mainly due to the customer running 10 WEBI servers per host, with Memory Analysis switched off and 1 TB of RAM available per processing node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 38 | |
| 21 | |
| 19 | |
| 18 | |
| 18 | |
| 18 | |
| 17 | |
| 16 | |
| 16 | |
| 14 |