cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatcher dying out

former_member186066
Participant
0 Kudos

Hello All,

I have an ECC 6.0 Ides system which is not coming up.

Here are the relevant logs:

Event Viewer:

Failed to update service environment from user (.\ec6adm) environment. [ntservmgr.cpp 223]

DEV_MS:

ERROR => MsSClientHandle: no server provides service ENQ (4), requested from ctsgvcsap3_EC6_00 [msxxserv.c 4693]

DEV_W20

X *** Error 11 while initializing OS dependent part.

M *** ERROR => DpEmInit: EmInit (1) [dpxxdisp.c 10362]

M *** ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 10287]

M *** DP_FATAL_ERROR => DpSapEnvInit: DpMemInit

The event viewer log points to "hostname related erro" and the work process logs points to a virtual memory issue.

So unable to find the root cause.

Please suggest.

Thanks and Regards,

Ankit Mishra

Accepted Solutions (0)

Answers (2)

Answers (2)

venkata_emandi
Participant
0 Kudos

Hello,

Please update the Kernel to latest to fix the issue.

Hope this helps

venkata emandi

former_member186066
Participant
0 Kudos

Hi,

I have applied the latest kernel patch (291) but the error still persists.

Thanks,

Ankit

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you Please paste dev_w0 log ?

Thanks

Sunny

former_member186066
Participant
0 Kudos

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

-


X

X *** ERROR => <EsNT> error: [esnti.c 698]VirtualFree(2B180000,0,32768) returned 0

(lastError = 487) [esnti.c 3641]

X [esnti.c 2774]VirtualAlloc(30380000,1048576,8192,2) returned 00000000

X

X *** ERROR => <EsNT> error: [esnti.c 2774]VirtualAlloc(30380000,1048576,8192,2) returned 00000000

(lastError = 487) [esnti.c 3641]

X *** ERROR => <EsNT> Block 82/512 VirtualAlloc error=487 [esnti.c 2783]

All virtual address regions

-


Created: Mon Oct 03 20:04:57 2011

Begin : 0x10000

End : 0x7ffeffff

System : 0.000

Heap : 0.001

Dll : 0.112

-


Address : 0.022 sec

Elapsed Time : 0.134 sec

Virtual total : 0 K

Virtual free : 825756 K

Virtual commit : 171028 K

Virtual reserve : 1100240 K

-


X *** Error 11 while initializing OS dependent part.

M *** ERROR => DpEmInit: EmInit (1) [dpxxdisp.c 10362]

M *** ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 10287]

M *** DP_FATAL_ERROR => DpSapEnvInit: DpMemInit

Former Member
0 Kudos

Hi,

Was this server working before, or is it a new installation.

Try restarting the Windows box, and try and bring up the SAP Server.

Regards,

Vishnu

former_member186066
Participant
0 Kudos

It was working fine before.

I took a restart of windows box and tried starting the SAP server but no luck.

The hostname has not been changed but it still throwing up this error.

Anyways thanks for your reply.

Former Member
0 Kudos

Hi,

Could you also try increasing the virtual memory/page file size for windows?

Regards,

Srikishan

former_member186066
Participant
0 Kudos

Hi Kishan,

Have tried with increasing the virtual memory. System did not come up.

Regards,

Ankit Mishra

Former Member
0 Kudos

Hi Ankit,

What is the current page file size and PHYS_MEMSIZE?

Could set page file to about 100GB for an ERP IDES system.

Regards,

Srikishan

former_member186066
Participant
0 Kudos

Hi Kishan,

Page file is close to 35GB and PHYS_MEMSIZE is 2048 MB

I have increased PHYS_MEMSIZE t0 4096Mb and tried restarting the SAP system but no luck.

The error in the event viewer "Failed to update service environment from user (.\ec6adm) environment. [ntservmgr.cpp 223]"

Thanks and Regards,

Ankit Mishra

Former Member
0 Kudos

Hi Ankit,

Page file size seems less for an ERP IDES system. Could you try increasing the page file/swap to a higher value say 100GB?

Regards,

Srikishan

former_member186066
Participant
0 Kudos

Hi Kishan,

have increased the page file size to 41 Gb. But system could not come up.

I am not very sure, how much can i increase the page file size.

On one of the drives we have 54Gb space availabe, I have made page file size as 14Gb. Let me know, If I can increase more or not.

Thanks and Regards,

Ankit Mishra

former_member186066
Participant
0 Kudos

One more update:

Just before the below error logged in event viewer:

"Failed to update service environment from user (.\ec6adm) environment. [ntservmgr.cpp 223] "

There was this error:

Windows cannot determine the user or computer name. (The specified domain either does not exist or could not be contacted. ). Group Policy processing aborted.

(this error was just once)

And,

1.Spool / print: Spool is Full (this was just once)

2. SAP Basis System: Run-time error "SPOOL_INTERNAL_ERROR" occurred (may times)

Can these error be the root cause of the issue.

Regards,

Ankit Mishra

Former Member
0 Kudos

Hi Ankit,

As per recommendation: https://help.sap.com/saphelp_nw04s/helpdata/en/84/7ed384d81f11d188be0000e83539c3/content.htm

The page file should ideally be 3 or 4 times main memory size(RAM). So you can increase the page file upto this limit, ofcourse you need to have the corresponding disk space free too in your hard disk.

Regards,

Srikishan

former_member186066
Participant
0 Kudos

Hello All,

The paging file was increased substanically. there was an issue with the size of the tablespace PSAPSR3. After having added the datafiles, the error still persists.

dev_w9:

X *** ERROR => <EsNT> error: [esnti.c 698]VirtualFree(2B180000,0,32768) returned 0

(lastError = 487) [esnti.c 3641]

X [esnti.c 2774]VirtualAlloc(2B180000,1048576,8192,2) returned 00000000

X

X *** ERROR => <EsNT> error: [esnti.c 2774]VirtualAlloc(2B180000,1048576,8192,2) returned 00000000

(lastError = 487) [esnti.c 3641]

X *** ERROR => <EsNT> Block 0/512 VirtualAlloc error=487 [esnti.c 2783]

X *** Error 11 while initializing OS dependent part.

M *** ERROR => DpEmInit: EmInit (1) [dpxxdisp.c 10362]

M *** ERROR => DpMemInit: DpEmInit (-1) [dpxxdisp.c 10287]

M *** DP_FATAL_ERROR => DpSapEnvInit: DpMemInit

Is the error is related with the virual memory allocation?

Thanks and Regards,

Ankit Mishra

former_member186066
Participant
0 Kudos

Hello All,

Hello All,

After having set the below parameters in the instance profile:

ztta_roll_first = 1

ztta_roll_area = 2000000

rdisp/ROLL_MAXFS = 20000

rdisp/ROLL_SHM = 20000

rdisp/PG_SHM = 10000

em/address_space_MB = 256

we get the below error in dev_rd:

Mon Oct 10 19:23:25 2011

gw/reg_no_conn_info = 0

gw/local_addr : 0.0.0.0

  • SWITCH TRC-RESOLUTION from 1 TO 1

gw/process_external_ping = 1

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

Bind service sapgw00 (socket) to port 3300

***LOG S41=> GwInitShTbl, ShmCreate ( 04) [gwxxtool.c 1533]

      • ERROR => ShmDelete: Invalid shared memory Key=21. [shmnt.c 732]*** ERROR => ShmCleanup: ShmDelete failed for Key:21. [shmnt.c 806]GwInitReader: try to attach to shared memory

GwIRegInitRegInfo: reg_info file F:\usr\sap\EC6\DVEBMGS00

\data\reginfo.DAT not found

GwPrintMyHostAddr: my host addresses are :

1 : [10.226.33.14] ctsgvcsap3.cts.com (HOSTNAME)

2 : [127.0.0.1] ctsgvcsap3.cts.com (LOCALHOST)

Full qualified hostname = ctsgvcsap3.cts.com

DpSysAdmExtCreate: ABAP is active

DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

Mon Oct 10 19:23:26 2011

DpShMCreate: sizeof(wp_adm) 17040 (1704)

DpShMCreate: sizeof(tm_adm) 4415616 (21968)

DpShMCreate: sizeof(wp_ca_adm) 24064 (80)

DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

DpShMCreate: sizeof(comm_adm) 528064 (1048)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

DpShMCreate: sizeof(slock_adm) 0 (96)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1544)

DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 07DF0040, size: 5074488)

DpShMCreate: allocated sys_adm at 07DF0040

DpShMCreate: allocated wp_adm at 07DF21A8

DpShMCreate: allocated tm_adm_list at 07DF6438

DpShMCreate: allocated tm_adm at 07DF6468

DpShMCreate: allocated appc_ca_adm at 082322E8

DpShMCreate: allocated comm_adm at 08234228

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 082B50E8

DpShMCreate: allocated gw_adm at 082B5128

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 082B5158

MtxInit: -2 0 0

DpRqQInit: Parameter rdisp/queue_lock_level = 2

Mon Oct 10 19:24:19 2011

***LOG S30=> GwStopGateway, gateway stopped () [gwxxrd.c 15097]

Please have a look at the above error and suggest.

Thanks and Regards,

Ankit Mishra

former_member186066
Participant
0 Kudos

Hello All,

After having set the below parameters in the instance profile:

ztta_roll_first = 1

ztta_roll_area = 2000000

rdisp/ROLL_MAXFS = 20000

rdisp/ROLL_SHM = 20000

rdisp/PG_SHM = 10000

em/address_space_MB = 256

we get the below error in dev_rd:

Mon Oct 10 19:23:25 2011

gw/reg_no_conn_info = 0

gw/local_addr : 0.0.0.0

  • SWITCH TRC-RESOLUTION from 1 TO 1

gw/process_external_ping = 1

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

Bind service sapgw00 (socket) to port 3300

***LOG S41=> GwInitShTbl, ShmCreate ( 04) [gwxxtool.c 1533]

      • ERROR => ShmDelete: Invalid shared memory Key=21. [shmnt.c 732]*** ERROR => ShmCleanup: ShmDelete failed for Key:21. [shmnt.c 806]GwInitReader: try to attach to shared memory

GwIRegInitRegInfo: reg_info file F:\usr\sap\EC6\DVEBMGS00

\data\reginfo.DAT not found

GwPrintMyHostAddr: my host addresses are :

1 : [10.226.33.14] ctsgvcsap3.cts.com (HOSTNAME)

2 : [127.0.0.1] ctsgvcsap3.cts.com (LOCALHOST)

Full qualified hostname = ctsgvcsap3.cts.com

DpSysAdmExtCreate: ABAP is active

DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

Mon Oct 10 19:23:26 2011

DpShMCreate: sizeof(wp_adm) 17040 (1704)

DpShMCreate: sizeof(tm_adm) 4415616 (21968)

DpShMCreate: sizeof(wp_ca_adm) 24064 (80)

DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

DpShMCreate: sizeof(comm_adm) 528064 (1048)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

DpShMCreate: sizeof(slock_adm) 0 (96)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1544)

DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 07DF0040, size: 5074488)

DpShMCreate: allocated sys_adm at 07DF0040

DpShMCreate: allocated wp_adm at 07DF21A8

DpShMCreate: allocated tm_adm_list at 07DF6438

DpShMCreate: allocated tm_adm at 07DF6468

DpShMCreate: allocated appc_ca_adm at 082322E8

DpShMCreate: allocated comm_adm at 08234228

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 082B50E8

DpShMCreate: allocated gw_adm at 082B5128

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 082B5158

MtxInit: -2 0 0

DpRqQInit: Parameter rdisp/queue_lock_level = 2

Mon Oct 10 19:24:19 2011

***LOG S30=> GwStopGateway, gateway stopped () [gwxxrd.c 15097]

Please have a look at the above error.

Thanks and Regards,

Ankit Mishra

former_member186066
Participant
0 Kudos

Hello All,

The issue got resolved by following out the below recommendations:

1.Add the 3GB option to the boot.ini.

2.441663 USING > 3 GB of memory for Oracle on WINDOWS platforms

Setting the DB parmeter USE_INDIRECT_DATA_BUFFERS=TRUE

Removing the parameter db_cache_size as mentioned in step 4 of the note.

The error was:

X *** ERROR => <EsNT> Block 82/512 VirtualAlloc error=487 [esnti.c

There seems to be a fragmentation problem with your system. As there is

not enough adress available for the extended memory:

VirtualAlloc error= 487

487=Attempt to access invalid address

Thanks and Regards,

Ankit Mishra