cancel
Showing results for 
Search instead for 
Did you mean: 

RE: Dispatcher stopped while restarting of SAP

Former Member
0 Kudos
159

Hi,

When we are trying to restart SAP server, dispatcher is going to stopped state.

For more details i have attched the trace file

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Fri Dec 21 18:52:35 2007

B create_con (con_name=R/3)

B Loading DB library 'D:usrsapSPSSYSexerundbmssslib.dll' ...

B Library 'D:usrsapSPSSYSexerundbmssslib.dll' loaded

B Version of 'D:usrsapSPSSYSexerundbmssslib.dll' is "700.08", patchlevel (0.87)

B New connection 0 created

M sysno 00

M sid SPS

M systemid 560 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 102

M intno 20050900

M make: multithreaded, Unicode, optimized

M pid 5204

M

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

M length of sys_adm_ext is 572 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 5204) [dpxxdisp.c 1301]

I MtxInit: 30000 0 0

M DpSysAdmExtCreate: ABAP is active

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

M DpShMCreate: sizeof(wp_adm) 14320 (1432)

M DpShMCreate: sizeof(tm_adm) 4232256 (21056)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

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

M DpShMCreate: sizeof(comm_adm) 528064 (1048)

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

M DpShMCreate: sizeof(slock_adm) 0 (96)

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

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1520)

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

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 07A20040, size: 4887432)

M DpShMCreate: allocated sys_adm at 07A20040

M DpShMCreate: allocated wp_adm at 07A21E80

M DpShMCreate: allocated tm_adm_list at 07A25670

M DpShMCreate: allocated tm_adm at 07A256A0

M DpShMCreate: allocated wp_ca_adm at 07E2EAE0

M DpShMCreate: allocated appc_ca_adm at 07E348A0

M DpShMCreate: allocated comm_adm at 07E367E0

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 07EB76A0

M DpShMCreate: allocated gw_adm at 07EB76E0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 07EB7710

M DpShMCreate: allocated wall_adm at 07EB7718

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M ThInit: running on host saptharishi

M

M Fri Dec 21 18:52:37 2007

M calling db_connect ...

C Thread ID:516

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'D:usrsapSPSSYSexerundbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 87

C patchcomment MSSQL: UTAB/ATAB/Dynp-access via clientside cursor (1002914)

C np:(local) connection used on SAPTHARISHI

C CopyLocalParameters: dbuser is 'sps'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C Provider Release:9.00.2047.00

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C Cache sizes: header 68 bytes, 20000 names (31520000 bytes), 500 dynamic statements (2844000 bytes), total 34364068 bytes

C Using shared procedure name cache SAPTHARISHI_SPSSPS_SPS_MEM initialized by another process.

C Connected to db server : [SAPTHARISHI] server_used : [np:(local)], dbname: SPS, dbuser: sps

C pn_id:SAPTHARISHI_SPSSPS_SPS

C Using MARS (on sql 9.0)

B Connection 0 opened (DBSL handle 0)

B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20071221 185237 SAPTHARISHI

C The IRow interface is supported by this OLEDB provider

M db_connect o.k.

M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

I

I Fri Dec 21 18:52:39 2007

I MtxInit: 0 0 0

M

M Fri Dec 21 18:52:40 2007

M SHM_PRES_BUF (addr: 0CD90040, size: 20000000)

M SHM_ROLL_AREA (addr: 62B00040, size: 251658240)

M SHM_PAGING_AREA (addr: 10420040, size: 109051904)

M SHM_ROLL_ADM (addr: 0A110040, size: 2512114)

M SHM_PAGING_ADM (addr: 0A380040, size: 525344)

M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0A410040

M ThCreateNoBuffer index size: 3000 elems

M ThCreateVBAdm allocated 12160 bytes (50 server) at 09FA0040

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

X ES initialized.

B db_con_shm_ini: WP_ID = 0, WP_CNT = 10, CON_ID = -1

B dbtbxbuf: Buffer TABL (addr: 1B6800C8, size: 50000000, end: 1E62F148)

B dbtbxbuf: Buffer TABLP (addr: 1E6300C8, size: 30720000, end: 2037C0C8)

B dbexpbuf: Buffer EIBUF (addr: 203800D0, size: 20480000, end: 217080D0)

B dbexpbuf: Buffer ESM (addr: 0F7400D0, size: 4194304, end: 0FB400D0)

B dbexpbuf: Buffer CUA (addr: 217100D0, size: 5120000, end: 21BF20D0)

B dbexpbuf: Buffer OTR (addr: 0FB500D0, size: 4194304, end: 0FF500D0)

I

I Fri Dec 21 18:52:42 2007

I *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=83926 KB)

[shmnt.c 2174]

I *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x0000043C) failed with Err=0

[shmnt.c 2174]

I *** ERROR => ShmCreate: Attach (62,85940720,2) failed [shmnt.c 422]

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

  • Memory diagnostic *

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

Systeminformation

-


Processor-Typ : Intel unknown

Processor-Count : 2

Operating System : NT 5.2, Build 3790

Service Pack : Service Pack 1

-


NT Pagefile Informations

-


Config. minimum size : 9007104 K

Config. maximum size : 18907136 K

Avail. maximum size : 18907136 K

Num

Pagefile

Min.Size

Max.Size

Avail.Max

Curr.Size







1

c:pagefile.sys

524288 K

2146304 K

2146304 K

524288 K

2

d:pagefile.sys

2095104 K

4190208 K

4190208 K

2095104 K

3

e:pagefile.sys

2095104 K

4190208 K

4190208 K

2095104 K

4

f:pagefile.sys

2146304 K

4190208 K

4190208 K

2146304 K

5

g:pagefile.sys

2146304 K

4190208 K

4190208 K

2146304 K

-


NT Task Manager Informations

-


Total Handles : 17830

Total Threads : 951

Total Processes : 76

Commit Charge Total : 3877704 K

Commit Charge Limit : 11998736 K

Commit Charge Peak : 4589652 K

Phys.Memory Total : 3145188 K

Phys.Memory Available : 1832132 K

File Cache : 164064 K

Kernel Memory Total : 65368 K

Kernel Memory Paged : 46452 K

Kernel Memory Nonpaged : 18916 K

-


Memory usage of current process

-


Total virt.address space : 2097024 K

Avail.virt.address space : 334256 K

Private Pages : 0 K

Total heap size : 17989 K

Virtual memory regions : 0 K

Uncommitted heap memory : 8668 K

Allocated heap memory : 9092 K

Moveable heap memory : 0 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









4

212 K

2060 K

0 K

0 K

4

376

smss.exe

444 K

444 K

160 K

160 K

0

1004

csrss.exe

4044 K

4128 K

1764 K

1772 K

3

1052

winlogon.exe

1320 K

9512 K

6152 K

7116 K

3

1104

services.exe

3304 K

3352 K

1568 K

1772 K

1

1124

lsass.exe

8484 K

8484 K

8000 K

8060 K

2

1296

svchost.exe

2488 K

2488 K

760 K

788 K

0

1400

svchost.exe

3108 K

3108 K

1164 K

1180 K

0

1484

svchost.exe

3972 K

4052 K

3508 K

3628 K

1

1504

svchost.exe

2812 K

2816 K

916 K

964 K

0

1548

svchost.exe

17636 K

21848 K

11908 K

17296 K

24

1820

spoolsv.exe

5500 K

5932 K

3804 K

4500 K

3

1848

msdtc.exe

4120 K

4132 K

1568 K

1616 K

1

1988

svchost.exe

2020 K

2048 K

476 K

512 K

0

188

inetinfo.exe

8504 K

10492 K

3448 K

5564 K

3

228

MDM.EXE

3208 K

3208 K

1000 K

1000 K

1

320

MsDtsSrvr.exe

12928 K

12936 K

16180 K

18252 K

3

564

msftesql.exe

4044 K

4048 K

3688 K

3768 K

1

588

sqlservr.exe

526108 K

526152 K

530492 K

531064 K

134

648

msmdsrv.exe

22960 K

22964 K

58500 K

58516 K

9

696

svchost.exe

1256 K

1264 K

264 K

292 K

0

736

ReportingServicesSer

47148 K

47160 K

51096 K

51128 K

25

1320

SAPOSCOL.EXE

13836 K

13916 K

12788 K

12892 K

14

1808

sqlbrowser.exe

7100 K

7100 K

36912 K

36912 K

1

2008

SQLAGENT90.EXE

3692 K

10268 K

8440 K

9340 K

5

2072

sqlwriter.exe

3892 K

3896 K

1308 K

1576 K

0

2088

smhstart.exe

3028 K

3028 K

1216 K

1216 K

0

2168

CpqRcmc.exe

1340 K

1340 K

252 K

252 K

0

2224

sysdown.exe

1496 K

1496 K

316 K

316 K

0

2268

svchost.exe

5900 K

7732 K

3392 K

5356 K

3

2296

hpsmhd.exe

10544 K

10544 K

6680 K

7128 K

31

2480

svchost.exe

4240 K

4256 K

2272 K

22800 K

1

2584

rotatelogs.exe

1764 K

1764 K

524 K

524 K

0

2592

rotatelogs.exe

1740 K

1740 K

516 K

516 K

0

2612

hpsmhd.exe

16768 K

16768 K

14004 K

14004 K

33

2696

rotatelogs.exe

1772 K

1772 K

524 K

524 K

0

2704

rotatelogs.exe

1748 K

1748 K

516 K

516 K

0

1984

wmiprvse.exe

4864 K

4912 K

1752 K

2188 K

1

480

csrss.exe

2996 K

3024 K

816 K

816 K

2

528

winlogon.exe

4504 K

13324 K

4948 K

8336 K

9

1736

rdpclip.exe

2752 K

2752 K

776 K

800 K

0

2100

Explorer.EXE

5504 K

17844 K

8012 K

13948 K

102

2468

cpqteam.exe

2052 K

2052 K

472 K

472 K

0

2476

jusched.exe

1816 K

1816 K

392 K

392 K

0

2148

ctfmon.exe

2332 K

2592 K

376 K

432 K

0

2636

svchost.exe

3620 K

3636 K

2676 K

2724 K

0

5104

sapstartsrv.exe

16480 K

16540 K

18456 K

18524 K

4

2140

csrss.exe

3264 K

3264 K

1000 K

1040 K

1

996

winlogon.exe

3896 K

7212 K

4344 K

6316 K

5

4840

rdpclip.exe

2736 K

2736 K

780 K

800 K

0

4192

Explorer.EXE

15572 K

20624 K

7804 K

13264 K

67

4112

cpqteam.exe

2056 K

2056 K

472 K

472 K

0

4488

jusched.exe

1824 K

1824 K

392 K

392 K

0

4284

ctfmon.exe

2356 K

2592 K

376 K

432 K

0

4512

NOTEPAD.EXE

888 K

2900 K

736 K

736 K

1

5312

mmc.exe

3736 K

19752 K

20068 K

20252 K

6

4348

sapstartsrv.exe

16004 K

16004 K

17860 K

17860 K

4

5004

Explorer.EXE

12908 K

12912 K

8456 K

9544 K

9

4516

cpqteam.exe

1832 K

1832 K

456 K

456 K

0

5764

jusched.exe

1812 K

1812 K

392 K

392 K

0

5664

Reader_sl.exe

2352 K

2352 K

528 K

528 K

0

5836

ctfmon.exe

2268 K

2588 K

376 K

432 K

0

5628

mmc.exe

20328 K

20476 K

19064 K

20120 K

5

4072

NOTEPAD.EXE

3044 K

3044 K

736 K

736 K

0

5728

msg_server.EXE

[MS] SPS_02

5956 K

5956 K

7644 K

7644 K

1

1260

enserver.EXE

[**] SPS_02

13536 K

13536 K

54192 K

54192 K

3

2492

msg_server.exe

[MS] SPS_00

8940 K

8940 K

11396 K

11396 K

2

5868

disp+work.exe

[DP] SPS_00

39536 K

39536 K

69048 K

69048 K

9

4104

igswd.exe

[**] SPS_00

2692 K

2936 K

1408 K

1692 K

0

1804

igsmux.exe

11896 K

11896 K

12968 K

12968 K

2

1656

igspw.exe

2472 K

2472 K

2308 K

2308 K

0

4436

igspw.exe

2472 K

2472 K

2308 K

2308 K

0

4608

gwrd.EXE

[GW] SPS_00

67540 K

67540 K

9740 K

17668 K

16

4344

icman.EXE

[**] SPS_00

84024 K

84040 K

86200 K

86220 K

20

5204

disp+work.EXE

25088 K

25184 K

71476 K

71580 K

6









Sum

1172428 K

1247280 K

I *** ERROR => ShmCreate( ATTACH 62, 85940712) failed 1 [mpixx.c 855]

M *** ERROR => DpInitMpi: MpiInit failed (1) [dpxxtool2.c 5001]

M in_ThErrHandle: 1

M *** ERROR => ThInit: DpInitMpi (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10240]

M

M Info for wp 0

M

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 0

M control_flag = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M vm = no VM

M

M *****************************************************************************

M *

M * LOCATION SAP-Server saptharishi_SPS_00 on host saptharishi (wp 0)

M * ERROR ThInit: DpInitMpi

M *

M * TIME Fri Dec 21 18:52:42 2007

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 17

M * MODULE thxxhead.c

M * LINE 10439

M * COUNTER 1

M *

M *****************************************************************************

M

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP

M TrThHookFunc: called for WP dump

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]

M Entering ThSetStatError

M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 5204) [dpnttool.c 327]

Please help me out of this problem

Regards,

Sowmya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Did you make any changes to the buffer settings in the profiles? If so, that may be the reason you are getting the memory error.

J. Haynes

Denver

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks a lot. The problem got solved.

Former Member
0 Kudos

hi

see this note129813 will help u.

regards

ajai

JPReyes
Active Contributor
0 Kudos

The problem is pretty obvious "Can't find free space for Shared Memory"

Make sure that you have enough resources and or maybe clean the IPC and try to restart the system

to clean the ipc just run command cleanipc XX at the kernel directory. (where XX is the system number)

Regards

Juan