on 03-04-2011 7:56 AM
Hi experts,
I am ABAP developer. Not much idea of BASIS.
I have got SAP IDES ECC 6.0 EHP 4 Data Base : ORACLE installed by one of my SAP basis friend.
I have been using it since 6 months. I have come across through strange problem which my fBASIS Friend even tried for some time and said that my be its an OS issue we need to spend time on this. This forced me to contact experts.
Problem :
When SAPMMC is started , Dispatcher goes through the following stages
1. Running but not connected to message server
2. Runnig but dialog queue standstill
3. Stopped.
For your info Please find the trace file which I should produce before you ask for them.
Thanks
Joshi
Can't find free space for Shared Memory
Looks like the system cannot allocate any more memory.. You can try to add some additional swap space (Windows page file), decrease memory parameter em/initial_size_MB, or decrease the cache size of your database..
Kind regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joshi,
10G swap is more than sufficient for your system..
You can check the size of the following parameters using transaction RZ11.
em/initial_size_MB
em/address_space_MB
You can decrease the size of these parameters with transaction RZ10.
Since you can't check your profiles via SAP transactions when your system is not running you can also check the instance profile on OS level..
Kind regards,
Mark
Edited by: Mark Dijsselbloem on Mar 4, 2011 10:14 AM
Hi Mark,
Please find the details of what my instance profile says.
Thanks
Joshi
#.******************************************************************************************************************************
#.* *
#.* Instance profile EC1_DVEBMGS00_GOURAV *
#.* *
#.* Version = 000003 *
#.* Generated by user = JOSHIM *
#.* Generated on = 02.09.2010 , 00:44:08 *
#.* *
#.******************************************************************************************************************************
#parameter created by: JOSHIM 02.09.2010 00:43:50
zcsa/db_max_buftab = 10000
#parameter created by: JOSHIM 02.09.2010 00:41:26
zcsa/table_buffer_area = 60000000
#parameter created by: JOSHIM 02.09.2010 00:23:51
rsdb/ntab/irbdsize = 18000
#parameter created by: JOSHIM 02.09.2010 00:22:40
rsdb/ntab/ftabsize = 100000
#parameter created by: JOSHIM 02.09.2010 00:22:00
rsdb/ntab/entrycount = 100000
SAPSYSTEMNAME = EC1
SAPGLOBALHOST = gourav
SAPSYSTEM = 00
INSTANCE_NAME = DVEBMGS00
DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386
DIR_EXECUTABLE = $(DIR_INSTANCE)\exe
rdisp/wp_no_dia = 10
#old_value: 3 changed: JOSHIM 02.09.2010 00:17:04
rdisp/wp_no_btc = 5
icm/server_port_0 = PROT=HTTP,PORT=80$$
#----
SAP Message Server parameters are set in the DEFAULT.PFL
#----
ms/server_port_0 = PROT=HTTP,PORT=81$$
#old_value: 1 changed: JOSHIM 02.09.2010 00:17:04
rdisp/wp_no_enq = 3
#old_value: 1 changed: JOSHIM 02.09.2010 00:17:04
rdisp/wp_no_vb = 2
rdisp/wp_no_vb2 = 1
#parameter created by: JOSHIM 02.09.2010 00:17:42
abap/buffersize = 600000
rdisp/wp_no_spo = 1
DIR_CLIENT_ORAHOME = $(DIR_EXECUTABLE)
#
Hi Mark,
Thanks a lot for your support.
The issue is now resolved.
While trying to find how to decrease memory cache I came across Date Execution Prevention tab in the system properties.
The radio button for - Turn On DEP for all programs and sevices except those I select - is selected.
Under that I could notice the DISP+EXE process and the check box is checked.
I have unchecked and now SAP MMC is running fine.
I have now decreased the virtual memory size to 10 gigs.(made it same as earlier)
Thanks once again for all. Mark, Nick and Manoj in trying to help me out.
bye
Joshi
Dear Jmaddela,
What I wanted to say is - This is wrong expectation.
This is a pure technical (BASIS) issue, Take help of BASIS guy and get it corrected.
Before this problem occured, the virtual memory size was 10 gig.
After that we have increased to 20 gig
I am not sure, based on which thumb rule you doubbled the size.
Regards,
Nick Loy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
Unfortunately this was tried by one of my colleagues who is a BASIS guy.
This is just an attempt by him to check.
The reason being he suspected some process running which is consuming all the memory.
As this is my personal IDES I have to take help from experts like you to get solution for this.
I am very sorry if I am wrong any where. Let us not extend this further.
Request you to suggest some solution if you have.
Thanks and Regards
Joshi
I am an ABAPer
Do not entertain these type of posts, No one will be responsible for your System/Data loss.
Regards,
Nick Loy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
TRACE FILE DEV_W0
-
trc file: "dev_w0", trc level: 1, release: "701"
-
*
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
*
M sysno 00
M sid EC1
M systemid 560 (PC with Windows NT)
M relno 7010
M patchlevel 0
M patchno 94
M intno 20020600
M make: multithreaded, Unicode, optimized
M pid 1792
M
M
M Fri Mar 04 09:41:35 2011
M kernel runs with dp version 244000(ext=110000) (@(#) DPLIB-INT-VERSION-244000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1792) [dpxxdisp.c 1349]
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) 20448 (1704)
M DpShMCreate: sizeof(tm_adm) 4415616 (21968)
M DpShMCreate: sizeof(wp_ca_adm) 24064 (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 (1544)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 07FE0040, size: 5077752)
M DpShMCreate: allocated sys_adm at 07FE0040
M DpShMCreate: allocated wp_adm at 07FE2178
M DpShMCreate: allocated tm_adm_list at 07FE7158
M DpShMCreate: allocated tm_adm at 07FE7188
M DpShMCreate: allocated wp_ca_adm at 0841D208
M DpShMCreate: allocated appc_ca_adm at 08423008
M DpShMCreate: allocated comm_adm at 08424F48
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 084A5E08
M DpShMCreate: allocated gw_adm at 084A5E48
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 084A5E78
M DpShMCreate: allocated wall_adm at 084A5E88
M rdisp/queue_size_check_value : -> off
M ThTaskStatus: rdisp/reset_online_during_debug 0
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X <EsNT> Using memory model view.
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
X mm.dump: set maximum dump mem to 96 MB
M ThInit: running on host gourav
M calling db_connect ...
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\EC1\DVEBMGS00\exe\dboraslib.dll' ...
B Library 'D:\usr\sap\EC1\DVEBMGS00\exe\dboraslib.dll' loaded
B Version of 'D:\usr\sap\EC1\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.92)
B New connection 0 created
C Prepending D:\usr\sap\EC1\DVEBMGS00\exe to Path.
C Oracle Client Version: '10.2.0.2.0'
C application info callback registered
C Client NLS setting (OCINlsGetInfo): connection handle 0 -> 'AMERICAN_AMERICA.UTF8'
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@EC1 on connection 0 (nls_hdl 0) ... (dbsl 701 280110)
C Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
C 0 UTF8 09B67458 09B6CAF4 09B6C37C
C Attaching to DB Server EC1 (con_hdl=0,svchp=09B6C2C8,srvhp=09B6EE04)
C Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=09B6C2C8, srvhp=09B6EE04, usrhp=09B79E68)
C CbApplInfoGet() failed (ignored 1).
C Now '/@EC1' is connected: con_hdl=0, nls_hdl=0, session_id=70.
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=09B6C2C8,usrhp=09B79E68)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@EC1 on connection 0 (nls_hdl 0) ... (dbsl 701 280110)
C Nls CharacterSet NationalCharSet EnvHp ErrHp ErrHpBatch
C 0 UTF8 09B67458 09B6CAF4 09B6C37C
C Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>, svchp=09B6C2C8, srvhp=09B6EE04, usrhp=09B79E68)
C Now 'SAPSR3/<pwd>@EC1' is connected: con_hdl=0, nls_hdl=0, session_id=70.
C Database NLS settings: AMERICAN_AMERICA.UTF8
C DB instance EC1 is running on GOURAV with ORACLE version 10.2.0.4.0 since MAR 04, 2011, 08:00:43
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX HC PRM RCT FRC TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO NO YES NO NO 000 255 255 20110304 094135 GOURAV
C build_stmt: reallocating stmt buffer: 256 -> 2000 characters
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,.png,.swc,*.swf
I
I Fri Mar 04 09:41:37 2011
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 0B5B0040, size: 4400000)
M SHM_ROLL_AREA (addr: 25E90040, size: 268435456)
M SHM_PAGING_AREA (addr: 11E10040, size: 134217728)
M SHM_ROLL_ADM (addr: 0B9F0040, size: 2760892)
M SHM_PAGING_ADM (addr: 0BCA0040, size: 525344)
M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0BD30040
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 12160 bytes (50 server) at 0BDC0040
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X ES initialized.
X mm.dump: set maximum dump mem to 96 MB
M Deactivate statistics hyper index locking
B dbntab: NTAB buffers attached
B dbntab: Buffer FTAB(hash header) (addr: 0BE60088, size: 536)
B dbntab: Buffer FTAB(anchor array) (addr: 0BE602A0, size: 320084)
B dbntab: Buffer FTAB(item array) (addr: 0BEAE4F8, size: 1440000)
B dbntab: Buffer FTAB(data area) (addr: 0C00DDF8, size: 61440000)
B dbntab: Buffer IREC(hash header) (addr: 10830088, size: 536)
B dbntab: Buffer IREC(anchor array) (addr: 108302A0, size: 320084)
B dbntab: Buffer IREC(item array) (addr: 1087E4F8, size: 360000)
B dbntab: Buffer IREC(data area) (addr: 108D6338, size: 15360000)
B dbntab: Buffer STAB(hash header) (addr: 0FAB0088, size: 536)
B dbntab: Buffer STAB(anchor array) (addr: 0FAB02A0, size: 320084)
B dbntab: Buffer STAB(item array) (addr: 0FAFE4F8, size: 360000)
B dbntab: Buffer STAB(data area) (addr: 0FB56338, size: 3072000)
B dbntab: Buffer TTAB(hash header) (addr: 19E20088, size: 1784)
B dbntab: Buffer TTAB(anchor array) (addr: 19E20780, size: 320084)
B dbntab: Buffer TTAB(item array) (addr: 19E6E9D8, size: 960000)
B dbntab: Buffer TTAB(data area) (addr: 19F58FD8, size: 11680000)
B db_con_shm_ini: WP_ID = 0, WP_CNT = 12, CON_ID = -1
B dbstat: TABSTAT buffer attached (addr: 1AA89348)
B dbtbxbuf: Buffer TABL (addr: 1D9C00C8, size: 30000000, end: 1F65C448)
B dbtbxbuf: Buffer TABLP (addr: 1F6600C8, size: 10240000, end: 200240C8)
B dbexpbuf: Buffer EIBUF (addr: 200300D0, size: 4194304, end: 204300D0)
B dbexpbuf: Buffer ESM (addr: 204400D0, size: 4194304, end: 208400D0)
B dbexpbuf: Buffer CUA (addr: 208500D0, size: 3072000, end: 20B3E0D0)
B dbexpbuf: Buffer OTR (addr: 20B400D0, size: 4194304, end: 20F400D0)
B dbcalbuf: Buffer CALE (addr: 0FE60040, size: 500000, end: 0FEDA160)
I *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=83926 KB)
[shmnt.c 2174]
I *** ERROR => [AttachOsShm] MapViewOfFile(Key=62,Handle=0x000004A0) 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
-
NT Pagefile Informations
-
Config. minimum size : 20787200 K
Config. maximum size : 20787200 K
Avail. maximum size : 20787200 K
Num | Pagefile | Min.Size | Max.Size | Avail.Max | Curr.Size |
1 | c:\pagefile.sys | 307200 K | 307200 K | 307200 K | 307200 K |
2 | d:\pagefile.sys | 5120000 K | 5120000 K | 5120000 K | 5120000 K |
3 | g:\pagefile.sys | 5120000 K | 5120000 K | 5120000 K | 5120000 K |
4 | h:\pagefile.sys | 10240000 K | 10240000 K | 10240000 K | 10240000 K |
-
NT Task Manager Informations
-
Total Handles : 39500276
Total Threads : 79555584
Total Processes : 498
Commit Charge Total : 7338100 K
Commit Charge Limit : 24705604 K
Commit Charge Peak : 7507864 K
Phys.Memory Total : 93715356 K
Phys.Memory Available : 93715292 K
File Cache : 32014448 K
Kernel Memory Total : 0 K
Kernel Memory Paged : 93715340 K
Kernel Memory Nonpaged : 45074368 K
-
Memory usage of current process
-
Total virt.address space : 2097024 K
Avail.virt.address space : 288524 K
Private Pages : 0 K
Total heap size : 14212 K
Virtual memory regions : 0 K
Uncommitted heap memory : 5884 K
Allocated heap memory : 7096 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 |
1592 | sapstartsrv.exe | 16476 K | 16576 K | 19056 K | 19108 K | 4 | |
2180 | msg_server.EXE | [MS] EC1_00 | 10000 K | 10000 K | 11980 K | 11980 K | 2 |
788 | disp+work.EXE | [DP] EC1_00 | 36260 K | 36260 K | 67672 K | 67672 K | 8 |
3348 | igswd.EXE | [**] EC1_00 | 2808 K | 3028 K | 1556 K | 1808 K | 0 |
3464 | igsmux.exe | 11936 K | 11936 K | 13244 K | 13260 K | 2 | |
4000 | igspw.exe | 2496 K | 2496 K | 2504 K | 2504 K | 0 | |
3180 | igspw.exe | 2492 K | 2492 K | 2500 K | 2500 K | 0 | |
2552 | gwrd.EXE | [GW] EC1_00 | 68696 K | 68696 K | 9936 K | 17868 K | 16 |
1612 | icman.EXE | [**] EC1_00 | 87636 K | 87636 K | 88764 K | 88764 K | 21 |
1792 | disp+work.EXE | 33280 K | 33380 K | 85044 K | 87436 K | 8 | |
556 | disp+work.EXE | [WP] EC1_00 | 31128 K | 31128 K | 83724 K | 87436 K | 7 |
2216 | disp+work.EXE | [WP] EC1_00 | 31108 K | 31108 K | 83724 K | 87436 K | 7 |
1608 | disp+work.EXE | [WP] EC1_00 | 31112 K | 31112 K | 83724 K | 87436 K | 7 |
2340 | disp+work.EXE | [WP] EC1_00 | 31112 K | 31112 K | 83724 K | 87436 K | 7 |
3548 | disp+work.EXE | 28 K | 33504 K | 0 K | 87436 K | 8 | |
3756 | disp+work.EXE | [WP] EC1_00 | 31116 K | 31116 K | 83724 K | 87436 K | 7 |
3916 | disp+work.EXE | [WP] EC1_00 | 31928 K | 31928 K | 84156 K | 87436 K | 7 |
3540 | disp+work.EXE | [WP] EC1_00 | 31120 K | 31120 K | 83724 K | 87436 K | 7 |
1108 | disp+work.EXE | [WP] EC1_00 | 31144 K | 31144 K | 83724 K | 87436 K | 7 |
3388 | disp+work.EXE | [WP] EC1_00 | 31140 K | 31140 K | 83724 K | 87436 K | 7 |
Sum | 553016 K | 1056204 K |
I *** ERROR => ShmCreate( ATTACH 62, 85940712) failed 1 [mpixx.c 855]
M *** ERROR => DpInitMpi: MpiInit failed (1) [dpxxtool2.c 5180]
M in_ThErrHandle: 1
M *** ERROR => ThInit: DpInitMpi (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10651]
M
M Info for wp 0
M
M pid = 1792
M severity = 0
M status = 0
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 mode_cleaned_counter = 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 attachedVm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server gourav_EC1_00 on host gourav (wp 0)
M * ERROR ThInit: DpInitMpi
M *
M * TIME Fri Mar 04 09:41:37 2011
M * RELEASE 701
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 17
M * MODULE thxxhead.c
M * LINE 10916
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 730]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 261]
M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
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 1792) [dpnttool.c 334]
T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.