on 03-30-2009 4:15 PM
Hi experts
I have a problem.... the dispatcher is stopping and i get the following in the developer trace
-
trc file: "dev_w0", trc level: 1, release: "700"
-
*
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
*
B
B Mon Mar 30 16:55:25 2009
B create_con (con_name=R/3)
B Loading DB library 'G:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' ...
B
B Mon Mar 30 16:55:26 2009
B Library 'G:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' loaded
B Version of 'G:\usr\sap\PRD\DVEBMGS01\exe\dboraslib.dll' is "700.08",
patchlevel (0.46)
B New connection 0 created
M sysno 01
M sid PRD
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 52
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 7024
M
M kernel runs with dp version 210000(ext=109000) (@(#)
DPLIB-INT-VERSION-210000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 7024) [dpxxdisp.c 1293]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M
M Mon Mar 30 16:55:27 2009
M DpShMCreate: sizeof(wp_adm) 32384 (1408)
M DpShMCreate: sizeof(tm_adm) 3954072 (19672)
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 DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1452)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06710040, size: 4627224)
M DpShMCreate: allocated sys_adm at 06710040
M DpShMCreate: allocated wp_adm at 06711E28
M DpShMCreate: allocated tm_adm_list at 06719CA8
M DpShMCreate: allocated tm_adm at 06719CD8
M DpShMCreate: allocated wp_ca_adm at 06ADF270
M DpShMCreate: allocated appc_ca_adm at 06AE5030
M DpShMCreate: allocated comm_adm at 06AE6F70
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06B67E30
M DpShMCreate: allocated gw_adm at 06B67E70
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 06B67EA0
M DpShMCreate: allocated wall_adm at 06B67EA8
X EmInit: MmSetImplementation( 2 ).
X MM diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Mon Mar 30 16:55:29 2009
M ThInit: running on host ttcsdev1
M
M Mon Mar 30 16:55:30 2009
M calling db_connect ...
C Prepending G:\usr\sap\PRD\DVEBMGS01\exe to Path.
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@PRD on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
C Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
C 0 UTF8 1
064DB338 064E08D4 064E015C
C Attaching to DB Server PRD (con_hdl=0,svchp=064E00A8,svrhp=064F1974)
C Starting user session
(con_hdl=0,svchp=064E00A8,srvhp=064F1974,usrhp=0653EAB8)
C
C Mon Mar 30 16:55:31 2009
C Now '/@PRD' is connected (con_hdl 0, nls_hdl 0).
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=064E00A8,usrhp=0653EAB8)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@PRD on connection 0 (nls_hdl 0) ... (dbsl
700 240106)
C Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
C 0 UTF8 1
064DB338 064E08D4 064E015C
C Starting user session
(con_hdl=0,svchp=064E00A8,srvhp=064F1974,usrhp=0653EAB8)
C Now 'SAPSR3/<pwd>@PRD' is connected (con_hdl 0, nls_hdl 0).
C Database NLS settings: AMERICAN_AMERICA.UTF8
C Database instance PRD is running on TTCSDEV1 with ORACLE version
10.2.0.1.0 since 20090330
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
20090330 165530 TTCSDEV1
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 MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 0B170040, size: 4400000)
M SHM_ROLL_AREA (addr: 1D0F0040, size: 268435456)
M SHM_PAGING_AREA (addr: 103C0040, size: 131072000)
M SHM_ROLL_ADM (addr: 0B5B0040, size: 2678942)
M SHM_PAGING_ADM (addr: 0B840040, size: 525344)
M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0B8D0040
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 12160 bytes (50 server) at 06EA0040
X EmInit: MmSetImplementation( 2 ).
X MM diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
X ES initialized.
B db_con_shm_ini: WP_ID = 0, WP_CNT = 23, CON_ID = -1
B dbtbxbuf: Buffer TABL (addr: 1A5500C8, size: 30000000, end: 1C1EC448)
B dbtbxbuf: Buffer TABLP (addr: 0E7D00C8, size: 10240000, end: 0F1940C8)
B dbexpbuf: Buffer EIBUF (addr: 0F1A00D0, size: 4194304, end: 0F5A00D0)
B dbexpbuf: Buffer ESM (addr: 0F5B00D0, size: 4194304, end: 0F9B00D0)
B dbexpbuf: Buffer CUA (addr: 0F9C00D0, size: 3072000, end: 0FCAE0D0)
B dbexpbuf: Buffer OTR (addr: 1C1F00D0, size: 4194304, end: 1C5F00D0)
I
I Mon Mar 30 16:55:32 2009
I *** ERROR => [MapOsShm] Can't find free space for Shared Memory
(Size=83926 KB)
[shmnt.c 2174]
I *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000004D8)
failed with Err=0
[shmnt.c 2174]
I *** ERROR => ShmCreate: Attach (62,85940720,2) failed [shmnt.c 422]
*****************************************************
Memory diagnostic *
*****************************************************
Systeminformation
-
Processor-Typ : Intel Pentium Pro
Processor-Count : 2
Operating System : NT 5.2, Build 3790
Service Pack : Service Pack 2, v.4354
-
NT Pagefile Informations
-
Config. minimum size : 16777216 K
Config. maximum size : 16777216 K
Avail. maximum size : 16777216 K
Num | Pagefile | Min.Size | Max.Size | Avail.Max |
Curr.Size|
1 | c:\pagefile.sys | 4194304 K | 4194304 K | 4194304 K |
4193280 K|
2 | e:\pagefile.sys | 4194304 K | 4194304 K | 4194304 K |
4193280 K|
3 | f:\pagefile.sys | 4194304 K | 4194304 K | 4194304 K |
4193280 K|
4 | g:\pagefile.sys | 4194304 K | 4194304 K | 4194304 K |
4193280 K|
-
NT Task Manager Informations
-
Total Handles : 0
Total Threads : 0
Total Processes : 0
Commit Charge Total : 5143252 K
Commit Charge Limit : 20152324 K
Commit Charge Peak : 5988532 K
Phys.Memory Total : 54 K
Phys.Memory Available : 88079676 K
File Cache : 1946181504 K
Kernel Memory Total : 2084091208 K
Kernel Memory Paged : 0 K
Kernel Memory Nonpaged : 88079704 K
-
Memory usage of current process
-
Total virt.address space : 2097024 K
Avail.virt.address space : 215816 K
Private Pages : 0 K
Total heap size : 12751 K
Virtual memory regions : 0 K
Uncommitted heap memory : 4476 K
Allocated heap memory : 7070 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 |
1104 | sapstartsrv.exe | 17440 K | 17708 K | 19120 K | 20408 K | 7 | |
6652 | msg_server.EXE | [MS] PRD_00 | 6164 K | 6164 K | 7680 K | 7680 K | 1 |
6660 | enserver.EXE | [**] PRD_00 | 13772 K | 13772 K | 54312 K | 54312 K | 3 |
6788 | msg_server.EXE | [MS] PRD_01 | 6712 K | 6712 K | 8296 K | 8296 K | 1 |
6796 | disp+work.EXE | [DP] PRD_01 | 93356 K | 93356 K | 65028 K | 65028 K | 22 |
6804 | igswd.EXE | [**] PRD_01 | 2868 K | 3096 K | 1504 K | 1756 K | 0 |
6860 | igsmux.exe | 12116 K | 12116 K | 13108 K | 13108 K | 3 | |
6868 | igspw.exe | 2564 K | 2564 K | 2380 K | 2380 K | 0 | |
6888 | igspw.exe | 2564 K | 2564 K | 2380 K | 2380 K | 0 | |
7000 | gwrd.EXE | [GW] PRD_01 | 10376 K | 10376 K | 9056 K | 16976 K | 2 |
7008 | icman.EXE | [**] PRD_01 | 84720 K | 84736 K | 86064 K | 86084 K | 24 |
7016 | jcontrol.EXE | [**] PRD_01 | 5312 K | 5312 K | 5576 K | 5576 K | 1 |
7024 | disp+work.EXE | 33476 K | 33572 K | 78096 K | 80844 K | 8 | |
7032 | disp+work.EXE | [WP] PRD_01 | 32836 K | 32836 K | 77676 K | 80844 K | 8 |
7048 | disp+work.EXE | [WP] PRD_01 | 32820 K | 32820 K | 77676 K | 80844 K | 8 |
7056 | disp+work.EXE | [WP] PRD_01 | 32840 K | 32840 K | 77676 K | 80844 K | 8 |
7072 | disp+work.EXE | [WP] PRD_01 | 32840 K | 32840 K | 77676 K | 80844 K | 8 |
7088 | disp+work.EXE | [WP] PRD_01 | 32836 K | 32836 K | 77676 K | 80844 K | 8 |
7112 | disp+work.EXE | 16 K | 33708 K | 0 K | 80840 K | 8 | |
7136 | disp+work.EXE | [WP] PRD_01 | 32832 K | 32832 K | 77676 K | 80844 K | 8 |
7152 | disp+work.EXE | [WP] PRD_01 | 32848 K | 32848 K | 77676 K | 80844 K | 8 |
7168 | disp+work.EXE | [WP] PRD_01 | 32828 K | 32828 K | 77676 K | 80844 K | 8 |
7184 | disp+work.EXE | [WP] PRD_01 | 32848 K | 32848 K | 77676 K | 80844 K | 8 |
7192 | disp+work.EXE | [WP] PRD_01 | 32856 K | 32856 K | 77676 K | 80840 K | 8 |
7884 | jlaunch.exe | [**] PRD_01 | 29652 K | 29652 K | 43640 K | 44032 K | 9 |
Sum | 649492 K | 1173000 K |
I *** ERROR => ShmCreate( ATTACH 62, 85940712) failed 1 [mpixx.c 855]
M *** ERROR => DpInitMpi: MpiInit failed (1) [dpxxtool2.c 4879]
M in_ThErrHandle: 1
M *** ERROR => ThInit: DpInitMpi (step 1, th_errno 17, action 3, level 1)
[thxxhead.c 10019]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 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 = V-1
M
M
*****************************************************************************
M *
M * LOCATION SAP-Server ttcsdev1_PRD_01 on host ttcsdev1 (wp 0)
M * ERROR ThInit: DpInitMpi
M *
M * TIME Mon Mar 30 16:55:32 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 17
M * MODULE thxxhead.c
M * LINE 10204
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 7024) [dpnttool.c 327]
Your assistance will be appreciated
This is the list i am getting
C:\Documents and Settings\prdadm>sappfpar check pf = prd
sappfpar=>sapparam(1c): No Profile used.
sappfpar=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
=============================================================================
== Checking profile: <no_profile>
=============================================================================
Shared memory disposition overview
================================================================
Key: 1 Size: 2500 ( 0.0 MB) System administration
Key: 2 Size: 4149044 ( 4.0 MB) Disp. administration tables
Key: 3 Size: 13714400 ( 13.1 MB) Disp. communication areas
Key: 4 Size: 503248 ( 0.5 MB) statistic area
Key: 5 Size: 4096 ( 0.0 MB) SCSA area
Key: 6 Size: 159744000 ( 152.3 MB) ABAP program buffer
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 134217828 ( 128.0 MB) Paging buffer
Key: 9 Size: 268435556 ( 256.0 MB) Roll buffer
Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer
Key: 12 Size: 6000000 ( 5.7 MB) TemSe Char-Code convert Buf.
Key: 13 Size: 60500000 ( 57.7 MB) Alert Area
Key: 14 Size: 4400000 ( 4.2 MB) Presentation buffer
Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring
Key: 17 Size: 2678942 ( 2.6 MB) Roll administration
Key: 18 Size: 917604 ( 0.9 MB) Paging adminitration
Key: 19 Size: 30000000 ( 28.6 MB) Table-buffer
Key: 30 Size: 3072 ( 0.0 MB) Taskhandler runtime admin.
Key: 31 Size: 1806000 ( 1.7 MB) Dispatcher request queue
Key: 33 Size: 10240000 ( 9.8 MB) Table buffer, part.buffering
Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer
Key: 42 Size: 7232992 ( 6.9 MB) DB TTAB buffer
Key: 43 Size: 32534392 ( 31.0 MB) DB FTAB buffer
Key: 44 Size: 7958392 ( 7.6 MB) DB IREC buffer
Key: 45 Size: 4886392 ( 4.7 MB) DB short nametab buffer
Key: 46 Size: 20480 ( 0.0 MB) DB sync table
Key: 47 Size: 3073024 ( 2.9 MB) DB CUA buffer
Key: 48 Size: 300000 ( 0.3 MB) Number range buffer
Key: 49 Size: 2968344 ( 2.8 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: 4202496 ( 4.0 MB) Export/Import buffer
Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist
Key: 57 Size: 1048576 ( 1.0 MB) Profilparameter in shared mem
Key: 58 Size: 4096 ( 0.0 MB) Enqueue ID for reset
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
Nr of operating system shared memory segments: 40
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 40
Shared memory segment size required min..: 268435556 ( 256.0 MB)
Swap space requirements estimated
================================================
Shared memory....................: 844.5 MB
Processes........................: 27.1 MB
Extended Memory .................: 3453.0 MB
-
Total, minimum requirement.......: 4324.6 MB
Process local heaps, worst case..: 1907.3 MB
Total, worst case requirement....: 6231.9 MB
Errors detected..................: 0
Warnings detected................: 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
This looks a memory related problem, system is not getting enough process memory, so all the processes are dying.
what is the value of em/address_space_MB profile parameters
Try reducing this value and I think SAP should come up
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mathias,
Did you perform any activity on this server? error looks like related to shared memory.
ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=83926 KB) [shmnt.c 2174] I *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000004D8) failed with Err=0 [shmnt.c 2174] I *** ERROR => ShmCreate: Attach (62,85940720,2) failed [shmnt.c 422]
if possible restart the server and try starting the SAP.
do you see anything in dev_w0?
Thanks,
Debasis.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Debasis,
thanks for your reponse
these are the contents of dev_w0
I Mon Mar 30 16:55:32 2009
I *** ERROR => [MapOsShm] Can't find free space for Shared Memory
(Size=83926 KB)
[shmnt.c 2174]
I *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000004D8)
failed with Err=0
[shmnt.c 2174]
I *** ERROR => ShmCreate: Attach (62,85940720,2) failed [shmnt.c 422]
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 7024) [dpnttool.c 327]
Mon Mar 30 16:55:32 2009
I *** ERROR => MapOsShm Can't find free space for Shared Memory
(Size=83926 KB)
http://shmnt.c 2174
I *** ERROR => AttachOsShm MapViewOfFile(Key=62,Handle=0x000004D8)
failed with Err=0
http://shmnt.c 2174
I *** ERROR => ShmCreate: Attach (62,85940720,2) failed http://shmnt.c 422
Did you change any parameter or any update.
login with <sidadm>
execute sappfpar check pf= <instance profile> and see the output.
Regards,
Subhash
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.