cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart a WP

former_member199632
Participant
0 Kudos

Hello,

In PRD system there is 1 Work process hang for more than 48hrs

rdisp/max_wprun_time is set to 1800. So normally it should restarted after this 30min

So i want to restart this work process and get it free for the other users. How to do this?

(I have tried both these options - cancel with core and cancel without core)

But that workprocess is not ending.

in sm50,

Process -> Restart after error --> YES / NO

What this option means? (From here is it possible to restart the above stuck WP)

In OS level, we also have this dpmon tool;

If we kill the work process using this dpmon , will it automatically restarted the WP?

How long will it take to restart the work process?

Other than using dpmon, is it OK to kill the WP directly using O/S commands?

Ex: kill -9 <pid>

If we do like this , will it automatically restart the WP?

How to get to know that the Workprocess is restarted or not?

(Is there any entry / logfile)

After it restarts, will it change the PID or will it use the same PID?

regards,

Zerandib

Accepted Solutions (1)

Accepted Solutions (1)

former_member199632
Participant
0 Kudos

Okay.

I have used dpmon tool and killed the required work process.

dpmon pf=<instance profile>

m - menu

k - kill

enter the work-process number (not PID)

WP restarted automatically

Former Member
0 Kudos

Hi,

Normally after a WP restart, a new process ID should be assigned.

You could check the corresponding work process' logs at ..\usr\sap\<sid>\DVE..\work\dev_w<nn>

In this log all the activities/traces should be recorded.

Regards,

Srikishan

Answers (0)