cancel
Showing results for 
Search instead for 
Did you mean: 

SAP starts a few WPs and stops

Former Member
0 Kudos

I moved my 4.6C to another iSeries box on a hosted site with same OS v6r1 by restoring full system backup. Host name, system name are not changed.

IP address is changed. The new server has the same memory size and a lot more dsik space. When I start SAP on the new server It starts

with only 8 or 10 work processes out of 42 wp on the system. The status of th wp that are started is SELW.

I saw error messages in the log file dev_w2 but could not figure out what is causing it. I very much appreciate any clue how to resolve this issue from your past experience or from iterpreting the log listed below.

Thanks All.

Berhanu

-


trc file: "dev_w2", trc level: 1, release: "46D"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Thu Jan 6 10:07:56 2011

B create_con (con_name=R/3)

B Loading DB library '/usr/sap/P20/SYS/exe/run/dbdb4slib.DLL' ...

B Library '/usr/sap/P20/SYS/exe/run/dbdb4slib.DLL' loaded

B Version of library '/usr/sap/P20/SYS/exe/run/dbdb4slib.DLL' is "46D.00", patc

B New connection 0 created

M relno 4640

M patchlevel 0

M patchno 2418

M intno 0

M pid 62

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 2 62) [dpxxdisp.c 978]

I MtxInit: -2 0 0

R ROLL_ADM_AREA attached, size 20901088 bytes

R roll area type 0 address range = 00008001D0000000 to 000080024FFFFFFF

R roll area type 1 address range = 0000800250000000 to 0000800E0FFFFFFF

R roll area type 0 sizes: 61440 (8) - type 1 sizes: 3002368/1048576 (188)

R AS400 activation group contains 47 elements.

R Roll Cpp area attached

X EmInit: MmSetImplementation( 2 ).

X <ES> client 2 initializing ....

X Using implementation std

X ES initialized.

M ThSysUsrCheck: clear T2

M calling db_connect ...

C

C Thu Jan 6 10:07:57 2011

C Connection to database done without problems.

C -


C -


DbSl EGO Structure

C -


C SAPSYSTEMNAME = P20

C process class = dialog process

C workprocess id = 2

C local host = MRUPROD

C dbhost = MRUPROD

C rdbname =

C dbname = P20MRUPROD

C dblib = R3P20DATA

C application server = DVEBMGS00

C Connect type = LOCAL

C pid = 62

C dbjobname = WP02

C dbjobuser = P2000

C dbjobno = 005386

C wpjobname = WP02

C wpjobuser = P2000

C wpjobno = 005386

C ccsid = 500

C DB2/400 vers. appl. server = V6R1

C DB2/400 vers. DB server = V6R1

C da_cache_size = 100

C reopen = ON

C timeout_retry = 3

C ODP threshold = 800

C ODP commit thresh. = 810

C ODP open thresh. = 850

C ODP task switch thresh. = OFF

C QAQQINI library = Default (QUSRSYS)

C Alternate QAQQINI library = Not specified

C DBSL converts = OFF

C use_lobs_for_long = OFF

C use_lobs_for_short = OFF

C single_execution_threshold = 2000

C single_execution_reuse = OFF

C keep_tmp_SQLpkgs = OFF

C nqe_optimize_method = O - All I/O (compatibility mode)

C auto_package_overflow = OFF

C query_compl_reval = O

C -


B Connection 0 opened

B Wp Hdl ConName ConCnt ConState TX PRM RCT Date Time

B 000 000 R/3 000000 ACTIVE NO YES NO 20110106 100756

M db_connect o.k.

I MtxInit: 2 0 0

X EmInit: MmSetImplementation( 2 ).

X <ES> client 2 initializing ....

X Using implementation std

X ES initialized.

M PfInitShm: use compatibility mode for stat-files

C

C Thu Jan 6 10:07:59 2011

C *** ERROR => Error -901 in function exec_cached_op

[dbsldb4.cpp 7481]

C Cursor name: "CACHEDCSRN00001"

C Library name: R3P20X0000

C Package name: DDNTT

C Statement name: JDEJPLCHPKOJAAAA

C withhold: NO

C Reopen: FALSE

B ***LOG BY4=> sql error -901 performing SEL on table DDNTT [dbstat 069

B ***LOG BY0=> SQL system error. Job=005386/P2000/WP02 [dbstat 0690 ]

B init: Got no entries from DDNTT !

B init failed

B db_stinit failed

M *** ERROR => ThCallHooks: event handler db_init for event CREATE_SHM failed [

M *** ERROR => ThIPCInit: hook failed [thxxhead.c 1731]

M ***LOG R19=> tskh_init, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1223]

M in_ThErrHandle: 1

M *** ERROR => tskh_init: ThIPCInit (step 1, th_errno 17, action 3) [thxxhead.c

M

M Info for wp 2

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M tid = -1

M mode = 255

M len = -1

M rq_id = -1

M rq_source = 255

M rq_info = 0

M last_tid = 0

M last_mode = 0

M int_checked_resource = 0

M ext_checked_resource = 0

M report = > <

M action = 0

M tab_name = > <

M

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

M *

M * LOCATION SAP-Server MRUPROD_P20_00 on host MRUPROD.MRU.COM (wp 2)

M * ERROR tskh_init: ThIPCInit

M *

M * TIME Thu Jan 6 10:07:59 2011

M * RELEASE 46D

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 17

M * MODULE /build/bas/46D/gen/opt/thxxhead.c

M * LINE 8630

M * COUNTER 1

M *

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

M

M Entering ThSetStatError

M call ThrShutDown (1) ...

M ***LOG Q02=> wp_halt, WPStop (Workproc 2 62) [dpo4tool.c 779]

M Good Bye .....

***********End of Data*******************

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Did you restore the sqlpkg libraries, too? (R3sidX0000, for example). If so, the SQL packages should be deleted with DLTR3PKG. Other thoughts might be to check ownership/authority to the objects in your data library. You might also look in the joblog of the WP02 job that is mentioned for more clues. Or maybe compare system values for a mismatch.

Former Member
0 Kudos

Hi Jim,

Thanks for your answer to my problem. After running DLTR3PKG the system started normal.

Thanks again for your help in resolving the issue.

Answers (1)

Answers (1)

0 Kudos

Hi Berhanu,

Regarding the number of work processes you might want to check if the entries rdisp/wp_no_* in the instance profile are stil in sync with what you maintained in transaction RZ10. System copy might have set initial values.

Regards,

Thomas

Former Member
0 Kudos

Hi Thomas,

Thanks for your suggestion.

I checked the number of work processes and it is in sync with the original entries in the profile.

Berhanu