Skip to Content
author's profile photo Former Member
Former Member

Critical Messages stuck in queue

Hi All,

I am facing an critical issue in my production environment where all the critical production messages are stuck in queue and taking time to process.

Please suggest how to solve this issue within the SLA.

Thanks,

Suchi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 11:04 AM

    Hi Suchi,

    Can you please share some more below details.

    • What are these messages:-invoice,orders or warehouse related or banking related.
    • Do you see any message failed in queue.
    • From how long it is stuck in that queue

    Regards,

    Abhi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 11:01 AM

    Hi Suchi

    Please provide following information :

    a) Are they inbound / outbound messages ..( SMQ1 / SMQ2 ) ?

    b) is there any error message you are seeing

    c) Are you seeing the messages getting processed for long time ? This you can check in SM66 which will show processes running for long ...

    d) Is this happening for all messages overall ? Can you check your System and DB overall if there is any issue..

    Based on it - we can proceed ahead ...

    Thanks

    Rishi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 11:02 AM

    Hi Suchi,

    A few cent to Ricardo, If you have a PI dual system, check this blog XI : How to Re-Process failed XI Messages Automatically

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 12:21 PM

    Issue is solved now.After I parked those messages in smq3.All the blocked messages are started getting processed now.

    I would like to thanks all of you who helped me in solving this production issue.

    I would like to appreciate Abhinav for providing the workaround and also Rsihi Das for his support

    Thanks Guys!!!

    Suchi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 10:59 AM

    Sushi,

    Go for SM12 check if WF-BATCH is stuck.

    Check also SMQ2, SMQ1 if there is a msg with SYS-FAIL, try to stop/start the queue and renew the status.

    Also check BD02 if the tablespace it´s full.

    Kind regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 11:03 AM

    Hi Suchi

    Execute transaction SMQ1 and SMQ2.

    Select the queue and click on unlock (F5) .Repeat the step until the message count goes to 0.

    If there are any failed message which is blocking the queue, then cancel that failed message so that the other messages can get processed.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 11:03 AM

    WHat is the status of the queue in the SMQ2 ?

    If it's in sysfail check out this blog- /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

    In other case, register the queue one more time (SMQR) or check SM12, if any entries are found..

    Regards,

    Carme.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 11:26 AM

    Hi Suchi,

    If the queue have status SYSFAIL, reset its status from TA: SMQR and then execute the LUWs. The blocked messages will be processed.

    Regards,

    Reema

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Suchi

      As mentioned by Abhinav , if there are large messages getting processed , then you might need to park them in SMQ3 temporarily till the other queues get processed ,,,

      Later on you can move them..

      Also do you observe these long running processes often in SM66 for queue processing .. there might be long term issues to fix based on the observations !!

      Thanks

      Rishi

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.