Skip to main content
Solved

System queues monitor - queue size is possibly exceeded


Forum|alt.badge.img

Hoping someone can help. I wonder if I can have a few ideas on how to resolve/investigate this case as we are experiencing this issue to one specific site. The queue size is overloaded not letting a business event get triggered.

 

I have tried cleaning the queue and restarting the dispatcher, and it works fine, however, the next day I checked the business event history and no further events had been triggered so I updated one customer to ensure it was still working and it didn’t work. Then I manually cleared all the queues again as I did previously, retested the customer and it worked…

 

how can we optimize the system so this will run as it should?

Furthermore, I’m comparing a few GIs and Business events but I have no idea what is causing this as the GI has only a few records. 

 

 

Thanks !

Best answer by jeffersonmacedo

Hi @Naveen Boga 

I resolved this issue after exporting the messages from MSSQ and then I could identify the culprit business event.

 

Thanks

View original
Did this topic help you find an answer to your question?

9 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3375 replies
  • June 8, 2022

Hi, @jeffersonmacedo  There are a couple of reasons for this issue.

  • Push Notification associated GI, may have bad joins getting the huge dataset and cause this issue. (Push Notification is should be as much as simple like without joins,group by and etc.)
  • Also, we need to review the Business Events, it may trigger frequently, and trying to insert the details into the set.  

Forum|alt.badge.img

Thanks for your reply @Naveen Boga . I’m currently checking the GI’s

 

About the Business Events, do you think the configuration below should be an issue? We have 3 similar records linked to the GIs according to the Credit %

 

The other 2 Business events and GIs have a similar configuration and returns less than 20 records.

 

is there any way we determine which process is overloading the queue?


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3375 replies
  • June 8, 2022

Hi, @jeffersonmacedo  Business Event configuration looks good to me.

As you are saying their similar records liked to GI, can you please check when BE is triggered, and how many records are getting affected in the GI?

 


Forum|alt.badge.img

@Naveen Boga   Each Business Event has it’s own GI, so once the field is changed it is supposed to get triggered only to that record. 

However, I can see the option “Raise Event” is set as “For each record” in Business Event’s screen, so is it going to run against all records even if it hasn’t got changed? It’s my first time investigating this screen and I couldn’t find the definition of these options on Acumatica Wiki. 

Also I noticed the dropdown seems to have a misleading sequence:

 

The GI sent previously returns 24 records, second GI returns 17 records and the third 23.

I was trying to find out how to export the latest messages sent to MSQS, maybe it helps to find out where the issue is coming from?

 

Thanks


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 14 replies
  • Answer
  • July 1, 2022

Hi @Naveen Boga 

I resolved this issue after exporting the messages from MSSQ and then I could identify the culprit business event.

 

Thanks


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3375 replies
  • July 1, 2022

Hi @jeffersonmacedo  Great :) Thanks for the sharing update.


  • Freshman I
  • 6 replies
  • November 9, 2022

@jeffersonmacedo 

I am wondering if you could share with the rest of us how you were able to export the messages to identify the problematic business event?  Thanks in advance!


  • Freshman I
  • 3 replies
  • January 31, 2023

@Naveen Boga you rock! This is exactly what we were experiencing and using this approach were able to identify the problem GI. Thanks again! 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3375 replies
  • February 1, 2023

@ngohil15  I’m glad that you review my comments and solve the problem. Thanks for sharing the update.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings