Symantec Access Management

 View Only

 Connection release timing

MARUBUN SUPPORT's profile image
MARUBUN SUPPORT posted Feb 28, 2025 04:32 AM

Hi Team,

A customer has a question.
We can adjust the limits by manipulating the maximum settings in the management console, but there was no information about when the connection will be cut off, so we have a question.


Product
SiteMinder 12.8 SP7

Question

I have a question regarding the following message from the policy server:
Connection request rejected. Connection limit of 1024 exceeded.

I think this message is generated because the maximum number of simultaneous agent connections has been exceeded, but please tell me when this message will be resolved.
When will the agent connection be released?

Example answer)
- The problem will not be resolved until the web service of the protected business is terminated (WebAgent is stopped)
- Once a Connection request rejected occurs, it will not be released until the service is restarted.


Thanks,

Peter Burant's profile image
Broadcom Employee Peter Burant

Hi Marubun Support,

Web agent connections to the policy server are persistent and remain as long as they are active.  The policy server will sever idle web agent connections after ten minutes (this is configurable in the Policy Server Management Console).  

Assuming that the needed number of agent connections on each policy server has been properly calculated, the most common reason for exceeding the connection limit is a bottleneck with the policy server accessing the user stores.  Slow responses from user stores can cause web agent requests to the policy server to time out.  If a web agent request to the policy server times out, the web agent will resend the request on a new connection.  This can lead to a connection build up on the policy server if too few agent requests are being serviced prior to the agent request timeout.  When this situation occurs, the policy server's request queue can be flushed via the smpolicysrv command: smpolicysrv -flushrequests

The following KB article has detailed information regarding how to calculate the needed number of connections on the policy server (the focus is Prefork mode, however, the more common Worker mode is also covered):
https://knowledge.broadcom.com/external/article?articleId=44953

This KB article has more detailed information regarding how to tune the system as a whole to prevent running out of agent connections:
https://knowledge.broadcom.com/external/article?articleId=198329

Regards,
Pete