on 02-04-2010 7:29 PM
I have a queue that sometimes gets stuck in SMQ2 in status RUNNING (for no apparent reason).
If I activating the queue manually (as suggested in
http://help.sap.com/saphelp_nw04/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm)
usually solves the problem.
Therefore, this queue processes messages 24x7 and cannot get stuck for more than 5 minutes.
Question n1)Is there a way I can do this automatically (scheduling a JOB) (itu2019s a specific queue, that is only used for this single process)?
Question n2) Sometimes, after activating the queue again, the message continues in status RUNNING, and the only solution is to delete the message and activating the queue manually (when I do this, after processing every message in the queue, when new messages begin to arrive, the queue goes to status READY for a LONG time.) Does anyone knows whats going on?
obs.: The message is ALWAYS processed successfully, and there is no problem to process it 2 times. The only thing that cannot happen is STOP the process.
Thank you.
At.,
Bernardo Tavares Braga
The message in the queue was executing a program in SAP ECC which did not process correctly causing the queue do stay in status running indefinitely. The problem was solved putting the SAP ECC code in a remote function call so that it could be processes assincronally and independently from SAP PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tavare,
Generally when queues are not fucntioning properly. SMQR=> Deregister, register and activate all the queues. After doing this also if it doesn't work then I have one question. What is the size of message which is strucking, from when this behaviour started like after its moved to production or recently. Is there load increase means more number of interfaces pushed to production ? What are your default trace logs saying ?
Thanks,
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
blog on creating alertsfor Q errors
/people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) Thank you for the "SAP XI/PI: Alerts for Queue Errors". This will be very usefull.
2) Also, thank you for the "XI : How to Re-Process failed XI Messages Automatically". I have the program RSQIWKEX schedulled and running. This is usefull for messages that fail. But my problem is that my messages dont fail, they remain in status RUNNING.
There is an option to execute RSQIWKEX for messages RUNNING. But if I do this, the queue goes to status READY and doesnt start AUTOMATICALLY (i have to execute the LUW manually). Is there a way to execute the queue automatically?
Hi,
To be able to initiate processing of messages stuck in the queue, make sure to set following IS configuration parameter
MONITOR QRFC_RESTART_ALLOWED to value 1...also make sure you activated and registered the queues...
Regds,
Pinangshuk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) I already registered all the queue through sxmb_adm - didn't change anything.
2) This queue is on SAP PI/XI, but the message goes to SAP ECC.
Since the process is executed, what I think happens is that the message updates SAP ECC, but somehow it doesn't give a return to SAP PI/XI.
So SAP PI/XI thinks its still executing.
Pinangshuk, the MONITOR QRFC_RESTART_ALLOWED is set to value 1(in the Integration Engine configuration - sxmb_admin)
Also, this enables the restart of stuck queues manually. Is there a way to do this automatically?
Hi,
we are also observing the same kind of behaviour. The queue is in running status and when i unlock and activate it is getting sucessfully processed.
Is there a way to reprocess the qeueus automatically and send an email in the case of failed queues?
Thanks,
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we are also observing the same kind of behaviour. The queue is in running status and when i unlock and activate it is getting sucessfully processed.
Is there a way to reprocess the qeueus automatically and send an email in the case of failed queues?
Thanks,
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this queue is on ECC system? Did you debug the proxy or whatever executing the process if there are any leaking infinite loops?
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could you try to register and activate all queues from the tcode sxmb_adm - manage queues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.