Solved

Time out exceeded and sp_lock

Posted on 2008-10-22
8
314 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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now