Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

Run-away connections!

$
0
0

When I try to load a standby database from the active one, the load fails saying that :

Database in use.  A user with System Administrator (SA) role must have exclusive use of database to run load.

although I have killed all the connection to the database before hand:

spid   status   lg_name                    program_name               hostprocess                cmd                                   

------ ------------ ------------------------------ ------------------------------ ------------------------------               -----------

 

and the following query shows that there is no orphan spid:

 

select * from master..syslocks where spid not in (select spid from master..sysprocesses)

 

The load does not go through and we have to reboot the server. A colleague told me that is due to run-away in memory spid which can not be detected, I have not formerly heard about it, please help me understand what is going on. If what he says is true, then SAP Sybase must find a solution to the problem. Imagine if this happens on my production server which is 24/24 7/7 server, no explanation can convince the our worldwide users; why technically a reboot is the only solution.

 

In resume, I would like to know if there is a way to detect hidden spid? is there a way to get rid of it without a reboot?


Viewing all articles
Browse latest Browse all 3180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>