473,382 Members | 1,665 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Zombie Transaction in process -2 Blocking other Transactions

We are having a really big problem with a zombie process/transaction
that is blocking other processes. When looking at Lock/ProcessID
under Current Activity I see a bunch of processes that are blocked by
process 94 and process 94 is blocked by process -2. I assume -2 is a
zombie that has an open transaction. I cannot find this process to
kill and it seems that this transaction is surviving database
restarts. I know which table is locked up and when I run a select *
from this table it never returns. Does anyone have any ideas as to
how to kill is transaction.

Any help is appreciated.
A. Tillman
Jul 20 '05 #1
4 7709
A. Tillman (at*********@yahoo.com) writes:
We are having a really big problem with a zombie process/transaction
that is blocking other processes. When looking at Lock/ProcessID
under Current Activity I see a bunch of processes that are blocked by
process 94 and process 94 is blocked by process -2. I assume -2 is a
zombie that has an open transaction. I cannot find this process to
kill and it seems that this transaction is surviving database
restarts. I know which table is locked up and when I run a select *
from this table it never returns. Does anyone have any ideas as to
how to kill is transaction.


-2? This sounds like locks. The process that held the locks experienced
a fatal problem, and SQL Server were not able to release it locks. I'm
afraid your only option is to restart SQL Server to resolve the condition.

If this condition appears often, you should consider opening a case
with Microsoft support. It is likely that this condition is due to a bug
in SQL Server.

Which version of SQL Server are you running? I have seen negative spids,
but only on SQL 6.5 as I can recall.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #2
We are using SQL Server 2000.

Erland Sommarskog <es****@sommarskog.se> wrote in message news:<Xn**********************@127.0.0.1>...
A. Tillman (at*********@yahoo.com) writes:
We are having a really big problem with a zombie process/transaction
that is blocking other processes. When looking at Lock/ProcessID
under Current Activity I see a bunch of processes that are blocked by
process 94 and process 94 is blocked by process -2. I assume -2 is a
zombie that has an open transaction. I cannot find this process to
kill and it seems that this transaction is surviving database
restarts. I know which table is locked up and when I run a select *
from this table it never returns. Does anyone have any ideas as to
how to kill is transaction.


-2? This sounds like locks. The process that held the locks experienced
a fatal problem, and SQL Server were not able to release it locks. I'm
afraid your only option is to restart SQL Server to resolve the condition.

If this condition appears often, you should consider opening a case
with Microsoft support. It is likely that this condition is due to a bug
in SQL Server.

Which version of SQL Server are you running? I have seen negative spids,
but only on SQL 6.5 as I can recall.

Jul 20 '05 #3
SQL Server 2000 Service Pack 3. This survived a database restart.

Erland Sommarskog <es****@sommarskog.se> wrote in message news:<Xn**********************@127.0.0.1>...
A. Tillman (at*********@yahoo.com) writes:
We are having a really big problem with a zombie process/transaction
that is blocking other processes. When looking at Lock/ProcessID
under Current Activity I see a bunch of processes that are blocked by
process 94 and process 94 is blocked by process -2. I assume -2 is a
zombie that has an open transaction. I cannot find this process to
kill and it seems that this transaction is surviving database
restarts. I know which table is locked up and when I run a select *
from this table it never returns. Does anyone have any ideas as to
how to kill is transaction.


-2? This sounds like locks. The process that held the locks experienced
a fatal problem, and SQL Server were not able to release it locks. I'm
afraid your only option is to restart SQL Server to resolve the condition.

If this condition appears often, you should consider opening a case
with Microsoft support. It is likely that this condition is due to a bug
in SQL Server.

Which version of SQL Server are you running? I have seen negative spids,
but only on SQL 6.5 as I can recall.

Jul 20 '05 #4

"A. Tillman" <at*********@yahoo.com> wrote in message
news:c5**************************@posting.google.c om...
SQL Server 2000 Service Pack 3. This survived a database restart.
Only time I've seen that is a massive rollback.

(which of course if you restart the DB before it's done, it simply has to be
done again.)


Erland Sommarskog <es****@sommarskog.se> wrote in message

news:<Xn**********************@127.0.0.1>...
A. Tillman (at*********@yahoo.com) writes:
We are having a really big problem with a zombie process/transaction
that is blocking other processes. When looking at Lock/ProcessID
under Current Activity I see a bunch of processes that are blocked by
process 94 and process 94 is blocked by process -2. I assume -2 is a
zombie that has an open transaction. I cannot find this process to
kill and it seems that this transaction is surviving database
restarts. I know which table is locked up and when I run a select *
from this table it never returns. Does anyone have any ideas as to
how to kill is transaction.


-2? This sounds like locks. The process that held the locks experienced
a fatal problem, and SQL Server were not able to release it locks. I'm
afraid your only option is to restart SQL Server to resolve the condition.
If this condition appears often, you should consider opening a case
with Microsoft support. It is likely that this condition is due to a bug
in SQL Server.

Which version of SQL Server are you running? I have seen negative spids,
but only on SQL 6.5 as I can recall.

Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: rkusenet | last post by:
Hi, I am still not very proficient in SQLServer. So apology if the question sounds basic. We have a script to clean old unwanted data. It basically deletes all rows which are more than 2...
1
by: Rittercorp | last post by:
I am debugging an app which blocks many processes in a SQL7 server DB. The app log writes every transaction "open" and "close". The weird thing is : when the app logfile says the transaction is...
2
by: Jo Siffert | last post by:
Hi all, I would like to perform an INSERT INTO LINKEDSVR.dbo.xyz.abc SELECT ... FROM dbo.dfg where LINKEDSVR is a linked server on another machine. Both servers are running SQLServer 2000...
4
by: Leaf | last post by:
Greetings, I've been reading with interest the threads here on deadlocking, as I'm finding my formerly happy app in a production environment suddenly deadlocking left and right. It started...
9
by: John Sidney-Woollett | last post by:
Is it possible to use the dblink and dblink_exec features from inside pl/pgsql functions to mimic the behaviour of nested transactions by calling another function or executing some SQL via the...
3
by: joshsackett | last post by:
I am redesigning an application that distributes heldesk tickets to our 50 engineers automatically. When the engineer logs into their window a stored procedure executes that searches through all...
2
by: Christian Stooker | last post by:
Part one: ====== Hi ! I want to use SQLite database like the FireBird database: with big isolation level. What's that meaning ? I have an application that periodically check some input...
0
by: buttslapper | last post by:
Hi, Recently we discovered in our production server this kind of exception : We are wondering what causes the transaction to be zombied, and why do we get a nullreferenceexception in this...
1
ADezii
by: ADezii | last post by:
Transaction Processing is a Database term that refers to the process of grouping changes to your data into a batch that is treated as a single, atomic unit. Either the entire batch of transactions...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.