Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSMS open sessions Expand / Collapse
Author
Message
Posted Monday, March 4, 2013 11:56 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 10:26 AM
Points: 1,749, Visits: 3,153
We recently found quite a few errors in SQL error log at weekend the past Sunday, it lasts about 8 hours. . The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT 10.50...)

We traced to the client IP address, and I asked if she tried to login over the weekend, but she didn't.
But she said this monday morning, windows asked her to change the password, this is because we have policy that have to change password in 3 months.

So on Sunday she had some SSMS queries open that was left so from last Friday.

So we guess it is probably from SSMS of her workstation that keep trying to connect the server. and since her password is expired, it shows errors for windows authentication errors.

My question is, when SSMS is open from client machine, even she was not working on it the whole weekend, why it keep trying to connect to server?
is it supposed to work that way for SSMS?

Thanks
Post #1426389
Posted Monday, March 4, 2013 1:17 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, July 14, 2014 2:06 PM
Points: 3,860, Visits: 7,130
If you have a query window open in SSMS and leave it open, your session stays on the server until the spid is forcibly closed (killed), the user closes out the window, or you physically disconnect your connection to the DB (Connection >> Disconnect or Disconnect All Queries) If you are familiar with Activity Monitor or how to query DMVs for session info, you'll notice these spid's having a status of "sleeping".


______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1426432
Posted Monday, March 4, 2013 1:25 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 10:26 AM
Points: 1,749, Visits: 3,153
Thanks,

So for this user it happened her password expired on Sunday, so does it mean even it is at sleeping status, it will try to connect itself again to the server?
It seems it tries to connect to the server every other 4 minutes.
The strange thing is it started at 9:00 am on sunday and till 4:00 pm the error stopped.
The user didn't work on Sunday at all.


Thanks
Post #1426436
Posted Monday, March 4, 2013 1:28 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, July 14, 2014 2:06 PM
Points: 3,860, Visits: 7,130
Is it possible this user has a SQL Agent job running under their credentials?

______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1426437
Posted Monday, March 4, 2013 1:40 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 10:26 AM
Points: 1,749, Visits: 3,153
I checked there no jobs are running in her account start at 9:00 am.
So not sure.

Thanks,
Post #1426446
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse