on 2020 Nov 22 1:12 PM
Hello everybody
I have a question about memory adjustment.
I installed ABAP and JAVA Server on one host and HANA DB on a second host. On host1 I have 64GB of RAM.
In SM21 I always get an error message:
PXA INITIALIZATIONab_pbinit: System page size: 4kb, total admin_size:
457432kb, dir_size: 113428kb.allocatePxaDataSpace: Attached to PXA (address
7f325d6be000 - 7f33cba1e000, size 6000000K, 4 fragments of 1385644Kab_pbinit: Locked PXA-Semaphore for init.ab_pbinit: Using a guard page at PXA start to protect
parameters and release info.Initializing unique PID = 30ab_pbinit: abap/pxa = shared protect gen_remoteab_pbinit: checking structure sizes: 856 280 16PXA INITIALIZATION FINISHED
I ran sapppfpar. Should I adapt the values in the ES / SHM_MAX_SHARED_SEGS section as suggested by sappfpar? For example for abap / buffersize should I change the value from 6000000 to 8316555 etc.
host1:podadm 53> sappfpar check
pf=/usr/sap/POD/SYS/profile/POD_DVEBMGS00_ host1==================================================
Checking profile:
/usr/sap/POD/SYS/profile/POD_DVEBMGS00_host1==
SAP Release 753================================================Metadata Parameters Analysis================================================Parameters Redefinitions===============================================Unknown and Obsolete Parameters================================================***WARNING: Unexpected parameter:
dbms/name = PODFormula Based Parameters================================================***WARNING: Formula parameter:
abap/buffersize = 6000000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_host1***WARNING: Formula parameter:
abap/shared_objects_size_MB = 350 found in
/usr/sap/POD/SYS/profile/POD_DVEBMGS00_host1***WARNING: Formula parameter:
rsdb/ntab/entrycount = 30000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_host1***WARNING: Formula parameter:
rsdb/ntab/ftabsize = 60000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_
host1***WARNING: Formula parameter:
rsdb/ntab/irbdsize = 15000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_
host1***WARNING: Formula parameter:
rsdb/obj/buffersize = 50000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_
host1***WARNING: Formula parameter:
rsdb/obj/max_objects = 20000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_
host1***WARNING: Formula parameter:
rtbb/buffer_length = 60000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_
host1***WARNING: Formula parameter:
zcsa/db_max_buftab = 10000 found in /usr/sap/POD/SYS/profile/POD_DVEBMGS00_
host1***WARNING: Formula parameter:
zcsa/table_buffer_area = 100000000 found in
/usr/sap/POD/SYS/profile/POD_DVEBMGS00_ host1Parameter changes if default
formulas would be used:================================================
ES/SHM_MAX_SHARED_SEGS: 2
--> 3 abap/buffersize:
6000000 --> 8316555 abap/cov_buffersize:
133120 --> 156842 abap/programs:
1500000 --> 2079139 abap/shared_objects_size_MB: 350
--> 902 em/address_space_MB: 10404
--> 13902 rsdb/ntab/entrycount: 30000
--> 878906 rsdb/ntab/ftabsize: 60000
--> 878906 rsdb/ntab/irbdsize: 15000
--> 175781 rsdb/ntab/sntabsize: 6000
--> 87891 rsdb/obj/buffersize: 50000
--> 659610 rsdb/obj/max_objects: 20000
--> 164902 rsdb/tbi_buffer_area_MB: 170
--> 3117 rsdb/tbi_dir_entries: 11000
--> 966797 rtbb/buffer_length: 60000
--> 263672 rtbb/max_tables: 1000
--> 87891 zcsa/db_max_buftab: 10000
--> 878906 zcsa/table_buffer_area:
100000000 --> 2700000000Additional Memory and OS Specific Checks================================================Shared Memory Disposition Overview================================================Shared memory pools Key:
10 Pool
Size configured.....: 200000000
( 190.7 MB)
Size min. estimated.: 137122000
( 130.8 MB)
Advised Size........: 140000000
( 133.5 MB) Key:
40 Pool for database buffers
Size configured.....: 1835008000
(1750.0 MB)
Size min. estimated.: 173334356
( 165.3 MB)
Advised Size........: 176000000
( 167.8 MB)Shared memories inside of pool 10 Key:
11 Size: 600000 (
0.6 MB) Factory calender buffer Key:
12 Size: 6000000 (
5.7 MB) TemSe Char-Code convert Buf. Key:
13 Size: 60500000 (
57.7 MB) Alert Area Key:
14 Size: 20000000 (
19.1 MB) Presentation buffer Key:
16 Size: 21360 (
0.0 MB) Semaphore activity monitoringShared memories inside of pool 40 Key:
42 Size: 18216816 (
17.4 MB) DB TTAB buffer Key:
43 Size:
65521424 ( 62.5 MB) DB FTAB
buffer Key:
44 Size: 16741424 (
16.0 MB) DB IREC buffer Key:
45 Size: 7525424 (
7.2 MB) DB short nametab buffer Key:
46 Size: 160 (
0.0 MB) DB sync table Key:
47 Size: 10343424 (
9.9 MB) DB CUA buffer Key:
48 Size: 2760160 (
2.6 MB) Number range buffer Key:
49 Size: 2224500 (
2.1 MB) Spool admin (SpoolWP+DiaWP)Shared memories outside of pools Key:
1 Size: 512 (
0.0 MB) System administration Key:
2 Size: 63039376 (
60.1 MB) Disp. administration tables Key:
3 Size: 417792000 ( 398.4 MB) Disp. communication
areas Key:
4 Size: 1078352 (
1.0 MB) statistic area Key:
6 Size: 6389760000 (6093.7 MB) ABAP program buffer Key:
7 Size: 33376 (
0.0 MB) Update task administration Key:
8 Size: 1061356020 (1012.2 MB) Paging buffer Key:
18 Size: 6788760 (
6.5 MB) Paging administration Key: 20
Size: 2319686 ( 2.2 MB) New Table buffer tbi Key:
21 Size: 18572752 (
17.7 MB) Request Queue Admin Key:
30 Size: 50848 (
0.0 MB) Taskhandler runtime admin. Key:
41 Size: 25010000 (
23.9 MB) DB statistics buffer Key:
51 Size: 35000000 (
33.4 MB) Extended memory admin. Key:
52 Size: 180000 (
0.2 MB) Message Server buffer Key:
54 Size: 51208192 (
48.8 MB) Export/Import buffer Key:
56 Size: 535528 (
0.5 MB) Application statistics Key:
57 Size: 1992294 (
1.9 MB) Profilparameter in shared mem Key:
58 Size: 2076 (
0.0 MB) Enqueue ID for reset Key:
62 Size: 180355072 ( 172.0 MB) Memory pipes Key:
63 Size: 409600 (
0.4 MB) ICMAN shared memory Key:
64 Size: 4227072 (
4.0 MB) Online Text Repository Buf. Key:
65 Size: 4227072 (
4.0 MB) Export/Import Shared Memory Key:
73 Size: 60211232 (
57.4 MB) CCMS Extended Alert Area Key:
76 Size: 1185920 (
1.1 MB) Ext. Segment Administration Key:
77 Size: 39736 (
0.0 MB) Ext. Memory Administration Key:
78 Size: 4248 (
0.0 MB) Ext. Global Memory Admin Key:
81 Size: 35168 (
0.0 MB) Security Audit Log Key:
83 Size: 136314880 ( 130.0 MB) ABAP Coverage Analyzer Key:
85 Size: 53240 (
0.0 MB) ACM Trace and othersShared memory resource requirements
estimated Total Nr of shared segments required.....: 33 Nr
of shared segments successful tested..:
100 Shared memory segment size required
min..: 6389760000 (6093.7 MB) Currently available maximum segment
size.: 34359738368 (32768.0 MB) R/3-imposed maximum segment
size.........: 21474836480 (20480.0 MB)Memory Space Requirements Estimated *=====Shared memory....................: 8371 MB ..in pool 10: 130.8 MB ( 97% used) ** ..in pool 40: 165.3 MB ( 98% used) ** ..not in pool: 8070.2 MB Extended Memory .................: 45092 MB SAP
Heap Memory .................: 6441
MB Gateway process .................: 95 MB ICM process .....................: 195
MB All Processes ...................: 2815
MB ( 24 WPs)----Total, minimum requirement...: 56278 MBProcess local heaps, worst case...: 9256 MBTotal, worst case requirement.....: 62719 MB
* These are only estimated values, final sizes may change
** Shared Pools are automatically calculated by Kernel
Errors detected..: 0Warnings detected................: 11
How can I calculate memory correctly?
Please advice!
Regads,
Hi Martin ,
What is your OS ,Kernel release and SAP product
run and analyze below memory monitoring tools
In-addition to SAPPFPAR CHECK
ST22 --> list out dumps
SE38 --> RSMEMORY -->Allocation sequence & quotas & EG/PROC Overview
ST02 --> memory , swaps overview (since last restart)
ST06 --> OS resources
SM04 --> snapshot of memory being used but no history
SM50 & SM66 (PRIV)
/SDF/MON
RZ20
Always go to involved Application server and work process trace (dev_w<nr>) to get more information
Not only increasing memory resources ; but also check from application perspective if the selection criteria can be reduced to reduce the amount of memory being consumed.
Check below OS specific notes
Linux
es/implementation = std
#941735 SAP memory management for 64 bit Linux system => std
386605 SAP Memory Management for Linux (32 bit) => map
AIX
ES/TABLE = SHM_SEGS
#789477 Large extended memory on AIX (64 bit) as of Kernel 6.20
#2362949 AIX: Calculation of ES/SHM_SEG_SIZE
# 2224372 Remove the limit on maximum segment size on AIX
Note
The following symptoms indicate the size of program buffer is not big enough:
- Shortdump PXA_NO_FREE_SPACE occurs → Check KBA 2169471.
- Too many swaps on program buffer (ST02) → Check KBA 2468124.
KBA 212902 - Calculated shared memory pool is too small
Unfortunately, it is impossible to calculate a suggested value as it highly depends on the system usage, if you are suffering from symptoms mentioned above, the system admins need to increase abap/buffersize gradually (10%~20%.eg) to explore the suitable value for your systems.
Thanks , Sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.