Solved

Time out exceeded and sp_lock

Posted on 2008-10-22
8
344 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

831 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