Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Shared Memory Issue


Hi All,

I am getting VMC issue in production, one of the app server VMC is keep dying. SAP asked to fix the shared memory issue, attached is the result of the profile check, please advise how to fix the issue which parameter needs to be changed and for CI and DI. Thanks for the help.

C:\Users\crpadm>sappfpar check pf=\\XXXXXXX\sapmnt\CRP\SYS\profile\CRP_D00_XXXXXXXX


================================================================================

==   Checking profile:     \\XXXXXXX\sapmnt\CRP\SYS\profile\CRP_D00_XXXXXXXX
================================================================================


***WARNING: Unexpected parameter: abap/arfcrstate_col_delete =X
***WARNING: Unexpected parameter: dbs/mss/par_stmt_cache_size =1000
***WARNING: Unexpected parameter: em/use_sema_lock =true
***WARNING: Unexpected parameter: jstartup/max_caches =500

***INFO: Temporary create ES2 resource SAP_ES2_sappfpar with 38896 MB
***ERROR: creation of ES2 resource failed (CreateFileMapping rc=1455)
***ERROR: Maximum shared memory segment size exceeded
================================================================
Shared memories exceeding size limit
Key:        6  Size:  1331200000 (1269.5 MB) ABAP program buffer

SOLUTIONS: (1) reconfigure your operating system for shared memory
               segment size of 2048.0 MB minimum
           (2) configure smaller SAP buffers

Shared memory disposition overview
================================================================
Key:        1  Size:        2500 (   0.0 MB) System administration
Key:        2  Size:    55902532 (  53.3 MB) Disp. administration tables
Key:        3  Size:   133728000 ( 127.5 MB) Disp. communication areas
Key:        4  Size:      532048 (   0.5 MB) statistic area
Key:        5  Size:        4096 (   0.0 MB) SCSA area
Key:        6  Size:  1331200000 (1269.5 MB) ABAP program buffer
Key:        7  Size:       14838 (   0.0 MB) Update task administration
Key:        8  Size:   134217828 ( 128.0 MB) Paging buffer
Key:        9  Size:   268435556 ( 256.0 MB) Roll buffer
Key:       11  Size:      500000 (   0.5 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:       22400 (   0.0 MB) Semaphore activity monitoring
Key:       17  Size:     2767448 (   2.6 MB) Roll administration
Key:       18  Size:     1835108 (   1.7 MB) Paging adminitration
Key:       19  Size:   129000000 ( 123.0 MB) Table-buffer
Key:       30  Size:       52224 (   0.0 MB) Taskhandler runtime admin.
Key:       31  Size:     8412000 (   8.0 MB) Dispatcher request queue
Key:       33  Size:    61440000 (  58.6 MB) Table buffer, part.buffering
Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer
Key:       42  Size:    25536992 (  24.4 MB) DB TTAB buffer
Key:       43  Size:    78070392 (  74.5 MB) DB FTAB buffer
Key:       44  Size:    37110392 (  35.4 MB) DB IREC buffer
Key:       45  Size:    21750392 (  20.7 MB) DB short nametab buffer
Key:       46  Size:       20480 (   0.0 MB) DB sync table
Key:       47  Size:    10241024 (   9.8 MB) DB CUA buffer
Key:       48  Size:      500000 (   0.5 MB) Number range buffer
Key:       49  Size:     2968344 (   2.8 MB) Spool admin (SpoolWP+DiaWP)
Key:       51  Size:    18000000 (  17.2 MB) Extended memory admin.
Key:       52  Size:      180000 (   0.2 MB) Message Server buffer
Key:       54  Size:    81928192 (  78.1 MB) Export/Import buffer
Key:       55  Size:        8192 (   0.0 MB) Spool local printer+joblist
Key:       57  Size:     1572864 (   1.5 MB) Profilparameter in shared mem
Key:       58  Size:        4096 (   0.0 MB) Enqueue ID for reset
Key:       62  Size:   526385152 ( 502.0 MB) Memory pipes
Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory
Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf.
Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory
Key:       76  Size:     1578272 (   1.5 MB) Ext. Segment Administration
Key:       77  Size:      513824 (   0.5 MB) Ext. Memory Administration
Key:       78  Size:      500384 (   0.5 MB) Ext. Global Memory Admin
Key:       81  Size:       21760 (   0.0 MB) Security Audit Log
Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0

Nr of operating system shared memory segments: 44

Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....:         44
Shared memory segment size required min..: 1331200000 (1269.5 MB)

Swap space requirements estimated
================================================
Shared memory....................: 2914.1 MB
Processes........................:  700.9 MB
Extended Memory .................: 4096.0 MB
Extended Memory 2 ...............: 38896.0 MB
.. 52 VMs, 1768.0 MB address space
------------------------------------------------
Total, minimum requirement.......: 46607.1 MB
Process local heaps, worst case..: 32762.0 MB
Total, worst case requirement....: 79369.1 MB

Errors detected..................:    2
Warnings detected................:    4


C:\Users\crpadm>sappfpar check pf=\\XXXXXXXXX\sapmnt\CRP\SYS\profile\CRP_DVEBMGS01_XXXXXXXXX


================================================================================

==   Checking profile:     \\XXXXXXXXX\sapmnt\CRP\SYS\profile\CRP_DVEBMGS01_XXXXXXXX
================================================================================


***WARNING: Unexpected parameter: abap/arfcrstate_col_delete =X
***WARNING: Unexpected parameter: dbs/mss/par_stmt_cache_size =1000
***WARNING: Unexpected parameter: em/use_sema_lock =true
***WARNING: Unexpected parameter: jstartup/max_caches =500

***INFO: Temporary create ES2 resource SAP_ES2_sappfpar with 38896 MB
***ERROR: creation of ES2 resource failed (CreateFileMapping rc=1455)
***ERROR: Maximum shared memory segment size exceeded
================================================================
Shared memories exceeding size limit
Key:        6  Size:  1331200000 (1269.5 MB) ABAP program buffer

SOLUTIONS: (1) reconfigure your operating system for shared memory
               segment size of 2048.0 MB minimum
           (2) configure smaller SAP buffers

Shared memory disposition overview
================================================================
Key:        1  Size:        2500 (   0.0 MB) System administration
Key:        2  Size:    55902532 (  53.3 MB) Disp. administration tables
Key:        3  Size:   133728000 ( 127.5 MB) Disp. communication areas
Key:        4  Size:      532048 (   0.5 MB) statistic area
Key:        5  Size:        4096 (   0.0 MB) SCSA area
Key:        6  Size:  1331200000 (1269.5 MB) ABAP program buffer
Key:        7  Size:       14838 (   0.0 MB) Update task administration
Key:        8  Size:   134217828 ( 128.0 MB) Paging buffer
Key:        9  Size:   268435556 ( 256.0 MB) Roll buffer
Key:       11  Size:      500000 (   0.5 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:       22400 (   0.0 MB) Semaphore activity monitoring
Key:       17  Size:     2767448 (   2.6 MB) Roll administration
Key:       18  Size:      917604 (   0.9 MB) Paging adminitration
Key:       19  Size:   129000000 ( 123.0 MB) Table-buffer
Key:       30  Size:       52224 (   0.0 MB) Taskhandler runtime admin.
Key:       31  Size:     9612000 (   9.2 MB) Dispatcher request queue
Key:       33  Size:    61440000 (  58.6 MB) Table buffer, part.buffering
Key:       34  Size:    20480000 (  19.5 MB) Enqueue table
Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer
Key:       42  Size:    25536992 (  24.4 MB) DB TTAB buffer
Key:       43  Size:    78070392 (  74.5 MB) DB FTAB buffer
Key:       44  Size:    37110392 (  35.4 MB) DB IREC buffer
Key:       45  Size:    21750392 (  20.7 MB) DB short nametab buffer
Key:       46  Size:       20480 (   0.0 MB) DB sync table
Key:       47  Size:    10241024 (   9.8 MB) DB CUA buffer
Key:       48  Size:      500000 (   0.5 MB) Number range buffer
Key:       49  Size:     2968344 (   2.8 MB) Spool admin (SpoolWP+DiaWP)
Key:       51  Size:    18000000 (  17.2 MB) Extended memory admin.
Key:       52  Size:      180000 (   0.2 MB) Message Server buffer
Key:       54  Size:    81928192 (  78.1 MB) Export/Import buffer
Key:       55  Size:        8192 (   0.0 MB) Spool local printer+joblist
Key:       57  Size:     1572864 (   1.5 MB) Profilparameter in shared mem
Key:       58  Size:        4096 (   0.0 MB) Enqueue ID for reset
Key:       62  Size:   526385152 ( 502.0 MB) Memory pipes
Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory
Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf.
Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory
Key:       76  Size:     1578272 (   1.5 MB) Ext. Segment Administration
Key:       77  Size:      513824 (   0.5 MB) Ext. Memory Administration
Key:       78  Size:      500384 (   0.5 MB) Ext. Global Memory Admin
Key:       81  Size:       21760 (   0.0 MB) Security Audit Log
Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0

Nr of operating system shared memory segments: 45

Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....:         45
Shared memory segment size required min..: 1331200000 (1269.5 MB)

Swap space requirements estimated
================================================
Shared memory....................: 2933.9 MB
Processes........................:  700.9 MB
Extended Memory .................: 4096.0 MB
Extended Memory 2 ...............: 38896.0 MB
.. 52 VMs, 1768.0 MB address space
------------------------------------------------
Total, minimum requirement.......: 46626.9 MB
Process local heaps, worst case..: 11264.0 MB
Total, worst case requirement....: 57890.9 MB

Errors detected..................:    2
Warnings detected................:    4

C:\Users\crpadm>

Thanks,
Kavitha Rajan.

Former Member
Not what you were looking for? View more on this topic or Ask a question