Highlighted
Absent Member.. Absent Member..
Absent Member..
1289 views

“Maximum session exceeded” error message in Service Manager Production.

Hi Experts,

“Maximum session exceeded” error message in Service Manager Production. I was seen lot of “ucmdb_sm” sessions(Totally 127 sessions).

 

We have integration from ucmdb (upgraded to 10.21 UD recently). why uCMDB is creating over 100 sessions to push data to SM?I am not sure if each transaction is creating a connection, but in SM after running integration jobs for a while the number of Max sessions is reached and SM is not accepting anymore connections.

Once we get to that point, only way is to reboot SM, this causes the integration to fail and we need to restart the integration job in uCMDB, this causes slowness to push data and manual work

 

SM Version is 

App version 9.33.0035

RTE version is 9.34.4001

regards,

kunj

0 Likes
1 Reply
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

In general, it is bad practice to use a new connection for each request, unless request volumes are very low (one request every few seconds or less).
Moderate to high volumes of incoming web services requests (more than one every few seconds) require that the client application maintain a persistent connection to the SM web services port, and submit multiple requests over this connection, with each request using the same user credentials.
Very high volumes of incoming web services requests (more than one per second) with each request obtaining its own connection is likely to result in severe performance degradation, and in extreme cases can lead to outages.

Is persistence setup for this integration?

In HTTP/1.1, persistent connections are the default behavior of any connection.
If you use HTTP 1.0 you have to manually set the HTTP header “connection” to keep-alive.
The header will inform you on if you have this set or not and which HTTP version you are using. You can capture the header to http.log with -debughttp:1
Also consider lowering webservices_sessiontimeout in sm.ini

The Web Services Guide can help you further understand those concepts, you can access it via the document matrix at https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM01294561

_________________________________________
Service Management Automation Expert at Micro Focus
If you find this post useful/helpful click the Kudos thumb on this post!
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.