How to enable an alert or warning for HIGH concurrency usage on CA API Gateway.
search cancel

How to enable an alert or warning for HIGH concurrency usage on CA API Gateway.

book

Article ID: 282027

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

What is the recommended and best way to get these warning thresholds logged in GW logs? 

Trying to follow the below (included) technical documentation refer to the section under "Configuring the [Advanced] Tab":

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/11-0/security-configuration-in-policy-manager/tasks-menu-security-options/manage-listen-ports/listen-port-properties.html

 

Environment

API Gateway 11.x

Resolution

1) Added listen port property.

1a) Disabled port save

1b) Properties enable port.

** Note: Restart the port similarly to restarting the service as it's an advanced port property.

2) Load test the gateway I used just some generic app to load test some can be downloaded from github.

myapp -n 5000 -c 100 https://example.com:9443/myecho

 3) Validate audits and logging

3a) Validate Audits via audit viewer.

3b) Validate logging,

# more ssg_0_0.log | grep "concurrency exc"
2024-04-10T09:16:30.742-0700 WARNING 245 com.l7tech.server: Listener concurrency exceeded: 5