cancel
Showing results for 
Search instead for 
Did you mean: 

Messages got struck in smq2 with status Running

former_member601528
Participant
0 Kudos

Dear All,

In PI, Inbound Queues (SMQ2) lot of messages got struck. All the Queues are registered. I'm unable to release messages from the Queues. It's showing the status as "RUNNING". When i'm trying to unlock and activate the queue, it's showing the warning message as: " Queues is already registered so that you can not be activated" . Please suggest any solution, as it's production issue, it's effecting the business transactions..

Regards,

Aravind

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member601528
Participant
0 Kudos

Dear All,

The messages got struck due to work processes full in XI. After allocating the work processes the queue is cleared without any further action..

Regards,

Aravind

monikandan_p
Active Participant
0 Kudos

Hi Aravind,

1.You have to delete queue from SMQ2 then u need to register the queue ,not deregister from SXMB_ADM.

2. Change the parameter in SXMB_ADM->Integration engine->Specific Configuaration->Select MONITOR->put Parameter

3.QRFC_RESTART_ALLOWED ,value is 1.

Also refer this blog on creating alerts for Q errors:

/people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors

/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

Best Regards,

Monikandan

former_member601528
Participant
0 Kudos

Dear Monikandan,

You have to delete queue from SMQ2 then u need to register the queue ,not deregister from SXMB_ADM:

If we delete the Queues, do we lost the data of the messages...??? How to track these deleted messages???

QRFC_RESTART_ALLOWED ,value is 1, is already added in sxmb_adm.

Thanks,

Aravind

monikandan_p
Active Participant
0 Kudos

Hi Aravind,

     If we delete the queues no data will lost.

Refer this also:

Best Regards,

Monikandan

former_member601528
Participant
0 Kudos

Dear Monikandan,

Re: recover deleted queue

that blog says...they are not sure that they can recover deleted Queues in smq2. Any other alternate solution to this..

Thanks,

Aravind

former_member184720
Active Contributor
0 Kudos

may be you can save the LUW of first message then unlock and activate the queue.

i see that you are facing it for all the queues then try to register and activate all queus from the  sxmb_adm - manage queus

former_member601528
Participant
0 Kudos

Dear Hareesh,

I have saved the LUW of first message then unlocked the Queue. But it's not allowing me to activate the Queue.

All the queues are already registered and activated also but no success.

Regards.

Aravind

former_member184720
Active Contributor
0 Kudos

Hi Adavind - Did you try from SXMB_ADM?

former_member601528
Participant
0 Kudos

Dear Hareesh,

I tried from SXMB_ADM, but still same issue. not able to unlock and activate the queues.

Regards,

Aravind

former_member184720
Active Contributor
0 Kudos

goto sxmb_adm->Manage Queus->qrfc monitor->select your queue and deregister it.

Then go to smq2 and activate the queue.

What is the message size? are they huge?

however if it doesn't work and considering the fact that it is a production system, i would suggest to restart the system to minimize the impact incase there is no message flow..

former_member601528
Participant
0 Kudos

Dear Haneesh,

I tired all the options as suggested by you..

1. deregister and activating

2. system restart

but no success.

Regards.

Aravind

Former Member
0 Kudos

Hi Arvind,

try to reset the status (SHIFT+F5) then try activating.

Regards,

Mastan