Sidebar

What should I do if I have a message that has been "processing" for a very long time?

+2 votes
759 views
asked Nov 6, 2013 by matt-w-2627 (3,220 points)
retagged Nov 6, 2013 by matt-w-2627
I have a large message that has been processing for a long time. My CPU does not show much activity, what should I do?

2 Answers

+1 vote
 
Best answer

It is possible that your process has run out of memory in processing that large message.

check the qieLauncher.log.0 file in your logs for the following message:

java.lang.OutOfMemoryError: Java heap space

Not sure where to find your logs?

https://qvera.com/kb/index.php/5/where-are-the-log-files-for-qie?show=5#q5

if this occured, you may need to increase the memory allocated to the java process. I recommend contacting QIE Support before increasing the memory pool, as this setting has system limits, and can have adverse effects if done incorrectly.

you can modify the memory allocation in the Startup tab of the QIE Service Manager:

-Xmx1024m

answered Nov 6, 2013 by matt-w-2627 (3,220 points)
selected Nov 6, 2013 by matt-w-2627
+1 vote

Another option if the messages are not processing through the channel (Inbound, Processing, Outbound queues) is to identify the offending message and then delete it from the appropriate queue.

You can identify the offending message a couple of different ways.

1. From the Status Tab you may be able to see a repeating error. You can open the error and then get the Message Id.

2. Pick the oldest (lowest Message Id) from the appropriate queue and assume this is the offending message. (See the note below about viewing messages in the queues).

Once you have identified the offending message it can be deleted from the queue.

Notes:

  • Because the state of the messages in the queues is so fluid the channel must be stopped in order to see the message in the queues.
  • Message may or may not show in the queue depending on the “Message State Persistence” chosen for a given channel. To view the Message State for a channel double click on the channel name and view the state on the Message State Persistence tab.
    • Level 0 = No messages will be saved in any of the queues
    • Level 1 = Messages will only ever show up in the Inbound queue
    • Level 2 = Messages will only ever show up in the Inbound and outbound queue
    • Level 3 = Messages will show up in all three queues.

 

answered Nov 7, 2013 by gary-t-8719 (14,860 points)
...