cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid shared memory Key=34

Former Member
0 Kudos

Hi,

We started our addon java instance but,enqsrerver is not comming up.Also i tried to search cleanipc in kernel folder,we did not find the exe.Pl guide me

Supriyo

-


trc file: "dev_enqsrv", trc level: 1, release: "700"

-


systemid 562 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 133

intno 20050900

make: multithreaded, Unicode, 64 bit, optimized

pid 5756

[Thr 5796] Wed Apr 23 18:41:14 2008

[Thr 5796] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c 719]

[Thr 5796] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c 793]

[Thr 5796] initialize_global: enqueue server without replication

[Thr 5796] Enqueue: EnqMemStartupAction Utc=1208956274

[Thr 5796] *** ERROR => [CreateOsShm] CreateFileMapping(37,65 KB) failed with Err=5

ERROR_ACCESS_DENIED: Access is denied. [shmnt.c 2174]

[Thr 5796] *** ERROR => ShmCreate: Create (37,67072,1) failed [shmnt.c 506]

*****************************************************

  • Memory diagnostic *

*****************************************************

Systeminformation

-


Processor-Typ : Processor-Count : 8

Operating System : NT 5.2, Build 3790

Service Pack : Service Pack 2

-


NT Pagefile Informations

-


Config. minimum size : 32768000 K

Config. maximum size : 45056000 K

Avail. maximum size : 45056000 K

Num

Pagefile

Min.Size

Max.Size

Avail.Max

Curr.Size







1

c:\pagefile.sys

22528000 K

24576000 K

24576000 K

22528000 K

2

d:\pagefile.sys

10240000 K

20480000 K

20480000 K

10240000 K

-


NT Task Manager Informations

-


Total Handles : 0

Total Threads : 0

Total Processes : 0

Commit Charge Total : 0 K

Commit Charge Limit : 0 K

Commit Charge Peak : 16 K

Phys.Memory Total : 0 K

Phys.Memory Available : 0 K

File Cache : 0 K

Kernel Memory Total : 0 K

Kernel Memory Paged : 0 K

Kernel Memory Nonpaged : 0 K

-


Memory usage of current process

-


Total virt.address space : 0000008589934464 K

Avail.virt.address space : 0000008589690660 K

Private Pages : 0 K

Total heap size : 59735 K

Virtual memory regions : 0 K

Uncommitted heap memory : 10728 K

Allocated heap memory : 47486 K

Moveable heap memory : 758 K

DDE shared heap memory : 0 K

-


Memory usage of all processes

-


PID

Image

Instance

Work.Set

WS Peak

Priv.Pages

PP Peak

Pg Fault









1660

sapstartsrv.exe

18260 K

18308 K

20580 K

20640 K

4

5712

msg_server.EXE

[MS] SBI_03

6680 K

6680 K

10068 K

10068 K

1

5756

enserver.EXE

13904 K

14024 K

54864 K

54996 K

3









Sum

38844 K

85512 K

[Thr 5796] CrtOsSemAdm: Can't protect begin page (Ptr=FFFFFFFFFFFFF000,RC=87)

[Thr 5796] CrtOsSemAdm: Can't protect end page (Ptr=000000000000F000,RC=487)

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Stop your application servers as well your CI, After that clear the <sidadm> memory usage from Task manager.

Once done restart your DB server if you are on SQL DB then restart your DB server by connecting it through SQL consol.

Once DB restarted sucessfully, start your SAP application on remaining servers.

angus_macaulay
Explorer
0 Kudos

I also have same problem: ABAP instance, upgraded to ABAP and JAVA.

First saw this at SPS-15 level on upgrading kernel to 159 from 133 but on reverting to kernel 146, same problem.

SAPOSCOL -D does not help.

Running on W2003 under VMware with the latest SAPOSCOL.

Former Member
0 Kudos

I am having the same problem in a ABAP + Java HA installation.

Everythink was working fine but sudenly the ASCS stoped working. SCS is working fine.

Get the same error:

[Thr 4588] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c 719]

[Thr 4588] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c 793]

[Thr 4588] ShadowTable:attach: ShmCreate - pool doesn't exist

[Thr 4588] Enqueue: EnqMemStartupAction Utc=1216148988

[Thr 4588] *** ERROR => [CreateOsShm] CreateFileMapping(37,65 KB) failed with Err=5

ERROR_ACCESS_DENIED: Access is denied. [shmnt.c 2174]

[Thr 4588] *** ERROR => ShmCreate: Create (37,67072,1) failed [shmnt.c 506]

...

[Thr 4588] CrtOsSemAdm: Can't protect begin page (Ptr=FFFFFFFFFFFFF000,RC=87)

[Thr 4588] CrtOsSemAdm: Can't protect end page (Ptr=000000000000F000,RC=487)

Already tried SAPOSCOL -D but problem is the same.

Regards,

Israel.

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

Did you check the windows event logs (i.e. application/security)?

Thanks,

Manoj

Former Member
0 Kudos

Guys,

In windows we can use SAPOSCOL -D to deleted shared memory

Regards,

Ramesh.B

JPReyes
Active Contributor
0 Kudos

You need to run cleanipc to clear the shard memory... do you have any other systems running another kernel that you might be able to copy the cleanipc executable?

Regards

Juan

Former Member
0 Kudos

Hi,

We are on windows server 64bit...i feel cleanipc is on Unix machine.Correct me if iam wrong.pl suggest for windows.

Supriyo

JPReyes
Active Contributor
0 Kudos

cleanipc used to be shipped with the old kernels (windows included) for some reason seems to be gone in the latest releases.

Regards

Juan

Former Member
0 Kudos

Hello,

Does anybody have any other suggestions how to solve such problem?

We observe the same on our test system:

-


trc file: "dev_enqsrv", trc level: 1, release: "700"

-


systemid 560 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 116

intno 20050900

make: multithreaded, Unicode, optimized

pid 4624

[Thr 4628] Mon Jun 09 10:53:00 2008

[Thr 4628] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c 719]

[Thr 4628] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c 793]

[Thr 4628] initialize_global: enqueue server without replication

[Thr 4628] Enqueue: EnqMemStartupAction Utc=1213005180

[Thr 4628] ***LOG GEJ=> [enxxmfil.h 187]

[Thr 4628] ***LOG GZZ=> D:\usr\sap
D00\log\ENQBCK.DAT [enxxmfil.h 187]

[Thr 4628] ***LOG GZZ=> No such file or directory [enxxmfil.h 187]

[Thr 4628] Enqueue Info: replication enabled

[Thr 4628] Enqueue Info: enque/replication_dll not set

[Thr 4628] ***LOG GEJ=> [enxxmfil.h 504]

[Thr 4628] ***LOG GZZ=> D:\usr\sap
D00\work\ENQLOG99.DA [enxxmfil.h 504]

[Thr 4628] ***LOG GZZ=> No such file or directory [enxxmfil.h 504]

[Thr 4628] Mon Jun 09 10:53:01 2008

[Thr 4628] ***LOG GEZ=> Server start [encllog.cpp 493]

regards

Artur