| Author |
Topic |
|
Kristen
Test
22859 Posts |
Posted - 2004-11-10 : 07:30:10
|
Server stalled this morning. Serving web pages from one site was timing out (another site on same IIS/DB was fine).I ran Nigel's sp_nrinfo SProc in case it would provide some data that someone more knowledgeable than I could interpret. http://www.nigelrivett.net/sp_nrinfo.htmlWhen I ran the "info" version I get a number ofThe specified SPID does not process input/output data streams.andDBCC execution completed. If DBCC printed error messages, contact your system administrator.messages, which I assume is OK.The BLK (Blocking) comamnd is showing nothing.The ACTIVE output is below (I stored some others like ALL/Sleeping and sp_nrinfo_02 if you need them)Sorry, it will be a bit widespid status loginame hostname BlkBy DBName command CPUTime DiskIO LastBatch ProgramName spid buffercmd---- ------------ -------- ---------- ----- ------ -------------- ------ ------- ----------------------- ------------------------------ ---- -----------------------150 sleeping IIS MyServer WEB UPDATE 156 0 2004-11-10 11:30:33.763 Microsoft(R) Windows (R) 2000 150 exec kk_sm_SP_LogError Attemping to log timeout error147 sleeping IIS MyServer WEB UPDATE 126 0 2004-11-10 11:30:09.890 Microsoft(R) Windows (R) 2000 147 exec kk_sm_SP_LogError ditto142 sleeping IIS MyServer WEB UPDATE 265 0 2004-11-10 11:30:26.950 Microsoft(R) Windows (R) 2000 142 exec kk_sm_SP_LogError ditto141 sleeping IIS MyServer WEB UPDATE 313 0 2004-11-10 11:30:17.903 Microsoft(R) Windows (R) 2000 141 exec kk_sm_SP_LogError ditto134 sleeping IIS MyServer WEB UPDATE 94 0 2004-11-10 11:30:33.780 Microsoft(R) Windows (R) 2000 134 exec kk_sm_SP_LogError ditto115 sleeping IIS MyServer WEB UPDATE 265 0 2004-11-10 11:30:38.217 Microsoft(R) Windows (R) 2000 115 rk_SP_PageLogInit;1 Attemping to get data for a web page114 sleeping IIS MyServer WEB INSERT 125 0 2004-11-10 11:30:44.810 Microsoft(R) Windows (R) 2000 114 rk_SP_PageLogInit;1113 sleeping IIS MyServer WEB INSERT 0 0 2004-11-10 11:30:45.950 Microsoft(R) Windows (R) 2000 113 rk_SP_PageLogInit;1109 sleeping IIS MyServer WEB UPDATE 186 0 2004-11-10 11:30:33.763 Microsoft(R) Windows (R) 2000 109 exec kk_sm_SP_LogError ditto108 sleeping IIS MyServer WEB UPDATE 436 3 2004-11-10 11:30:28.450 Microsoft(R) Windows (R) 2000 108 exec kk_sm_SP_LogError ditto102 sleeping IIS MyServer WEB UPDATE 187 0 2004-11-10 11:30:36.217 Microsoft(R) Windows (R) 2000 102 exec kk_sm_SP_LogError ditto96 sleeping IIS MyServer WEB UPDATE 125 0 2004-11-10 11:30:27.577 Microsoft(R) Windows (R) 2000 96 exec kk_sm_SP_LogError ditto82 runnable IIS MyServer WEB INSERT 187 1 2004-11-10 11:30:30.700 Microsoft(R) Windows (R) 2000 82 rk_SP_PageLogInit;176 sleeping IIS MyServer WEB UPDATE 218 0 2004-11-10 11:30:37.840 Microsoft(R) Windows (R) 2000 76 rk_SP_PageLogInit;171 sleeping IIS MyServer WEB UPDATE 204 0 2004-11-10 11:30:23.153 Microsoft(R) Windows (R) 2000 71 exec kk_SP_LOC_PNF_404Handler @404URL='404;http://www.MyDomain.com/SomeDuffURL.gif'59 sleeping IIS MyServer WEB INSERT 16 0 2004-11-10 11:30:44.997 Microsoft(R) Windows (R) 2000 59 rk_SP_PageLogInit;157 sleeping IIS MyServer WEB INSERT 0 0 2004-11-10 11:30:41.093 Microsoft(R) Windows (R) 2000 57 rk_SP_PageLogInit;155 sleeping IIS MyServer WEB UPDATE 141 0 2004-11-10 11:30:37.480 Microsoft(R) Windows (R) 2000 55 rk_SP_PageLogInit;153 runnable me MyPC ADMIN SELECT 5375 329 2004-11-10 11:30:03.937 SQL Query Analyzer 53 exec sp_nrinfo 'active', 'info'||||52 sleeping IIS MyServer WEB INSERT 31 0 2004-11-10 11:30:31.857 Microsoft(R) Windows (R) 2000 52 rk_SP_PageLogInit;151 sleeping SQLAdmin MyServer WEB UPDATE 79 0 2004-11-10 11:30:00.420 SQLAgent - TSQL JobStep (Job 0 51 EXEC xx_SP_HourlyUpdate17 background sa WEB GHOST CLEANUP 766 1808 2004-11-08 08:01:35.827 17 NULL15 background sa master TASK MANAGER 0 0 2004-11-08 08:01:35.827 15 NULL14 background sa master TASK MANAGER 0 0 2004-11-08 08:01:35.827 14 NULL13 background sa master TASK MANAGER 0 124 2004-11-08 08:01:35.827 13 NULL12 background sa master TASK MANAGER 0 0 2004-11-08 08:01:35.827 12 NULL11 background sa master TASK MANAGER 0 966 2004-11-08 08:01:35.827 11 NULL10 background sa master TASK MANAGER 0 0 2004-11-08 08:01:35.827 10 NULL9 background sa master TASK MANAGER 0 0 2004-11-08 08:01:35.827 9 NULL8 background sa master TASK MANAGER 0 405 2004-11-08 08:01:35.827 8 NULL6 background sa master TASK MANAGER 0 0 2004-11-08 08:01:35.827 6 NULL5 background sa master TASK MANAGER 0 1162 2004-11-08 08:01:35.827 5 NULL4 background sa ADMIN LOCK MONITOR 531 0 2004-11-08 08:01:35.827 4 3 background sa master SIGNAL HANDLER 31 0 2004-11-08 08:01:35.827 3 2 sleeping sa ADMIN LOG WRITER 247969 0 2004-11-08 08:01:35.827 2 1 background sa ADMIN LAZY WRITER 797 0 2004-11-08 08:01:35.827 1 Kristen |
|
|
Kristen
Test
22859 Posts |
Posted - 2004-11-10 : 14:08:44
|
| <bump/> |
 |
|
|
Kristen
Test
22859 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-11-11 : 15:38:38
|
| I am confused by the blg file. Did you stop and start SQL Server while PerfMon was running? That's what it appears at least. Also, the first half of the file show heavy disk utilization but IIS and SQL Server were barely used during that time. Looks like you had something else occurring on the box related to files. Maybe a tape backup or Virus scanner?Tara |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2004-11-12 : 04:34:15
|
| Thanks Tara. Yup, SQL and ISS restarted about half way through the BLG.There were lots of connections to SQL - I think way WAY more than normal (there are 10 connections just now, whereas during yesterday's problem there were about 100), so I didn't know whether they were creating the disk activity problem, or whether they were waiting patiently for the disk storm to subside.CPU is running at tiny levels when this happens, and it is not at the same time of day each time - but I'll look into virus scan etc.Could it be faulty disks? (retrying loads of times, or some other sort of disk housekeeping?)Kristen |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
Kristen
Test
22859 Posts |
Posted - 2005-06-21 : 13:50:27
|
| Very helpful Brett, thanks for linking back to this after so long.Kristen |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2005-06-22 : 12:19:23
|
| I've never noticed it.Tara |
 |
|
|
Thrasymachus
Constraint Violating Yak Guru
483 Posts |
Posted - 2005-06-22 : 13:13:02
|
| what is really cool is that he is answering other threads at dbforums today it looks like. i am a little hesitant to post over there todaySean RoussyPlease backup all of your databases including master, msdb and model on a regular basis. I am tired of telling people they are screwed. The job you save may be your own.I am available for consulting work. Just email me though the forum. |
 |
|
|
paulrandal
Yak with Vast SQL Skills
899 Posts |
Posted - 2005-06-22 : 16:13:27
|
quote: Originally posted by X002548 Ghost Cleanup...Never knew this....Why would it actually physically delete it?I don't think DB2 does this. It only marks the rows and pages as deleted...not for a cleanup batch process to clean uphttp://www.dbforums.com/t1165952.htmlBrett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx
We delete them when we no longer need them - no point having them there taking space is there? They're created when row-level locks are used during delete. As soon as the transaction has committed, they're no longer neede. You can stop them being created by using PAGLOCK or TABLOCK hints.ThanksPaul RandalDev Lead, Microsoft SQL Server Storage Engine |
 |
|
|
engel1
Starting Member
1 Post |
Posted - 2006-01-04 : 18:33:35
|
Did anyone manage to fins a way to avoid / expedite "Ghost Cleanup" please?quote: Originally posted by X002548 Ghost Cleanup...Never knew this....Why would it actually physically delete it?I don't think DB2 does this. It only marks the rows and pages as deleted...not for a cleanup batch process to clean uphttp://www.dbforums.com/t1165952.htmlBrett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx
|
 |
|
|
|