cancel
Showing results for 
Search instead for 
Did you mean: 

switch of shared memory profiling

Former Member
0 Kudos

During the maintenance by mistake i have cleared the shared memory(cleanipc) on running server,after that while starting server is not coming up

When i check Dev_disp it showing switched off shared memory profiling.

Database is up and running fine, r3trans-d retun code 000,

i stopped the sever and did the cleanipc even though same error

Could you please suggest me what i need's to be done to bring up the server

Accepted Solutions (1)

Accepted Solutions (1)

former_member227283
Active Contributor
0 Kudos

Hi,

Simply restart your OS ...

Thanks,

Anil

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Issue resolved after we rebooted OS

Thanks Rahul/Anil for your suggestion !

Best Regards,

Mayur Bhimani

0 Kudos

Hello,

a memory mapped file of VMC is hanging:

      • ERROR => Es2IResCreate: shmget failed (17: File exists) [es2ux.c 214]

'cleanipc 00 remove' should delete it. On Linux (/dev/shm) and Solaris (/tmp) you can delete it maually. In every case you get rid of it by a reboot.

Regards, Klaus

Former Member
0 Kudos

Hi,

Provide us dev_disp and dev_w0 traces....dev_mes traces.

we will get idea, what exactly happening.

Thanks

R.

Former Member
0 Kudos

dev_disp

kernel runs with dp version 224000(ext=109000) (@(#) DPLIB-INT-VERSION-224000-UC)

length of sys_adm_ext is 572 bytes

      • SWITCH TRC-HIDE on ***

***LOG Q00=> DpSapEnvInit, DPStart (00 12432) [dpxxdisp.c 1235]

shared lib "dw_xml.sl" version 102 successfully loaded

shared lib "dw_xtc.sl" version 102 successfully loaded

shared lib "dw_stl.sl" version 102 successfully loaded

shared lib "dw_gui.sl" version 102 successfully loaded

shared lib "dw_mdm.sl" version 102 successfully loaded

rdisp/softcancel_sequence : -> 0,5,-1

use internal message server connection to port 3900

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is active

DpIPCInit2: start server >endako_S38_00 <

DpShMCreate: sizeof(wp_adm) 19136 (1472)

DpShMCreate: sizeof(tm_adm) 5677856 (28248)

DpShMCreate: sizeof(wp_ca_adm) 28800 (96)

DpShMCreate: sizeof(appc_ca_adm) 9600 (96)

DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080

DpShMCreate: sizeof(comm_adm) 552080 (1088)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=512/48/65600/90416/156064

DpShMCreate: sizeof(slock_adm) 156064 (104)

DpFileTableSize: max/headSize/ftSize/tableSize=2400/16/230464/230480

DpShMCreate: sizeof(file_adm) 230480 (72)

DpShMCreate: sizeof(vmc_adm) 23904 (1992)

DpShMCreate: sizeof(wall_adm) (41664/36752/80/192)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 0xc000000012000000, size: 6784816)

DpShMCreate: allocated sys_adm at 0xc000000012000000

DpShMCreate: allocated wp_adm at 0xc000000012001fb0

DpShMCreate: allocated tm_adm_list at 0xc000000012006a70

DpShMCreate: allocated tm_adm_list at 0xc000000012006a70

DpShMCreate: allocated tm_adm at 0xc000000012006ad0

DpShMCreate: allocated wp_ca_adm at 0xc000000012570df0

DpShMCreate: allocated appc_ca_adm at 0xc000000012577e70

DpShMCreate: allocated comm_adm at 0xc00000001257a3f0

DpShMCreate: allocated slock_adm at 0xc000000012601080

DpShMCreate: allocated file_adm at 0xc000000012627220

DpShMCreate: allocated vmc_adm_list at 0xc00000001265f670

DpShMCreate: allocated gw_adm at 0xc00000001265f6f0

DpShMCreate: allocated vmc_adm at 0xc00000001265f720

DpShMCreate: allocated ca_info at 0xc000000012665480

DpShMCreate: allocated wall_adm at 0xc000000012665490

MBUF state OFF

DpCommInitTable: init table for 500 entries

DpFileInitTable: init table for 2400 entries

DpSesCreateTable: created session table at 0xc00000000ab10000 (len=145632)

EmInit: MmSetImplementation( 2 ).

MM global diagnostic options set: 0

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 4096 kByte.

Using implementation std

<ES> Info: use normal pages (no huge table support available)EsStdUnamFileMapInit: ES base = 0x0xc00000026f000000

EsStdInit: Extended Memory 8192 MB allocated

<ES> 2047 blocks reserved for free list.

ES initialized.

Es2ResCreate: Changed resource parameters to

filenamePrefix = /usr/sap/S38/DVEBMGS00/data/

blockSizeKB = 1024 KB

initialSizeMB = 3680 MB

maxSizeMB = 3680 MB

      • ERROR => Es2IResCreate: shmget failed (17: File exists) [es2ux.c 214]

      • ERROR => Es2ResCreateFiles: Es2IResCreate failed [es2xx.c 1265]

      • ERROR => Es2ResCreate: Es2ResCreateFiles failed [es2xx.c 1443]

      • ERROR => DpEmInit: Es2ResCreate (1) [dpxxdisp.c 9582]

      • ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 9486]

      • DP_FATAL_ERROR => DpSapEnvInit: DpMemInit

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

NiISelect: timeout 10000ms

NiISelect: maximum fd=1

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Tue Nov 3 04:19:29 2009

NiISelect: TIMEOUT occured (10000ms)

dump system status

Workprocess Table (long) Tue Nov 3 12:19:29 2009

No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table

-


      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

0 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

1 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

2 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

3 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

4 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

5 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

6 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

7 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

8 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

9 ? -1 Free no 0 0 0

Tue Nov 3 04:19:30 2009

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

10 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

11 ? -1 Free no 0 0 0

      • ERROR => DpRqTxt: bad rqtype -1 [dpxxrq.c 785]

12 ? -1 Free no 0 0 0

Dispatcher Queue Statistics Tue Nov 3 12:19:30 2009

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

Dispatcher Queue Statistics Tue Nov 3 12:19:30 2009

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

--------


+
+

+

+
--


+

Typ

now

high

max

writes

reads

--------


+
+

+

+
--


+

NOWP

0

0

2000

0

0

--------


+
+

+

+
--


+

DIA

0

0

2000

0

0

--------


+
+

+

+
--


+

UPD

0

0

2000

0

0

--------


+
+

+

+
--


+

ENQ

0

0

2000

0

0

--------


+
+

+

+
--


+

BTC

0

0

2000

0

0

--------


+
+

+

+
--


+

SPO

0

0

2000

0

0

--------


+
+

+

+
--


+

UP2

0

0

2000

0

0

--------


+
+

+

+
--


+

max_rq_id 0

wake_evt_udp_now 0

wake events total 0, udp 0 ( 0%), shm 0 ( 0%)

since last update total 0, udp 0 ( 0%), shm 0 ( 0%)

Dump of tm_adm structure: Tue Nov 3 12:19:30 2009

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

Term uid man user term lastop mod wp ta a/i (modes)

Dump of tm_adm structure: Tue Nov 3 12:19:30 2009

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

Term uid man user term lastop mod wp ta a/i (modes)

Workprocess Comm. Area Blocks Tue Nov 3 12:19:30 2009

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

Slots: 300, Used: 0, Max: 0

--------


+
+
--


+

id

owner

pid

eyecatcher

--------


+
+
--


+

NiWait: sleep (5000ms) ...

NiISelect: timeout 5000ms

NiISelect: maximum fd=1

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Tue Nov 3 04:19:35 2009

NiISelect: TIMEOUT occured (5000ms)

DpHalt: shutdown server >endako_S38_00 < (normal)

DpJ2eeDisableRestart

Switch off Shared memory profiling

ShmProtect( 57, 3 )

ShmProtect: shmat key 57 prot 3/0 done

ShmProtect(SHM_PROFILE, SHM_PROT_RW

ShmProtect( 57, 1 )

ShmProtect: shmat key 57 prot 1/4096 done

ShmProtect(SHM_PROFILE, SHM_PROT_RD

DpWakeUpWps: wake up all wp's

Stop work processes

Terminate gui connections

wait for end of work processes

not attached to the message server

cleanup EM

EsCleanup ....

EmCleanup() -> 0

Es2Cleanup: Cleanup ES2

ShmDelete( 76 )

cleanup event management

cleanup shared memory/semaphores

ShmCleanup SHM_SYS_ADM_KEY

ShmCleanup( 1 )

ShmCreate( 1, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 1, 3 )

ShmProtect: shmat key 1 prot 3/0 done

ShmCreate( 1, 0, 2, -> 0x0xc000000003a55000 )

ShmCleanup SHM_DP_ADM_KEY

ShmCreate( 2, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 2, 3 )

ShmProtect: shmat key 2 prot 3/0 done

ShmCreate( 2, 0, 2, -> 0x0xc000000012000000 )

ShmCleanup SHM_DP_CA_KEY

ShmCleanup( 3 )

ShmCreate( 3, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 3, 3 )

ShmProtect: shmat key 3 prot 3/0 done

ShmCreate( 3, 0, 2, -> 0x0xc000000030c00000 )

ShmCleanup SHM_PF_KEY

ShmCleanup( 4 )

ShmCreate( 4, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 4 ) = 0740 (octal)

ShmCleanup SHM_PRES_BUF

ShmCleanup( 14 )

ShmCreate( 14, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 14 ) = 0740 (octal)

ShmCleanup SHM_CALI_BUFFER

ShmCleanup( 11 )

ShmCreate( 11, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 10, 11, 0, 2, 0x0x9fffffffffffe548 )

ShmCleanup SHM_DB_TBUFF

ShmCleanup( 19 )

ShmCreate( 19, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 19 ) = 0740 (octal)

ShmCleanup SHM_DB_TBUFF_P

ShmCleanup( 33 )

ShmCreate( 33, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 33 ) = 0740 (octal)

ShmCleanup SHM_DB_STBUFF

ShmCleanup( 41 )

ShmCreate( 41, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 41 ) = 0740 (octal)

ShmCleanup SHM_DB_TTBUFF

ShmCleanup( 42 )

ShmCreate( 42, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 40, 42, 0, 2, 0x0x9fffffffffffe548 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe438 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_FTBUFF

ShmCleanup( 43 )

ShmCreate( 43, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 40, 43, 0, 2, 0x0x9fffffffffffe548 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe438 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_SNTBUFF

ShmCleanup( 45 )

ShmCreate( 45, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 40, 45, 0, 2, 0x0x9fffffffffffe548 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe438 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_IRBUFF

ShmCleanup( 44 )

ShmCreate( 44, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 40, 44, 0, 2, 0x0x9fffffffffffe548 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe438 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_OBJ_BUFFER

ShmCleanup( 54 )

ShmCreate( 54, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 54 ) = 0740 (octal)

ShmCleanup SHM_DB_SYNC

ShmCleanup( 46 )

ShmCreate( 46, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 40, 46, 0, 2, 0x0x9fffffffffffe548 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe438 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_CUA_BUFFER

ShmCleanup( 47 )

ShmCreate( 47, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 40, 47, 0, 2, 0x0x9fffffffffffe548 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe438 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_OTR_BUFFER

ShmCleanup( 64 )

ShmCreate( 64, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 64 ) = 0740 (octal)

ShmCleanup SHM_DB_ESM_BUFFER

ShmCleanup( 65 )

ShmCreate( 65, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 65 ) = 0740 (octal)

ShmCleanup SHM_ROLL_AREA_KEY

ShmCleanup( 9 )

ShmCreate( 9, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 9 ) = 0740 (octal)

ShmCleanup SHM_PAGING_AREA_KEY

ShmCleanup( 8 )

ShmCreate( 8, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 8 ) = 0740 (octal)

ShmCleanup SHM_ROLL_ADM_KEY

ShmCleanup( 17 )

ShmCreate( 17, 0, 2, 0x0x9fffffffffffe5e0 )

ShmGet( 10, 17, 0, 2, 0x0x9fffffffffffe548 )

ShmCleanup SHM_PAGING_ADM_KEY

ShmCleanup( 18 )

ShmCreate( 18, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 18 ) = 0740 (octal)

ShmCleanup SHM_PXA_KEY

ShmCleanup( 6 )

ShmCreate( 6, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 6 ) = 0740 (octal)

ShmCleanup SHM_ENQ_TABLE_KEY

ShmCleanup( 34 )

ShmCreate( 34, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 34 ) = 0740 (octal)

ShmCleanup SHM_ENQID_KEY

ShmCleanup( 58 )

ShmCreate( 58, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 58 ) = 0740 (octal)

ShmCleanup SHM_VB_ADM_KEY

ShmCleanup( 7 )

ShmCreate( 7, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 7 ) = 0740 (octal)

ShmCleanup SHM_DB_POOL

ShmCleanup( 40 )

ShmCreate( 40, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_ES2_ADM

ShmCleanup( 76 )

ShmCreate( 76, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 76 ) = 0740 (octal)

ShmCleanup SHM_EM_ADM

ShmCleanup( 51 )

ShmCreate( 51, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 51, 3 )

ShmProtect: shmat key 51 prot 3/0 done

ShmCreate( 51, 0, 2, -> 0x0xc000000032000000 )

ShmCleanup SHM_EM2_ADM

ShmCleanup( 77 )

ShmCreate( 77, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 77 ) = 0740 (octal)

ShmCleanup SHM_EG2_ADM

ShmCleanup( 78 )

ShmCreate( 78, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 78 ) = 0740 (octal)

ShmCleanup SHM_MSBUF

ShmCleanup( 52 )

ShmCreate( 52, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 52, 3 )

ShmProtect: shmat key 52 prot 3/0 done

ShmCreate( 52, 0, 2, -> 0x0xc000000003e00000 )

ShmCleanup SHM_THRUN_ADM_KEY(th run adm)

ShmCleanup( 30 )

ShmCreate( 30, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 30 ) = 0740 (octal)

ShmCleanup SHM_JAVA

ShmCleanup( 70 )

ShmCreate( 70, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 70, 3 )

ShmProtect: shmat key 70 prot 3/0 done

ShmCreate( 70, 0, 2, -> 0x0xc00000000ab10000 )

ShmCleanup SHM_PF_AS_KEY(Appl.Statistics)

ShmCleanup( 56 )

ShmCreate( 56, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 56 ) = 0740 (octal)

ShmCleanup SHM_POOL_0

ShmCleanup( 10 )

ShmCreate( 10, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 10, 3 )

ShmCreate( 10, 0, 2, -> 0x0xc000000027000000 )

ShmCleanup SHM_PROFILE

ShmCleanup( 57 )

ShmCreate( 57, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 57, 3 )

ShmProtect: shmat key 57 prot 3/0 done

ShmCreate( 57, 0, 2, -> 0x0xc00000000cc00000 )

MiCleanup:

ShmCleanup( 62 )

ShmCreate( 62, 0, 2, 0x0x9fffffffffffe5e0 )

ShmKeyPermission( 62 ) = 0740 (octal)

      • ERROR => ShmCleanup(62) failed 3 [mpixx.c 3238]

MpiCleanup() -> 1

removing Semaphore-Management

removing request queue

ShmCleanup( 31 )

ShmCreate( 31, 0, 2, 0x0x9fffffffffffe5e0 )

ShmProtect( 31, 3 )

ShmProtect: shmat key 31 prot 3/0 done

ShmCreate( 31, 0, 2, -> 0x0xc000000017400000 )

closing connect handles (dgm + tcp)

***LOG Q05=> DpHalt, DPStop ( 12432) [dpxxdisp.c 10594]

      • shutdown completed - server stopped ***

Former Member
0 Kudos

Hi Manohar,

This is due to shared memory issue.

I would like to guide you to stop Database and reboot your operating system

start db and start sap.

It should give you relief. let me know.

Thanks

R.