IBM Support

What are XMLNames and why am I running out of space for them on my IBM WebSphere DataPower SOA Appliance?

Question & Answer


Question

I am seeing warnings in my log: "Number of free XML Names is very low." What are XMLNames and why are they getting used up?

Cause

The XMLName is an internal, fixed-width identifier for XML element and attribute names. Parsing XML documents consumes XMLNames. They are used to store XML prefixes, namespaces, etc. IBM also reserves several thousand XMLNames such as DPLOG_* for internal use.

Some common toolkits (such as Apache Axis) create new, unique XML prefixes for each message. This will consume XMLNames rapidly.

Answer

XMLNames capacity is not configurable in DataPower. However, when the XMLNames reach their configured threshold, DataPower will attempt to free unused ones automatically.

You should see Throttler messages such as this in your log: "The number of XML Names currently being used by the system is high. The system is attempting to free unused XML names (1)."

XML Names free percentage is not a good indicator of the number of services that can be deployed on a given device.

Checking your XMLNames status:

You may view the percentage of free space for XML Names entries by displaying the Status > XML Processing > XML Names page in the WebGUI, for example:
image 2359

You may view the list of XMLNames entries on your device by looking at its internal state.

Open your error report or internal-state file, and scroll down to the Prefixes, Local Names and Namespace URIs. These three fields together contain your XMLNames. You may be able to identify the source of your excessive XMLNames by looking at the namespaces in your error report.

Normally, DataPower will automatically free unused XMLNames. On occasion, it may be unable to do so. In such cases, please refer to the product documentation portal and documentation on configuring throttle settings in the Administrator's Guide. There you can learn more on how to adjust the Throttle settings, if you wish to set the percentage (between 5% and 65% remaining) when DataPower will warn you that the free XMLNames are too low. However, you cannot avoid a reload of the DataPower appliance if it reaches 5% remaining XMLNames capacity.

Related Information

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"7.7;7.6;7.5.2;7.5.1;7.5;7.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
18 February 2020

UID

swg21409683