cancel
Showing results for 
Search instead for 
Did you mean: 

Background Jobs running for long time.

Former Member
0 Kudos

Dear All,

I had done the Homogeneous System Copy on my ECC 6 QA System successfully by restoring the offline backup of Production system. My system is up & running but I have some Performace issues in the system. I also observed that some jobs are running since long time & most commonly i got the below line in the BGD Trace "WP has reached abap/heaplimit = 40000000 bytes".

I search for the notes but couldn't find anything.

Please help me to resolve this issue.

Below is the Trace :-

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

*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

M sysno 12

M sid UBQ

M systemid 370 (Solaris on SPARCV9 CPU)

M relno 7000

M patchlevel 0

M patchno 52

M intno 20050900

M make: single threaded, Unicode, 64 bit, optimized

M pid 16335

M

M

M Mon Nov 10 19:01:10 2008

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

M length of sys_adm_ext is 572 bytes

M ThInit: running on host UBSQAS

M calling db_connect ...

C Client NLS settings: AMERICAN_AMERICA.UTF8

C Logon as OPS$-user to get SAPSR3's password

C Connecting as /@UBQ on connection 0 (nls_hdl 0) ... (dbsl 700 240106)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 0x1067f1be0 0x1067f96a0 0x106809e38

C Attaching to DB Server UBQ (con_hdl=0,svchp=0x106809d68,svrhp=0x10680c0b8)

C Starting user session (con_hdl=0,svchp=0x106809d68,srvhp=0x10680c0b8,usrhp=0x1067f9eb8)

C Now '/@UBQ' 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=0x106809d68,usrhp=0x1067f9eb8)

C Now I'm disconnected from ORACLE

C Connecting as SAPSR3/<pwd>@UBQ on connection 0 (nls_hdl 0) ... (dbsl 700 240106)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 0x1067f1be0 0x1067f96a0 0x106809e38

C Starting user session (con_hdl=0,svchp=0x106809d68,srvhp=0x10680c0b8,usrhp=0x1067f9eb8)

C Now 'SAPSR3/<pwd>@UBQ' is connected (con_hdl 0, nls_hdl 0).

C Database NLS settings: AMERICAN_AMERICA.UTF8

C Database instance UBQ is running on UBSQAS with ORACLE version 10.2.0.2.0 since 20081109

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 20081110 190110 UBSQAS

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

I MtxInit: 7 0 0

M SHM_PRES_BUF###(addr: 0xffffffff6c400000, size: 4400000)

M SHM_ROLL_AREA##(addr: 0xfffffffe56000000, size: 134217728)

M SHM_PAGING_AREA##(addr: 0xfffffffe50000000, size: 67108864)

M SHM_ROLL_ADM###(addr: 0xffffffff7000a000, size: 2672386)

M SHM_PAGING_ADM##(addr: 0xffffffff77a00000, size: 656416)

M ThCreateNoBuffer##allocated 572152 bytes for 1000 entries at 0xfffffffe48004000

M ThCreateNoBuffer##index size: 3000 elems

M ThCreateVBAdm##allocated 12176 bytes (50 server) at 0xffffffff77900000

X EmInit: MmSetImplementation( 2 ).

X MM diagnostic options set: 0

X <ES> client 7 initializing ....

X Using implementation std

X ES initialized.

B db_con_shm_ini: WP_ID = 7, WP_CNT = 12, CON_ID = -1

B dbtbxbuf: Buffer TABL (addr: 0xfffffffe42000100, size: 30000000, end: 0xfffffffe43c9c480)

B dbtbxbuf: Buffer TABLP (addr: 0xffffffff6b800100, size: 10240000, end: 0xffffffff6c1c4100)

B dbexpbuf: Buffer EIBUF (addr: 0xffffffff65800108, size: 4194304, end: 0xffffffff65c00108)

B dbexpbuf: Buffer ESM (addr: 0xffffffff65000108, size: 4194304, end: 0xffffffff65400108)

B dbexpbuf: Buffer CUA (addr: 0xfffffffe4b01e108, size: 3072000, end: 0xfffffffe4b30c108)

B dbexpbuf: Buffer OTR (addr: 0xffffffff64800108, size: 4194304, end: 0xffffffff64c00108)

M rdisp/reinitialize_code_page -> 0

M icm/accept_remote_trace_level -> 0

M rdisp/no_hooks_for_sqlbreak -> 0

M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

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 0x106ab5bb0

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 0xfffffffe4b30e070

S doing lock recovery

S setting server cache root

S found spool memory service RSPO-SERVERCACHE at 0xfffffffe4b30e548

S using messages for server info

S size of spec char cache entry: 297032 bytes (timeout 100 sec)

S size of open spool request entry: 2168 bytes

S immediate print option for implicitely closed spool requests is disabled

A Mon Nov 10 19:01:11 2008

A

A PXA

A PXA INITIALIZATION

A PXA: Fragment Size too small: 73 MB, reducing # of fragments

A System page size: 8kb, total admin_size: 11048kb, dir_size: 10992kb.

A Attached to PXA (address 0xfffffffe20000000, size 300000K)

A abap/pxa = shared protect gen_remote

A PXA INITIALIZATION FINISHED

A PXA

A

A ABAP ShmAdm attached (addr=0xfffffffe60590000 leng=20938752 end=0xfffffffe61988000)

A >> Shm MMADM area (addr=0xfffffffe6083edd0 leng=140480 end=0xfffffffe60861290)

A >> Shm MMDAT area (addr=0xfffffffe60862000 leng=17981440 end=0xfffffffe61988000)

A RFC rfc/signon_error_log = -1

A RFC rfc/dump_connection_info = 0

A RFC rfc/dump_client_info = 0

A RFC rfc/cp_convert/ignore_error = 1

A RFC rfc/cp_convert/conversion_char = 23

A RFC rfc/wan_compress/threshold = 251

A RFC rfc/recorder_pcs not set, use defaule value: 2

A RFC rfc/delta_trc_level not set, use default value: 0

A RFC rfc/no_uuid_check not set, use default value: 0

A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0

A RFC Method> initialize RemObjDriver for ABAP Objects

M ThrCreateShObjects##allocated 12676 bytes at 0xffffffff77700000

N SsfSapSecin: putenv(SECUDIR=/usr/sap/UBQ/DVEBMGS12/sec): ok

N

N =================================================

N === SSF INITIALIZATION:

N ===...SSF Security Toolkit name SAPSECULIB .

N ===...SSF trace level is 0 .

N ===...SSF library is /usr/sap/UBQ/DVEBMGS12/exe/libsapsecu.so .

N ===...SSF hash algorithm is SHA1 .

N ===...SSF symmetric encryption algorithm is DES-CBC .

N ===...sucessfully completed.

N =================================================

N =================================================

N MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.

N MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.

M JrfcVmcRegisterNativesDriver o.k.

W =================================================

W === ipl_Init() called

W ipl_Init(): wp task type is 4:BTC, skip initialization

W === ipl_Init() returns 0, ITSPE_OK: OK

W =================================================

E Replication is disabled

E EnqCcInitialize: local lock table initialization o.k.

E EnqId_SuppressIpc: local EnqId initialization o.k.

E EnqCcInitialize: local enqueue client init o.k.

B

B Mon Nov 10 19:30:28 2008

B dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):

B max_blocking_factor = 15, max_in_blocking_factor = 5,

B min_blocking_factor = 10, min_in_blocking_factor = 5,

B prefer_union_all = 0, prefer_join = 0,

B prefer_fix_blocking = 0, prefer_in_itab_opt = 1,

B convert AVG = 0, alias table FUPD = 0,

B escape_as_literal = 1, opt GE LE to BETWEEN = 0,

B select * =0x0f, character encoding = STD / <none>:-,

B use_hints = abap->1, dbif->0x1, upto->2147483647, rule_in->0,

B rule_fae->0, concat_fae->0, concat_fae_or->0

M SecAudit(RsauShmInit): WP attached to existing shared memory.

M SecAudit(RsauShmInit): addr of SCSA........... = 0xffffffff78500000

M SecAudit(RsauShmInit): addr of RSAUSHM........ = 0xffffffff78500768

M SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 0xffffffff785007a0

M SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 0xffffffff785007ac

A

A Mon Nov 10 20:04:25 2008

A WP has reached abap/heaplimit = 40000000 bytes

A

A Tue Nov 11 02:25:41 2008

A generated report /1BCWDY/BSAEKROD3IX58HSBOTLJ==CP with fingerprint 1078C98BF377F2618A7F4843DE257FC8 50556

Tue Nov 11 02:36:40 2008

actual OCI-type (1) of OUT-variable 0 differs from cached statement (96) ==> reparsing

sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR

prep=1,lit=0,nsql=0,lobret=0,#exec=455,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0

IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960

lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0

OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0

lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0

SELECT /*+ FIRST_ROWS */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\

T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;

actual OCI-type (96) of OUT-variable 0 differs from cached statement (1) ==> reparsing

sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR

prep=1,lit=0,nsql=0,lobret=0,#exec=2,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0

IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960

lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0

OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0

lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0

SELECT /*+ FIRST_ROWS */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\

T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;

Tue Nov 11 02:36:42 2008

actual OCI-type (1) of OUT-variable 0 differs from cached statement (96) ==> reparsing

sc_p=0x10673a550,no=176,idc_p=0x106750c68,con=0,act=1,slen=149,smax=768,#vars=5,stmt=0x107ba9dc0,table=TADIR

prep=1,lit=0,nsql=0,lobret=0,#exec=3,dbcnt=0,upsh_p=(nil),ocistmth_p=0x1073f3ec0

IN : cols=5,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=0,upto=4294967295,rsize=108,vmax=32,bound=1,iobuf_p=0x1068680e0,vda_p=0x1073f8960

lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0

OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=1,rsize=0,vmax=32,bound=1,iobuf_p=(nil),vda_p=0x1073f90f0

lobs=0,lmax=0,lpcnt=0,larr=(nil),lcurr_p=(nil),rret=0

SELECT /*+ FIRST_ROWS */ "OBJ_NAME" FROM "TADIR" WHERE "PGMID" = :A0 AND ( "OBJECT" = :A1 OR "OBJEC\

T" = :A2 ) AND "OBJ_NAME" = :A3 AND ROWNUM <= :A4;

Thanks,

Shambo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shambo

have you checked the oracle parameters as per the sap note 830576,and also the backup which you have taken is a logical backup,in that case you have to run the update database statistics either from DB13 or BRTOOLS

also check ST04 and also ST02 to do a performance tuning

I believe its more Database Parameter issue

regards

George Varghese

Former Member
0 Kudos

Hi George,

Thanks ! Solution Provided by you to run Update Statistics is worked.

Now I am closing this thread.

Thanks,

Shambo

Answers (0)