cancel
Showing results for 
Search instead for 
Did you mean: 

All work processes are used by the user SAPSYS

Former Member
0 Kudos

Hi,

we are facing problem during start of SAP ECC 6.0 IDES server.

All the work process are occupied by the SAPSYS user.

I was Apply SAP Note 1153975 -All work processes are used by the user SAPSYS

but it did not solved the problem.

Following is system kernel information

Kernel patch Level : 168

DBSL patch Level: 169

we are using 32 bit windows server and SQL server 2005.

Any suggestion ??

regards,

kaushal

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Kaushal Malavia,

I think the problem you are facing is due to memory overwriting. But not so sure that it is the exact reason because this could happen due to several reasons.

And, you should generally use the latest kernel patch from SAP Service Marketplace, since several of the problems are due to kernel errors.

So, you must go through this following post which contains the several another reasons of this query.

Read more on:

http://www.saptechies.org/work-processes-used-user-sapsys/

Hope this will help you.

Thank You,

Sonia Barwar.

Former Member
0 Kudos

Hi,

Could you please post here the dev_disp and profile file so I can take a look.

Ex: /usr/sap/SID/SYS/profile/SID_DVEBMGSXX_hostname

/usr/sap/SYS/DVEBMGSXX/work/dev_disp

Thanks,

Former Member
0 Kudos

Hi i think there must too many BTC jobs running the moment system is starting.

Former Member
0 Kudos

Hi

What is the table or report used here?

Regards

Bhaskar

Former Member
0 Kudos

Hi,

Nothing no table or report shown in SAP MMC

regards,

kaushal

Former Member
0 Kudos

Hi

Even in SM50 also u cannot view the table accessing by the sapsys user.

Regards

Former Member
0 Kudos

Hi,

If all work process is occupied by SAPSYS then login is not possible.

workprocess takes 15 min to back in wait state.

regards,

kaushal

Former Member
0 Kudos

hi

I am not sure exactly, but it depends on the system type, memory, disk available etc..

can u paste the log of traces dew_w*.

Regards

Bhaskar

Former Member
0 Kudos

Hi,

I'm not found any error in dev_w* but all work process are takes time during PXA INITIALIZATION

and in my case abap/buffersize is 300 MB ( default).

following is trace for dev_w0,


---------------------------------------------------
trc file: "dev_w0", trc level: 1, release: "700"
---------------------------------------------------
*
*  ACTIVE TRACE LEVEL           1
*  ACTIVE TRACE COMPONENTS      all, MJ
*
B  
B Fri Jul 18 16:06:18 2008
B  create_con (con_name=R/3)
B  Loading DB library 'E:\usr\sap\BIS\DVEBMGS00\exe\dbmssslib.dll' ...
B  
B Fri Jul 18 16:06:19 2008
B  Library 'E:\usr\sap\BIS\DVEBMGS00\exe\dbmssslib.dll' loaded
B  Version of 'E:\usr\sap\BIS\DVEBMGS00\exe\dbmssslib.dll' is "700.08", patchlevel (0.169)
B  New connection 0 created
M sysno      00
M sid        BIS
M systemid   560 (PC with Windows NT)
M relno      7000
M patchlevel 0
M patchno    168
M intno      20050900
M make:      multithreaded, Unicode, optimized
M pid        3216
M 
M  kernel runs with dp version 239000(ext=110000) (@(#) DPLIB-INT-VERSION-239000-UC)
M  length of sys_adm_ext is 576 bytes
M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3216) [dpxxdisp.c   1323]
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)		22152	(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: 06720040, size: 5079224)
M  DpShMCreate: allocated sys_adm at 06720040
M  DpShMCreate: allocated wp_adm at 06722098
M  DpShMCreate: allocated tm_adm_list at 06727720
M  DpShMCreate: allocated tm_adm at 06727750
M  DpShMCreate: allocated wp_ca_adm at 06B5D7D0
M  DpShMCreate: allocated appc_ca_adm at 06B635D0
M  DpShMCreate: allocated comm_adm at 06B65510
M  DpShMCreate: system runs without slock table
M  DpShMCreate: system runs without file table
M  DpShMCreate: allocated vmc_adm_list at 06BE63D0
M  DpShMCreate: allocated gw_adm at 06BE6410
M  DpShMCreate: system runs without vmc_adm
M  DpShMCreate: allocated ca_info at 06BE6440
M  DpShMCreate: allocated wall_adm at 06BE6448
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.
M  ThInit: running on host mysaphost
M  
M Fri Jul 18 16:06:20 2008
M  calling db_connect ...
C  Thread ID:2984
C  Thank You for using the SLOLEDB-interface
C  Using dynamic link library 'E:\usr\sap\BIS\DVEBMGS00\exe\dbmssslib.dll'
C  dbmssslib.dll patch info
C    patchlevel   0
C    patchno      169
C    patchcomment Inefficient SELECT DISTINCT with TOP 1 (1228404)
C  np:(local) connection used on MYSAPHOST
C  CopyLocalParameters: dbuser is 'bis'
C  Using Provider SQLNCLI
C  OpenOledbConnection: MARS property was set successfully.
C  
C Fri Jul 18 16:06:21 2008
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 (31680000 bytes), 500 dynamic statements (2848000 bytes), total 34528068 bytes
C  Initializing shared procedure name cache MYSAPHOST_BISBIS_BIS_MEM.
C  procedure cache created/attached
C  PSP: 0 procedure names registered
C  Connected to db server : [MYSAPHOST] server_used : [np:(local)], dbname: BIS, dbuser: bis
C  pn_id:MYSAPHOST_BISBIS_BIS
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 20080718 160620 MYSAPHOST       
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  MtxInit: 0 0 0
M  SHM_PRES_BUF			(addr: 0D600040, size: 4400000)
M  SHM_ROLL_AREA		(addr: 82DD0040, size: 203161600)
M  SHM_PAGING_AREA		(addr: 12380040, size: 89456640)
M  SHM_ROLL_ADM			(addr: 0DA40040, size: 2028450)
M  SHM_PAGING_ADM		(addr: 0DC30040, size: 525344)
M  ThCreateNoBuffer		allocated 544152 bytes for 1000 entries at 0DCC0040
M  ThCreateNoBuffer		index size: 3000 elems
M  ThCreateVBAdm		allocated 12160 bytes (50 server) at 0B390040
X  EmInit: MmSetImplementation( 2 ).
X  MM global diagnostic options set: 0
X  <ES> client 0 initializing ....
X  Using implementation view
X  ES initialized.
B  dbntab: NTAB buffers created
B  dbntab: Buffer FTAB(hash header)  (addr: 0DDE0088, size: 536)
B  dbntab: Buffer FTAB(anchor array) (addr: 0DDE02A0, size: 160036)
B  dbntab: Buffer FTAB(item array)   (addr: 0DE073C8, size: 720000)
B  dbntab: Buffer FTAB(data area)    (addr: 0DEB7048, size: 30720000)
B  dbntab: Buffer IREC(hash header)  (addr: 10880088, size: 536)
B  dbntab: Buffer IREC(anchor array) (addr: 108802A0, size: 160036)
B  dbntab: Buffer IREC(item array)   (addr: 108A73C8, size: 180000)
B  dbntab: Buffer IREC(data area)    (addr: 108D32E8, size: 6144000)
B  dbntab: Buffer STAB(hash header)  (addr: 0FC10088, size: 536)
B  dbntab: Buffer STAB(anchor array) (addr: 0FC102A0, size: 160036)
B  dbntab: Buffer STAB(item array)   (addr: 0FC373C8, size: 180000)
B  dbntab: Buffer STAB(data area)    (addr: 0FC632E8, size: 3072000)
B  dbntab: Buffer TTAB(hash header)  (addr: 10EB0088, size: 1888)
B  dbntab: Buffer TTAB(anchor array) (addr: 10EB07E8, size: 160036)
B  dbntab: Buffer TTAB(item array)   (addr: 10ED7910, size: 480000)
B  dbntab: Buffer TTAB(data area)    (addr: 10F4CC10, size: 5840000)
B  
B Fri Jul 18 16:06:25 2008
B  dbstat: table statistics switched on for 85864 tables
B  dbstat: TABSTAT buffer created (addr: 178E0040, size: 41947952)
B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 13, CON_ID = -1
B  dbtbxbuf: Buffer TABL  (addr: 1A0F00C8, size: 30000000, end: 1BD8C448)
B  dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1
B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B  dbtbxbuf: protect_shm = 0, force_checks = 0
B  dbtbxbuf: tsize_retry = 14290944
B  ***LOG BB0=> buffer TABL       started with length 30000000   bytes [dbtbxbuf#3 @ 16202] [dbtbxbuf1620 2]
B  dbtbxbuf: Buffer TABLP (addr: 1BD900C8, size: 10240000, end: 1C7540C8)
B  dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1
B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B  dbtbxbuf: protect_shm = 0, force_checks = 0
B  dbtbxbuf: tsize_retry = 5044736
B  ***LOG BB0=> buffer TABLP      started with length 10240000   bytes [dbtbxbuf#3 @ 16202] [dbtbxbuf1620 2]
B  dbtbxbuf: Reading TBX statistics:
B  dbtbxbuf: 51 object entries precreated
B  Layout of EIBUF buffer shared memory:
B  0: 1 * 4 = 4
B  1: 1 * 344 = 344
B  2: 13 * 20 = 260
B  3: 4001 * 48 = 192048
B  4: 2000 * 232 = 464000
B  5: 4001 * 4 = 16004
B  6: 1 * 200 = 200
B  7: 65 * 4 = 260
B  8: 13754 * 256 = 3521024
B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B  dbexpbuf: Buffer EIBUF (addr: 114E00D0, size: 4194304, end: 118E00D0)
B  ***LOG BB0=> buffer EIBUF      started with length 4096k      bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B  Layout of ESM   buffer shared memory:
B  0: 1 * 4 = 4
B  1: 1 * 344 = 344
B  2: 13 * 20 = 260
B  3: 4001 * 48 = 192048
B  4: 2000 * 232 = 464000
B  5: 4001 * 4 = 16004
B  6: 1 * 200 = 200
B  7: 65 * 4 = 260
B  8: 13754 * 256 = 3521024
B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B  dbexpbuf: Buffer ESM   (addr: 118F00D0, size: 4194304, end: 11CF00D0)
B  ***LOG BB0=> buffer ESM        started with length 4096k      bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B  Layout of CUA   buffer shared memory:
B  0: 1 * 4 = 4
B  1: 1 * 344 = 344
B  2: 13 * 20 = 260
B  3: 3001 * 48 = 144048
B  4: 1500 * 232 = 348000
B  5: 3001 * 4 = 12004
B  6: 1 * 200 = 200
B  7: 193 * 4 = 772
B  8: 5012 * 512 = 2566144
B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B  dbexpbuf: Buffer CUA   (addr: 1C7600D0, size: 3072000, end: 1CA4E0D0)
B  ***LOG BB0=> buffer CUA        started with length 3000k      bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B  Layout of OTR   buffer shared memory:
B  0: 1 * 4 = 4
B  1: 1 * 344 = 344
B  2: 13 * 20 = 260
B  3: 4001 * 48 = 192048
B  4: 2000 * 232 = 464000
B  5: 4001 * 4 = 16004
B  6: 1 * 200 = 200
B  7: 81 * 4 = 324
B  8: 13754 * 256 = 3521024
B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B  
B Fri Jul 18 16:06:26 2008
B  dbexpbuf: Buffer OTR   (addr: 1CA500D0, size: 4194304, end: 1CE500D0)
B  ***LOG BB0=> buffer OTR        started with length 4096k      bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B  ***LOG BB0=> buffer CALE       started with length 500000     bytes [dbcalbuf#10 @ 2305] [dbcalbuf2305 ]
B  dbtran INFO (init_connection '<DEFAULT>' [MSSQL:700.08]):
B   max_blocking_factor =  50,  max_in_blocking_factor      = 255,
B   min_blocking_factor =   5,  min_in_blocking_factor      =  10,
B   prefer_union_all    =   1,  prefer_join                 =   1,
B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   0,
B   convert AVG         =   1,  alias table FUPD            =   0,
B   escape_as_literal   =   0,  opt GE LE to BETWEEN        =   0,
B   select *            =0x00,  character encoding          = STD / []:X,
B   use_hints           = abap->1, dbif->0x1, upto->0, rule_in->0,
B                         rule_fae->0, concat_fae->0, concat_fae_or->0
M  SecAudit(RsauInit): Start init of Security Audit Log for first wp.
M  SecAudit(RsauCreateShm): New block for Security Audit Log allocated in SCSA
M  SecAudit(RsauCreateShm): SCSA memory usage: SecAudit = 1152, total = 3048
M  SecAudit(RsauShmInit): SCSA size................ = 4096
M  SecAudit(RsauShmInit): addr of SCSA............. = 065D0040
M  SecAudit(RsauShmInit): addr of RSAUSHM.......... = 065D07A8
M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO..... = 065D07E0
M  SecAudit(RsauShmInit): addr of RSAUSLOTS........ = 065D07EC
M  SecAudit(RsauShmInit): SHM version.............. = 5
M  SecAudit(RsauShmInit): SHM Slot version......... = 2
M  SecAudit(RsauShmInit): RSAU active.............. = 0
M  SecAudit(RsauShmInit): number of slots possible. = 10
M  SecAudit(RsauShmInit): number of slots requested = 2
M  SecAudit(RsauShmInit): number of slots used..... = 2
M  SecAudit(RsauShmInit): user selection........... = 0
M  SecAudit(RsauShmInit): max size of one file..... = 0 KB
M  SecAudit(RsauShmInit): max size of all files.... = 102400 KB
M  SecAudit(RsauGetCurrentProfile): Init of shared memory completed
M  SecAudit(RsauGetCurrentProfile): Security Audit Log not active
M  SsfSapSecin: automatic application server initialization for SAPSECULIB
N  SsfSapSecin: Looking for PSE in database
N  SsfPseLoad: started...(path=E:\usr\sap\BIS\DVEBMGS00\sec, AS=mysaphost, instanceid=00)
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec (client:    , key: 102635, len: 14851)
N  SsfPseLoadFile: Couldn't open file E:\usr\sap\BIS\DVEBMGS00\sec: Permission denied
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec\SAPELEARN200.pse (client:    , key: 172011, len: 1348)
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec\SAPSNCS.pse (client:    , key: 025318, len: 804)
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec\SAPSSLA.pse (client:    , key: 025401, len: 2838)
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec\SAPSSLC.pse (client:    , key: 025427, len: 3080)
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec\SAPSSLS.pse (client:    , key: 025344, len: 1465)
N  SsfPseLoad: Downloading file E:\usr\sap\BIS\DVEBMGS00\sec\SAPSYS.pse (client:    , key: SYSPSE, len: 2611)
N  SsfPseLoad: ended (6 of 7 sucessfully loaded, 8 checked...
N  
N Fri Jul 18 16:06:27 2008
N  MskiCreateLogonTicketCache: Logon Ticket cache created in shared memory.
N  MskiCreateLogonTicketCache: Logon Ticket cache pointer registered in shared memory.
M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
M  CCMS: AlMsUpload called by wp 0.
M  
M Fri Jul 18 16:06:29 2008
M  CCMS: AlMsUpload successful for E:\usr\sap\BIS\DVEBMGS00\log\ALMTTREE.DAT (2675 MTEs).
S  
S Fri Jul 18 16:06:30 2008
S  *** init spool environment
S  initialize debug system
T  Stack direction is downwards.
T  debug control: prepare exclude for printer trace
T  new memory block 09C9CC30
S  spool kernel/ddic check: Ok
S  using table TSP02FX for frontend printing
S  1 spool work process(es) found
S  frontend print via spool service enabled
S  printer list size is 150
S  printer type list size is 50
S  queue size (profile)   = 300
S  hostspool list size = 3000
S  option list size is 30
S      found processing queue enabled
S  found spool memory service RSPO-RCLOCKS at 265C00A8
S  doing lock recovery
S  setting server cache root
S  found spool memory service RSPO-SERVERCACHE at 265C0430
S    using messages for server info
S  size of spec char cache entry: 297028 bytes (timeout 100 sec)
S  size of open spool request entry: 2236 bytes
S  immediate print option for implicitely closed spool requests is disabled
A  
A  ---PXA-------------------------------------------
A  PXA INITIALIZATION
A  
A Fri Jul 18 16:12:26 2008
A  PXA: Locked PXA-Semaphore.
A  System page size: 4kb, total admin_size: 19356kb, dir_size: 19300kb.
A  Attached to PXA (address 5F620040, size 300000K)
A  abap/pxa = shared protect gen_remote
A  PXA INITIALIZATION FINISHED
A  ---PXA-------------------------------------------

Former Member
0 Kudos

Hi

I think u can increase the buffer size slowly so that u can run.

And also the change the physical memory size also. And Restart the server.

Hope this might works

default it is 300mb keep like 500mb and try.

Regards

Bhaskar

Edited by: bhaskar1818 on Jul 18, 2008 4:42 PM

Former Member
0 Kudos

Hi,

it is not possible to upgrade physical memory. current is 2 GB RAM.

i already tried to increase abap/buffersize but it's did not affect.

regards,

kaushal

Former Member
0 Kudos

Hi

To my knowledge i shared the solution. But it did not play worthfully.

Hope the best from other replies.

Regards

Bhaskar

Former Member
0 Kudos

Hi

Did your problem resolved? How it is done?

Can u Explain?

Regards

Bhaskar

Former Member
0 Kudos

Hi,

no problem is remain same.

regards,

kaushal

Former Member
0 Kudos

Couldn't open file E:\usr\sap\BIS\DVEBMGS00\sec: Permission denied

Did you see this? Check folder permissions? The SAP user should be administrator (o/s) if possible.

Former Member
0 Kudos

Hi,

Couldn't open file E:\usr\sap\BIS\DVEBMGS00\sec: Permission denied

-> the above error gone after generating sec certificate again from STRUSTSSO2.

All SAP user belongs to Administrator group only.

regards,

kaushal

Former Member
0 Kudos

Hi friends,

I am getting the sam error in my system , the only differnce is that in our case two work processes remain occupied by SAPSYS & it is not showing any report/program running in SM50.Due to which error message in Sm21 are coming like:

Run-time error "PXA_NO_SHARED_MEMORY" occurred

> Include ??? line 0000.

Run-time error "SYSTEM_NO_ROLL" occurred.

Moreover sytem utilization is going high.

OS:Windows 2000

Db: Oracle 10.2

Please suggest.

Thanks

joy Garg