cancel
Showing results for 
Search instead for 
Did you mean: 

App Server down !!!

Former Member
0 Kudos

Hey SAP Gurus,

We encountered a problem in the morning.

Here is how the scenario goes:-

There was a user running a job in R/3 in application server say (APP1).

This process went on SLEEP.

We decided to cancel the process.

In sm51 I selected the process and "Cancel without core".

There was no effect.

Hence i decided to goto sm37 and cancel the active job. This again didn't work.

Hence I decided to cancel the job via OS level

I got the list of processes through "ps -afe"

And then i killed the process "kill -9 <process_id>".

This again didnt work , BUT the application server APP! abruptly went down.

I then ran the scrpt "stopsap" :- SUCCESSFUL

Wen i ran saposcol -k ...it failed

Fed up with things i then shutdown the server via script "shutdown -pr"

The APP1 started normally and everything was fine.

What I wanna know is the reason for the APP1 to behave like this

Is it because i tried to delete the process via OS level???

Regards,

Ashish .A. Poojary

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Right O Gurus!!!!

Regards,

Ashish .A. Poojary

Former Member
0 Kudos

And then i killed the process "kill -9 <process_id>".

You might have given the wrong process_id which might have killed off the application server process. This is one possible reason.

From the information you provided, its difficult to tell the exact reason WHY the application server failed at that time. You should have checked the logs in the /usr/sap/<SID>/<instance>/work directory logs for the exact reason.

Since you have now started the server and its up and running, i suppose there is no problem at the moment. In future, when u face such issues, please check the work process and the dispatcher logs in the work directory to find out the reason it went down.

Regards,

Jazz

JPReyes
Active Contributor
0 Kudos

And then i killed the process "kill -9 <process_id>".

You might have given the wrong process_id which might have killed off the application server process. This is one possible reason.

I think the main problem was that you killed the job without core from SAP and didn't wait for SAP to kill the process and then you kill it from the OS... this might have caused the problem...

As Jazz said.... in the future you are better off investigating why the process went into sleep mode before killing it.

Regards

Juan

JPReyes
Active Contributor
0 Kudos

BUT the application server APP! abruptly went down

The answer to your question will be in the logs... check the developer trace of the process you were killing... then also check dev_disp, dev_ms and dev_w0...

Regards

Juan