Solved

Time out exceeded and sp_lock

Posted on 2008-10-22
8
336 Views
Last Modified: 2012-06-27
I'm having the problem described here
http://support.microsoft.com/kb/308518/en-us
When checking current activity (E.Manager - sql2000) I get a time out.
No matter how many times I refresh I get the same.

I have run sp_lock but don't really understand the results.
There are a couple of SPids that appear many many many times! (user accounts). I'm not familiar with the application they are using so am not sure it is normal activity.

Mosty of the objectids are 1,2,3,...12 etc but one of them is 442102604 (how can I tell what this is? should I care? I only mention it as the number is astronomically higher than the others)
Under resource I have entries such as (4e00e7c9a11a)  (what does this hex represent?)
Under mode what is Sch-M?


0
Comment
Question by:QPR
  • 4
  • 4
8 Comments
 
LVL 35

Expert Comment

by:David Todd
ID: 22781926
Hi,

Initially sp_who is a little easier to interprit. Try that first and we can discuss your results.

Cheers
  David
0
 
LVL 35

Expert Comment

by:David Todd
ID: 22781933
Hi QPR,

Just realised that this is your question.

Cheers
  David
0
 
LVL 29

Author Comment

by:QPR
ID: 22782048
Hi David,
sp_who doesn't unearth much that I can see. Normal stuff, no locks... background/sleeping etc.
Anything in particular I should be looking for?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 29

Author Comment

by:QPR
ID: 22782058
and wouldn't you believe it! Now for the first time this morning I can see the current activity.
and now I have regained access (viewing properties etc) to tempDB.
Would a mass of activity have caused my previous problems do you think?
I'm not sure whether to shrug and move on or dig and try to prevent future probs?
0
 
LVL 35

Expert Comment

by:David Todd
ID: 22788281
Hi,

In sp_who, where there any processes that had spun off additional threads? You've looked at the blocking. Those two can slow things down ...

Cheers
  David
0
 
LVL 29

Author Comment

by:QPR
ID: 22789955
how would you ID these additional threads?
spid, ecid, status, login, host, blk,dbname, cmd
0
 
LVL 35

Accepted Solution

by:
David Todd earned 500 total points
ID: 22804469
Hi,

The addtional threads have the same spid, but increasing ecid iirc.

Cheers
  David
0
 
LVL 29

Author Closing Comment

by:QPR
ID: 31508935
Thanks, SPIDs were all unique so I'm putting it down to heavy DB use on an ageing server. Will use the info in future tho.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

770 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