Solved

sleeping process (user logged off SSMS, but still there)

Posted on 2010-09-17
4
197 Views
Last Modified: 2012-05-10
when user disconnects in SSMS, but SSMS is not totally closed, the user is still hanging in the one of the SPID as sleeping.

Is this default behavior?

if ssms window is totally closed then the process goes away.

thanks
0
Comment
Question by:anushahanna
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Mohit Vijay earned 500 total points
ID: 33701881
yes its a default behaviour, SQL manage it internally.

These will go away after some time when it will run its internal process. the connection pool from a single web server usually keeps 10 processes open. This is for performance improvement.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33701898
that is interesting. if you find any msdn article on this specifically, please share.
0
 
LVL 8

Expert Comment

by:Mohit Vijay
ID: 33701941
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33701958
Thanks again, very much.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now