Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2010-09-17
4
Medium Priority
?
206 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

564 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