Investigating why a topic space is full

This topic describes how to investigate why a topic space on a service integration bus is full.

About this task

When a topic space becomes full, exceptions will be returned when you attempt to publish a message to that topic space. The most probable reason for a topic space filling up is that the publishing application is producing messages faster than they can be consumed by the subscribing application or applications. However there could be other causes, such as dormant subscribers or broken communications links.

Another possible cause is a regular increase in message traffic, for example at certain times of day. Consider increasing the high message threshold to overcome this problem.

Procedure

  1. Click Service integration -> Buses -> bus_name -> Destinations to display a list which includes all the topic spaces on that bus. Click the name of the topic space that is full.
  2. Click Publication points -> publication_point_name, then on the Runtime tab review the value of the Current message depth. If this value increases steadily, the publishing application is outpacing the subscribers. Click Subscriptions to display the subscriptions for the topic space. For each subscription, click on the subscription name and examine the Current message depth. If all the subscriptions are filling up, reduce the rate at which the publishing application is publishing messages.
    Note: If the topic space is mediated, perform the following checks for each mediation point the message could have been sent to or consumed from.
  3. If only one subscription is filling up, the problem lies with the related subscribing application. If the subscription is nondurable, modify the subscribing application to increase the speed of consumption.
  4. If the subscription is a durable subscription, click Messages and ensure that the message at the top of the list changes with time; this indicates that the subscribing application is actually consuming messages. If the message does not change but the application is running, either delete the subscription or increase the high message threshold of the publication point.
  5. Determine which messaging engines the publishing and subscribing applications are connected to, see Determining which messaging engine an application is connected to.
  6. If the publishing and subscribing applications are connected to different messaging engines, the messages are being routed via a remote queue point. On the publisher's messaging engine, click Remote publication points and then click the publication point that represents the subscriber's publication point. Review the number of current outbound messages. If the number of current messages is low, the problem does not lie with the remote message point. If the number of current messages is approaching the high message threshold, perform the following checks:
    • Check that the two messaging engines can communicate with each other, see Service integration troubleshooting: Checking the communication between two messaging engines in a bus. If the messaging engines can communicate, reduce the rate at which messages are published. If the messaging engines cannot communicate, resolve the failure. If you encounter problems processing the backlog of messages once communication is restored, and the backlog does not contain any messages that are vital, consider deleting all the messages on the remote message point. To delete the messages, select the relevant remote message point and click Delete all messages.
      Note: You will not be able to recover the messages once they have been deleted.
      To avoid the messages building up again, click Topics, then click Clear all. No more messages will be sent to this remote publication point. To reset the topic list, restart the messaging engine.
    • Check that messages are not being trapped in the 'Committing' state. If they are, a resource manager, such as a database, has hung. Resolve the issue with the resource manager. If this fails, note the Transaction ID of the message and click Servers -> Application servers -> [Content pane] server_name -> [Runtime tab] [Additional Properties] Transaction Service to display the general properties for the transaction service, including numbers of transactions. Use the Review links to resolve the transaction whose Global ID matches the transaction ID of the message.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 6:22:59 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-express-dist&topic=tju_topicspace_full
File name: tju_topicspace_full.html