I am receiving an EventID 1309 Code 3005 on the Management Server and it appears to be related to the SQL connection pool size limit being reached. I have tried to look for the connection string in IIS to increase the size, but the settings in the GUI show the defaults. I can see the connection settings in the web.config text files of the AppSense website directories, but the values are encrypted.
When I go to http://TheServer.Domain/ManagementServer/Deployment/Manifest.aspx , it takes a while to show an OK, and after refreshing the browser a few times, I get this:
Server Error in '/ManagementServer/Deployment' Application.
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.]
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +424
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +312
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +126
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +255
System.Data.SqlClient.SqlConnection.Open() +128
DataAccessServices.DataContext.DoOpen() +100
DataAccessServices.DataContext.Open() +182
DataAccessServices.<>c__DisplayClass10_0.<Operation>b__0() +18
DataAccessServices.Retry.Operation(Int32 millisecondsBetweenRetries, Int32 maxRetries, OperationDelegate`1 operation) +83
Deployment.Helper.CreateGroupFolders(String path) +114
Deployment.ManifestHandlerListener.ProcessRequest(HttpContext context) +2042
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +497
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88
I would like to know if there are any troubleshooting techniques to investigate, or would it be best to just uninstall fully and then re-install the Management Center server? I originally installed the MC under v8.6, so it is still attached to the 'Default Web Site.' I started receiving this error after upgrading to 10.0, and it got progressively worse after the 10.1 and 10.2 updates. We only use AC/MC, and I was installing both MC and AC agents locally on the desktop image prior to 10.2. Now, after the 10.2 upgrade, I am only installing MC on the image, so the server is pulling down both AC agent + policies. The MC server is currently running 10.2.112.0.
Thanks in advance!
--------UPDATE-------
Working with support, it looks like the Events are too high in the database and pruning them is needed to bring back performance. Awaiting maintenance on the database.