SAP Knowledge Base Article - Preview

2144746 - SAP does not start due to memory pool 40 exceeded

Symptom

  1. You attempt to start an SAP instance however the instance does not start and the below entries are written in the dev_disp trace file from the dispatcher.

    *** ERROR => Illegal ShmAdm Slot. Key=495215104. [shmux.c 645]
    ShmGet( 495215104, 40, 0, 2, 0xfffffd7fffdfeca8 )
    *** ERROR => ShmGet: Inv PoolKey=495215104, Key=40, Flag=2, Ptr=fffffd7fffdfeca8. [shmux.c 1952]
    *** ERROR => ShmCleanup: ShmCreate(40,0,SHM_ATTACH,...) failed. rtc=2 [shmux.c 3087]

  2. In the output of the command "sappfpar check pf=<path to the instance profile>" you can see memory pool 40 is exceeding its size limit.

    ***ERROR: Maximum shared memory segment size exceeded
    ================================================================
    Shared memory pools exceeding size limit
    Key:       40  Size:  102584000000 (97831.7 MB) Pool for database buffers

    Swap space requirements estimated
    ================================================
    Shared memory....................: 100446.8 MB
    ..in pool 10  133.4 MB,   13% used
    ..in pool 40 1024.0 MB,  9553% used !!

  3. In the details of the memory keys contained under the memory pool 40 you can see that one of the buffer areas is using a large space and this space can be larger than the memory pool 40 total size.

    Shared memories inside of pool 40
    Key:       42  Size:    21136992 (  20.2 MB) DB TTAB buffer
    Key:       43  Size:    76988824 (  73.4 MB) DB FTAB buffer
    Key:       44  Size:    21676440 (  20.7 MB) DB IREC buffer
    Key:       45  Size:     8362392 (   8.0 MB) DB short nametab buffer
    Key:       46  Size:       20480 (   0.0 MB) DB sync table
    Key:       47  Size:  102400001024 (97656.2 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)

Read more...

Environment

SAP Netweaver release independent

Product

SAP NetWeaver all versions

Keywords

system_down, instance_unavailable, buffer_pool, memory, shared, production, 40, CUA, DB, sappfpar, startsap, SAP, dispatcher, extended , KBA , BC-CST-STS , Startup Service , BC-DB-DBI , DB Independent Database Interface , BC-ABA , ABAP Runtime Environment - ABAP Language Issues Only , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.