cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Memory Issue

Former Member
0 Kudos

Hello Guru's

An issue with the SAP Gateway which was running but not working correctly

For that reason no RFC or any other outgoing connection was working

Once we tried to restart the gateway the server, it crashed

Please let me know what are the corrective action, and from where I can found the appropriate logs for the same.

Please suggest the rectification or refer SAP Notes to resolve the issue

Thanks & Regards

Shishir

I am attaching the log for your reference

trc file: "dev_dpmon", trc level: 1, release: "640"

sysno 00

sid PBS

systemid 324 (IBM RS/6000 with AIX)

relno 6400

patchlevel 0

patchno 243

intno 20020600

make: single threaded, ASCII, 64 bit

pid 1380766

Thu May 7 07:04:22 2009

Profile configuration error detected, use temporary corrected setup

Shared Pool 10: ipc/shm_psize_10 = 19880000 (too small)

Shared Pool 10: (smaller than min requirement 189885550)

Shared Pool 10: (estimated size assumed 194000000)

      • ERROR => DpSysAdmExtCreate: ShmCreate (ATTACH) failed (3) [dpxxtool2.c 566]

      • ERROR => DpIPCInit2: DpSysAdmExtCreate [dpxxtool2.c 342]

      • ERROR => DpMonInit: DpIPCInit [dpxxmon.c 854]

      • ERROR => main: DpMonInit [dpxxmon.c 445]

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

log for your reference

bascop01:pbsadm 4> sappfpar check pf=PBS_DVEBMGS00_bascop01

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

== Checking profile: PBS_DVEBMGS00_bascop01

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

***WARNING: Unexpected parameter: auth/auth_number_in_userbuffer =4000

***WARNING: Unexpected parameter: rdisp/max_com_msg =500

***WARNING: Unexpected parameter: rfc/use_wp_instead_of_pid =1

***WARNING: Unexpected parameter: rsdb/rclu/cachelimit =0

***WARNING: Unexpected parameter: rspo/host_spool/burst_pages =0

***WARNING: Unexpected parameter: ssl/ssl_lib =/usr/sap/PBS/SYS/exe/run/libsapcrypto.o

Shared memory disposition overview

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

Shared memory pools

Key: 10 Pool

Size configured.....: 372000000 ( 354.8 MB)

Size min. estimated.: 367423228 ( 350.4 MB)

Advised Size........: 370000000 ( 352.9 MB)

Key: 40 Pool for database buffers

Size configured.....: 804000000 ( 766.8 MB)

Size min. estimated.: 799046960 ( 762.0 MB)

Advised Size........: 802000000 ( 764.8 MB)

Shared memories inside of pool 10

Key: 1 Size: 2500 ( 0.0 MB) System administration

Key: 4 Size: 534448 ( 0.5 MB) statistic area

Key: 7 Size: 14838 ( 0.0 MB) Update task administration

Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer

Key: 12 Size: 6000000 ( 5.7 MB) TemSe Char-Code convert Buf.

Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring

Key: 17 Size: 2672386 ( 2.5 MB) Roll administration

Key: 30 Size: 56320 ( 0.1 MB) Taskhandler runtime admin.

Key: 31 Size: 9606000 ( 9.2 MB) Dispatcher request queue

Key: 33 Size: 204800000 ( 195.3 MB) Table buffer, part.buffering

Key: 34 Size: 92160000 ( 87.9 MB) Enqueue table

Key: 57 Size: 1048576 ( 1.0 MB) Profilparameter in shared mem

Key: 58 Size: 4096 ( 0.0 MB) Enqueue ID for reset

Shared memories inside of pool 40

Key: 2 Size: 31185464 ( 29.7 MB) Disp. administration tables

Key: 13 Size: 8500000 ( 8.1 MB) Alert Area

Key: 14 Size: 80000000 ( 76.3 MB) Presentation buffer

Key: 19 Size: 350000000 ( 333.8 MB) Table-buffer

Key: 42 Size: 16032992 ( 15.3 MB) DB TTAB buffer

Key: 43 Size: 96174392 ( 91.7 MB) DB FTAB buffer

Key: 44 Size: 10158392 ( 9.7 MB) DB IREC buffer

Key: 45 Size: 7086392 ( 6.8 MB) DB short nametab buffer

Key: 46 Size: 20480 ( 0.0 MB) DB sync table

Key: 47 Size: 40961024 ( 39.1 MB) DB CUA buffer

Key: 48 Size: 500000 ( 0.5 MB) Number range buffer

Key: 49 Size: 2769392 ( 2.6 MB) Spool admin (SpoolWP+DiaWP)

Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.

Key: 52 Size: 40000 ( 0.0 MB) Message Server buffer

Key: 54 Size: 102408192 ( 97.7 MB) Export/Import buffer

Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist

Shared memories outside of pools

Key: 3 Size: 114048000 ( 108.8 MB) Disp. communication areas

Key: 6 Size: 1597440000 (1523.4 MB) ABAP program buffer

Key: 8 Size: 536871012 ( 512.0 MB) Paging buffer

Key: 9 Size: 134217828 ( 128.0 MB) Roll buffer

Key: 18 Size: 2293860 ( 2.2 MB) Paging adminitration

Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer

Key: 62 Size: 85983232 ( 82.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: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0

Key: 58900100 Size: 4096 ( 0.0 MB) SCSA area

Nr of operating system shared memory segments: 14

Shared memory resource requirements estimated

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

Nr of shared memory descriptors required for

Extended Memory Management (unnamed mapped file).: 8

Total Nr of shared segments required.....: 22

System-imposed number of shared memories.: 1000

Shared memory segment size required min..: 1597440000 (1523.4 MB)

System-imposed maximum segment size......: 35184372088832 (33554432.0 MB)

Swap space requirements estimated

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

Shared memory....................: 3508.6 MB

..in pool 10 350.4 MB, 98% used

..in pool 40 762.0 MB, 99% used

..not in pool: 2389.0 MB

Processes........................: 679.0 MB

Extended Memory .................: 4096.0 MB

-


Total, minimum requirement.......: 8283.6 MB

Process local heaps, worst case..: 1907.3 MB

Total, worst case requirement....: 10191.0 MB

Errors detected..................: 0

Warnings detected................: 6

Former Member
0 Kudos

Hi Shishir,

Have you resolved this issue.I am facing the similar issue like you

***ERROR: Size of shared memory pool 10 too small

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

SOLUTIONS: (1) Locate shared memory segments outside of pool 10

with parameters like: ipc/shm_psize_<key> =0

SOLUTION: Increase size of shared memory pool 10

with parameter: ipc/shm_psize_10 =56000000

***ERROR: Size of shared memory pool 40 too small

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

SOLUTIONS: (1) Locate shared memory segments outside of pool 40

with parameters like: ipc/shm_psize_<key> =0

SOLUTION: Increase size of shared memory pool 40

with parameter: ipc/shm_psize_40 =62000000

Please help !

Regards

markus_doehr2
Active Contributor
0 Kudos

> Please help !

Well- don't know what you want to hear - but did you try to enter those parameters in your instance profile and restarting the instance?

Markus

Former Member
0 Kudos

Hello,

also include the output of

sappfpar pf=<profile of the affected instance> check

which is usually very helpful in case of problems related to the memory configuration.

Best Regards,

Michael

Former Member
0 Kudos

almost same problem i faced i increase the value

ipc/shm_psize_10 to 200000000

ipc/shm_psize_40

Hope ur problem solve

SurendraJain

markus_doehr2
Active Contributor
0 Kudos

> almost same problem i faced i increase the value

What is "almost the same problem"? Please post the logfile!

Markus

Former Member
0 Kudos

Hi

Looks like the setting for ipc/shm_psize_10 is too small, try to increase it from 19'880'000 to 198'800'000. You can set it in RZ10.

Then stop your SAP system and do a cleanipc <instnr> remove, where instnr is your instance number (most likely 00). Then restart SAP.

Check sap note [212902 - Calculated shared memory pool is too small|https://service.sap.com/sap/support/notes/212902] and search for rspfpar for more details.

Best regards, Michael

Edit: btw, the oracle forum is not the right place for this question, as it is not a database related issue. You should better have chosen one of these:

or