Skip to Content
avatar image
Former Member

Messages in " TO BE DELIVERED STATUS " in XI - Adapter Engine

Dear Experts,

In our Production environment, at least once in every 15 days we face issue in adapter engine , where messages are in " TO BE DELIVERED STATUS ".


This is not for one scenario , but for all scenarios. I also do not see any blocking message.


So whenever it happens, we are going for a restart option, and once after Java Stack restart all messages starts flowing automatically.


I want to know why this is happening,

Could you let me know the root cause of this issue and how to prevent this ?


Regards,
Ruban.S








Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 19, 2015 at 02:57 AM

    Hi Ruban

    Did you try checking my recommendations listed in the blog below?

    Handling and preventing messages stuck in To Be Delivered status

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ruban

      I've already mentioned it in my blog:-

      Over here, a large value in "Number of Entries in Queue" will indicate the blockage. You will also notice that the Assigned/Working threads are equal to the Max Threads. If you click into the queue, you would be able to see the messages in the queue.

      1. There is no exact number. If you see the number keeps on increasing and does not decrease over time, that will indicate messages are blocked which will correlate to the To Be Delivered messages.

      2. If max is 10, and this number becomes 10/10 and does not decrease, it indicates blockage.

      If your system is getting this issue periodically, I'd suggest you implement the preventive measures I listed in my blog. Otherwise you will most likely hit this again in the near future.

      Rgds

      Eng Swee

  • Oct 16, 2015 at 11:13 AM

    Hi Ruban,

    Could you please confirm if the messages which are going in " TO BE DELIVERED STATUS " are Adapter Specific?

    Also, did you try stopping and starting the channels prior to Java restart?

    Thanks and Regards,

    Satanik

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2015 at 01:48 PM

    Hello Ruban,

    Did you check if the threads getting hung up during this duration?

    Basically, messages goes to " TO BE DELIVERED STATUS " because of unavailability of threads.

    You can check for the below probable reasons:

    1. There is some messages already failed and are retrying as a result utilising all the threads.

    2. There are some EOIO messages which have failed and rest of them are holding and have utilised the threads.

    Please check if one of these options are affecting your system.

    Also, plan if the threads of the system can be increased depending on your hardware capacity of processing messages.

    Thanks and Regards,

    Satanik

    Add comment
    10|10000 characters needed characters exceeded