Azure SQL Session Limit Reached

Jason Evans 0 Reputation points
2024-09-11T15:18:33.6366667+00:00

This morning I started getting an error stating that the session limit for the database of 4800 has been reached and I can no longer log into SQL Server Management Studio and the databases I have created that access the Azure SQL Server bring up the same error. Is there a way to kill all current sessions. What might have caused this? Any help would be much appreciated. Thank you!

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,690 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 110.4K Reputation points MVP
    2024-09-11T21:37:18.16+00:00

    The reason that comes to mind is that you have an application running against this database, and this application close connections but leave them opening, leading to this error. Stopping this application, should solve this immediate problem. Then you need to review your application problem to solve the problems with the connections, so that it does not happen again.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.