Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
SQL
ce
clients
clustering
connect
datamining
datawarehouse
dts
fulltext
jdbcdriver
msde
mseq
newusers
notificationsvcs
odbc
olap
programming
replication
reportingsvcs
security
securitytools
server
setup
sqlxml.viewmapper
tools
xml
  
 
date: Thu, 7 Aug 2008 09:08:01 -0700,    group: microsoft.public.sqlserver.server        back       


What is blocked process -2 ??   
Hi folks
I see strange thing. When I run simple delete statement, it shows it's 
blocked by spid -2.
Does anybody know what it is?
date: Thu, 7 Aug 2008 09:08:01 -0700   author:   Gene.

Re: What is blocked process -2 ??   
Are you using SQL Server 2000?  If so, maybe it is an orphaned DTC
transaction?  Nothing here that will fix it, but at least a brief
explanation:

http://msdn.microsoft.com/en-us/library/aa260384(SQL.80).aspx


On 8/7/08 12:08 PM, in article
6BCF914C-FD9A-4A34-9B0A-9FD1E4C30113@microsoft.com, "Gene."
 wrote:

> Hi folks
> I see strange thing. When I run simple delete statement, it shows it's
> blocked by spid -2.
> Does anybody know what it is?
date: Thu, 07 Aug 2008 12:20:39 -0400   author:   Aaron Bertrand [SQL Server MVP] a

Re: What is blocked process -2 ??   
Hi Aaron

This is 2005. When i run sp_lock, I see a bunch of resources locked by this 
process.


"Aaron Bertrand [SQL Server MVP]" wrote:

> Are you using SQL Server 2000?  If so, maybe it is an orphaned DTC
> transaction?  Nothing here that will fix it, but at least a brief
> explanation:
> 
> http://msdn.microsoft.com/en-us/library/aa260384(SQL.80).aspx
> 
> 
> On 8/7/08 12:08 PM, in article
> 6BCF914C-FD9A-4A34-9B0A-9FD1E4C30113@microsoft.com, "Gene."
>  wrote:
> 
> > Hi folks
> > I see strange thing. When I run simple delete statement, it shows it's
> > blocked by spid -2.
> > Does anybody know what it is?
> 
>
date: Thu, 7 Aug 2008 09:29:01 -0700   author:   Gene.

Re: What is blocked process -2 ??   
You have an orphaned DTC spid. Run this query and see what it shows you: - 
select distinct(req_transactionUOW) from sys.syslockinfo where req_spid 
= -2;

If they are all ooo zeroes then you may need to stop/start DTC.

What build are you on?

Chris

"Gene."  wrote in message 
news:D5F679DF-3EAF-4802-9877-D8ECDA74ED17@microsoft.com...
> Hi Aaron
>
> This is 2005. When i run sp_lock, I see a bunch of resources locked by 
> this
> process.
>
>
> "Aaron Bertrand [SQL Server MVP]" wrote:
>
>> Are you using SQL Server 2000?  If so, maybe it is an orphaned DTC
>> transaction?  Nothing here that will fix it, but at least a brief
>> explanation:
>>
>> http://msdn.microsoft.com/en-us/library/aa260384(SQL.80).aspx
>>
>>
>> On 8/7/08 12:08 PM, in article
>> 6BCF914C-FD9A-4A34-9B0A-9FD1E4C30113@microsoft.com, "Gene."
>>  wrote:
>>
>> > Hi folks
>> > I see strange thing. When I run simple delete statement, it shows it's
>> > blocked by spid -2.
>> > Does anybody know what it is?
>>
>>
date: Thu, 7 Aug 2008 11:36:02 -0600   author:   Chris Wood

Re: What is blocked process -2 ??   
Thank you Chris.


"Chris Wood" wrote:

> You have an orphaned DTC spid. Run this query and see what it shows you: - 
> select distinct(req_transactionUOW) from sys.syslockinfo where req_spid 
> = -2;
> 
> If they are all ooo zeroes then you may need to stop/start DTC.
> 
> What build are you on?
> 
> Chris
> 
> "Gene."  wrote in message 
> news:D5F679DF-3EAF-4802-9877-D8ECDA74ED17@microsoft.com...
> > Hi Aaron
> >
> > This is 2005. When i run sp_lock, I see a bunch of resources locked by 
> > this
> > process.
> >
> >
> > "Aaron Bertrand [SQL Server MVP]" wrote:
> >
> >> Are you using SQL Server 2000?  If so, maybe it is an orphaned DTC
> >> transaction?  Nothing here that will fix it, but at least a brief
> >> explanation:
> >>
> >> http://msdn.microsoft.com/en-us/library/aa260384(SQL.80).aspx
> >>
> >>
> >> On 8/7/08 12:08 PM, in article
> >> 6BCF914C-FD9A-4A34-9B0A-9FD1E4C30113@microsoft.com, "Gene."
> >>  wrote:
> >>
> >> > Hi folks
> >> > I see strange thing. When I run simple delete statement, it shows it's
> >> > blocked by spid -2.
> >> > Does anybody know what it is?
> >>
> >> 
> 
> 
>
date: Thu, 7 Aug 2008 15:27:01 -0700   author:   Gene.

Re: What is blocked process -2 ??   
What did the query return Gene?

Chris

"Gene."  wrote in message 
news:D01C138E-7FC1-4761-8426-48340F1E27E3@microsoft.com...
> Thank you Chris.
>
>
> "Chris Wood" wrote:
>
>> You have an orphaned DTC spid. Run this query and see what it shows 
>> you: -
>> select distinct(req_transactionUOW) from sys.syslockinfo where req_spid
>> = -2;
>>
>> If they are all ooo zeroes then you may need to stop/start DTC.
>>
>> What build are you on?
>>
>> Chris
>>
>> "Gene."  wrote in message
>> news:D5F679DF-3EAF-4802-9877-D8ECDA74ED17@microsoft.com...
>> > Hi Aaron
>> >
>> > This is 2005. When i run sp_lock, I see a bunch of resources locked by
>> > this
>> > process.
>> >
>> >
>> > "Aaron Bertrand [SQL Server MVP]" wrote:
>> >
>> >> Are you using SQL Server 2000?  If so, maybe it is an orphaned DTC
>> >> transaction?  Nothing here that will fix it, but at least a brief
>> >> explanation:
>> >>
>> >> http://msdn.microsoft.com/en-us/library/aa260384(SQL.80).aspx
>> >>
>> >>
>> >> On 8/7/08 12:08 PM, in article
>> >> 6BCF914C-FD9A-4A34-9B0A-9FD1E4C30113@microsoft.com, "Gene."
>> >>  wrote:
>> >>
>> >> > Hi folks
>> >> > I see strange thing. When I run simple delete statement, it shows 
>> >> > it's
>> >> > blocked by spid -2.
>> >> > Does anybody know what it is?
>> >>
>> >>
>>
>>
>>
date: Fri, 8 Aug 2008 09:44:25 -0600   author:   Chris Wood

Re: What is blocked process -2 ??   
It did not find any. I think server was rebooted. I apprecuate your answer, 
save it in depository and use it in future.

Thanks, again. 

"Chris Wood" wrote:

> What did the query return Gene?
> 
> Chris
> 
> "Gene."  wrote in message 
> news:D01C138E-7FC1-4761-8426-48340F1E27E3@microsoft.com...
> > Thank you Chris.
> >
> >
> > "Chris Wood" wrote:
> >
> >> You have an orphaned DTC spid. Run this query and see what it shows 
> >> you: -
> >> select distinct(req_transactionUOW) from sys.syslockinfo where req_spid
> >> = -2;
> >>
> >> If they are all ooo zeroes then you may need to stop/start DTC.
> >>
> >> What build are you on?
> >>
> >> Chris
> >>
> >> "Gene."  wrote in message
> >> news:D5F679DF-3EAF-4802-9877-D8ECDA74ED17@microsoft.com...
> >> > Hi Aaron
> >> >
> >> > This is 2005. When i run sp_lock, I see a bunch of resources locked by
> >> > this
> >> > process.
> >> >
> >> >
> >> > "Aaron Bertrand [SQL Server MVP]" wrote:
> >> >
> >> >> Are you using SQL Server 2000?  If so, maybe it is an orphaned DTC
> >> >> transaction?  Nothing here that will fix it, but at least a brief
> >> >> explanation:
> >> >>
> >> >> http://msdn.microsoft.com/en-us/library/aa260384(SQL.80).aspx
> >> >>
> >> >>
> >> >> On 8/7/08 12:08 PM, in article
> >> >> 6BCF914C-FD9A-4A34-9B0A-9FD1E4C30113@microsoft.com, "Gene."
> >> >>  wrote:
> >> >>
> >> >> > Hi folks
> >> >> > I see strange thing. When I run simple delete statement, it shows 
> >> >> > it's
> >> >> > blocked by spid -2.
> >> >> > Does anybody know what it is?
> >> >>
> >> >>
> >>
> >>
> >> 
> 
> 
>
date: Fri, 8 Aug 2008 10:31:05 -0700   author:   Gene.

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us