Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 how to stop sql server generating sql dump files

Author  Topic 

imughal
Posting Yak Master

192 Posts

Posted - 2010-08-27 : 02:22:18
Hi,

I have running MS SQL Server 2005. Server generate frequently and large mdmp files which took c: drive space. kindly tell how i stop creating these and keep the c: drive space.

thx

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-08-27 : 02:24:52
Fix the reason why the stack dumps are occurring. What does SELECT @@VERSION show?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-08-27 : 02:59:38
Stack dumps are a serious problem, they indicate that something is causing access violations and forcing SQL to either terminate the process or terminate itself. Make sure you're on service pack 3 then, if they still occur, log a call with Microsoft Customer support and get the root cause identified and fixed.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

imughal
Posting Yak Master

192 Posts

Posted - 2010-08-27 : 03:08:50
Hi,

How to find and fix reason for stack dumps.
version return:

Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-08-27 : 03:39:40
See http://www.sqlteam.com/article/sql-server-versions

You have NO service packs installed. Lots of issues have been fixed since then. Start with installing Service Pack 3 as already recommended.
Go to Top of Page

imughal
Posting Yak Master

192 Posts

Posted - 2010-08-27 : 05:11:46
is there anyway to stop SQL server to create these files or stop sql server to generate log files
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-08-27 : 06:25:47
Yes. Find the root cause and fix it.

Start by patching your server to SP3. If the stack dumps persist (indicative of a severe problem) contact Customer Support.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

chrisboy
Starting Member

1 Post

Posted - 2011-10-10 : 09:14:52
in my experience these dumps are caused by a corrupted database file, with DBCC generating error logs every minute so long as the database is online.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-10-10 : 23:35:13
Corruption is one thing that could cause dumps, it's far from the only thing.

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -