BusinessConnect hangs under heavy inbound transaction load
book
Article ID: KB0073560
calendar_today
Updated On:
Products
Versions
TIBCO BusinessConnect
7.X.X all versions
Description
UPDATE May 17, 2021:
This issue has bee resolved via a new property that has been introduced in:
BC 7.1.0 Hotfix 1 BC 7.2.0 Hotfix 1 BC 7.2.1 Hotfix 1
This article still applies to BC 7.0.0
See this section of the hotfix release announcement:
Brute Force Attack - DMZMSH-REPLY-TIMEOUT Set the gateway server confirmation response timeout on the interior. This will prevent buildup of jobs that are hung waiting for response from gateway when the gateway is under brute force attack or due to rogue clients that break while the response is being transmitted. This value can be set in Tibco Administrator by navigating through : Application Management > BusinessConnect > Configuration > Edit Application Configuration: > Component Settings > Intercomponent Advanced > DMZ Interior Timeout (seconds)
========================================================================== When using BusinessConnect under a heavy load with a large number of inbound requests through the Gateway Server, the Interior Server stops processing messages. This usually manifest itself with a large number of jobs in the engine.
When using the GetProcesses() microagent on the BC engine, there are a large number of these jobs in the engine:
This is caused by inbound requests terminating in the Gateway Server before the Interior Server has a chance to respond to the inbound request. The response gets "stuck" in the DMZMSH-REQUEST-REPLY queue, and the IS eventually hangs because these jobs never terminate, and the IS never times out.
Environment
all platforms
Resolution
UPDATE May 17, 2021:
This issue has bee resolved via a new property that has been introduced in:
BC 7.1.0 Hotfix 1 BC 7.2.0 Hotfix 1 BC 7.2.1 Hotfix 1
See this section of the hotfix release announcement:
Brute Force Attack - DMZMSH-REPLY-TIMEOUT Set the gateway server confirmation response timeout on the interior. This will prevent buildup of jobs that are hung waiting for response from gateway when the gateway is under brute force attack or due to rogue clients that break while the response is being transmitted. This value can be set in Tibco Administrator by navigating through : Application Management > BusinessConnect > Configuration > Edit Application Configuration: > Component Settings > Intercomponent Advanced > DMZ Interior Timeout (seconds)
========================================================================== To add IS timeouts to the deployed BC engine, follow these steps. You must follow these steps after every redeployment of the BC engine:
With an editor, edit this file. Do not save a backup of this file in the same directory:
The “180” value above sets the timeout at 180 seconds (three minutes), which should be sufficient for most applications. It can be shortened for higher load scenarios.
Save and restart the engine.
Issue/Introduction
When using BusinessConnect under a heavy load with a large number of inbound requests through the Gateway Server, the Interior Server stops processing messages.