cancel
Showing results for 
Search instead for 
Did you mean: 

Background jobs running with no logs

Former Member
0 Kudos

Hi Experts,

There are 3 background jobs in the system and all the 3 background jobs are running in SM50. But there is no logs for the same in SM37 and SM21. When I try to kill it in SM50, it is not getting killed and when I try kill from OS level, it starts again with a different PID.

Not able to understand this behavior of the system.

SM50 screenhot:

Kindly help in resolving the same.

Thanks,

Harikrishna

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I would restart the SAP applicaiton to fix such hung process issues!

Regards,

Nick Loy

alwina_enns
Employee
Employee
0 Kudos

Hello Harikrishna,kill -USR2 <PID>

you can try to send the signal (note 112):

kill -USR2 <PID>    (unix)

or

sapntkill.exe -USR2 <PID>     (windows)

to the work processes to create a call stack in dev_w* trace, so that you can see in call stack, at which function it is hanging.

regards,
Alwina

Former Member
0 Kudos

SM50 : Select the work process - click on display file i.e. Ctrl+shift+F8,
come to end of page, see if any logs is getting updated,

2) double click on each Work process and enter inside in database part - check Direct read and sequential read any thing getting changed.

you will get an idea weather at database any activity is going on or not.

3) If you want to cancel -> then select the work process -> Administration -> process -> cancel -> without core.

Former Member
0 Kudos

Hello Harikrishna,

Have you checked sm21 logs .There must be some info there.

Are your regular house keeping jobs running fine?

Please check your file system usage i.e. /sapmnt/<SID>/global

There can be a possibility that file system is filled up and no more logs could be generated.

Thanks

Sabya

divyanshu_srivastava3
Active Contributor
0 Kudos

Where are the jobs ? I can't see them in screenshot.

Former Member
0 Kudos

Hi, Divyanshu,

There are no logs for the same, check the status of these jobs, they are running.

Thanks

Former Member
0 Kudos

Hi,

Check the BGD job status in SM37 , by giving Old Dates, if any jobs are running under released condition and got delayed ..

Thanks & Regards,

Sandeep Alapati

former_member188883
Active Contributor
0 Kudos

Hi Hari,

Do you have any application server apart from which you have logged in.

Check the full process details from SM66 about how many dialog and background processes are running.

Regards,

Deepak Kori

divyanshu_srivastava3
Active Contributor
0 Kudos

What are the names of these jobs ?

In SM50 screenshot, I cannot see any job running.

Regards,

Divyanshu

Sriram2009
Active Contributor
0 Kudos

Hi Sharma

Could you check the in Transaction code SM66?

BR

SS

Former Member
0 Kudos

Hi,

There are no logs for these 3 background jobs. In SM66 it shows running.

No logs in SM37 and SM50, it only shows that it is 'running' check the screen shot that I have attached. Also, SM21 and ST22 shows nothing.

Also, i have check the date from since 1 year, it says no jobs found.

Regards,

Harikrishna

Sriram2009
Active Contributor
0 Kudos

Hi Hari

Just cancel the running one in transaction code SM66, check those 3 BG jobs

BR

SS

former_member188883
Active Contributor
0 Kudos

Hi Hari,

Can you take a full system reboot and check the results. There could be some hanged processes running.

Regards,

Deepak Kori

Former Member
0 Kudos

I have tried to cancel and also kill from OS level. But they start again with a new PID.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Hari,

If this is the case, then please take a full system reboot.

Regards,

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Can you check for processes from OS level. Like tp , process with parent PID of these processes.

Also, try DPmon to kill these processes.

Regards,

Divyanshu

Former Member
0 Kudos

I have killed these 3 processes from dpmon but they start again with a new PID.

divyanshu_srivastava3
Active Contributor
0 Kudos

I think you application server has only 3 BG processes, please increase number of background processes by 2 and share the results.

Regards,

Divyanshu